import { Value } from '../../../cloudformation/Value';
/**
  <em>Public DNS and HTTP namespaces only.</em> A complex type that contains settings for an optional health check. If you specify settings for a health check, AWS Cloud Map associates the health check with the records that you specify in <code>DnsConfig</code>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckconfig.html">the AWS Docs</a>
*/
export interface HealthCheckConfigProps {
    /** <p> */
    type: Value<string>;
    /** <code>ResourcePath</code>  <a name="cfn-servicediscovery-service-healthcheckconfig-resourcepath"></a>
  The path that you want Route 53 to request when performing health checks. The path can be any value that your endpoint returns an HTTP status code of a 2xx or 3xx format for when the endpoint is healthy. An example file is <code>/docs/route53-health-check.html</code>. Route 53 automatically adds the DNS name for the service. If you don’t specify a value for <code>ResourcePath</code>, the default value is <code>/</code>.<br />
  If you specify <code>TCP</code> for <code>Type</code>, you must
  not: pecify a value for <code>ResourcePath</code>.<br />
  
  Required: No<br />
  
  Maximum: <code>255</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    resourcePath?: Value<string>;
    /** <code>FailureThreshold</code>  <a name="cfn-servicediscovery-service-healthcheckconfig-failurethreshold"></a>
  The number of consecutive health checks that an endpoint must pass or fail for Route 53 to change the current status of the endpoint from unhealthy to healthy or the other way around. For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html">How Route 53 Determines Whether an Endpoint Is Healthy</a> in the
  Route 53 Developer Guide: br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>10</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    failureThreshold?: Value<number>;
}
