import { Value } from '../../../cloudformation/Value';
/**
  Describes the settings for the health check that AWS App Runner performs to monitor the health of a service.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-healthcheckconfiguration.html">the AWS Docs</a>
*/
export interface HealthCheckConfigurationProps {
    /** <code>Path</code>  <a name="cfn-apprunner-service-healthcheckconfiguration-path"></a>
  The URL that health check requests are sent to.<br />
  <code>Path</code> is only applicable when you set <code>Protocol</code> to <code>HTTP</code>.<br />
  Default: <code>&quot;/&quot;</code><br />
  
  Required: No<br />
  
  Minimum: <code>1</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> */
    path?: Value<string>;
    /** <code>UnhealthyThreshold</code>  <a name="cfn-apprunner-service-healthcheckconfiguration-unhealthythreshold"></a>
  The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.<br />
  Default: <code>5</code><br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>20</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> */
    unhealthyThreshold?: Value<number>;
    /** <code>Timeout</code>  <a name="cfn-apprunner-service-healthcheckconfiguration-timeout"></a>
  The time, in seconds, to wait for a health check response before deciding it failed.<br />
  Default: <code>2</code><br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>20</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> */
    timeout?: Value<number>;
    /** <code>HealthyThreshold</code>  <a name="cfn-apprunner-service-healthcheckconfiguration-healthythreshold"></a>
  The number of consecutive checks that must succeed before App Runner decides that the service is healthy.<br />
  Default: <code>1</code><br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>20</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> */
    healthyThreshold?: Value<number>;
    /** <code>Protocol</code>  <a name="cfn-apprunner-service-healthcheckconfiguration-protocol"></a>
  The IP protocol that App Runner uses to perform health checks for your service.<br />
  If you set <code>Protocol</code> to <code>HTTP</code>, App Runner sends health check requests to the HTTP path specified by <code>Path</code>.<br />
  Default: <code>TCP</code><br />
  
  Required: No<br />
  
  Allowed values: <code>HTTP | TCP</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> */
    protocol?: Value<'HTTP' | 'TCP'>;
    /** <code>Interval</code>  <a name="cfn-apprunner-service-healthcheckconfiguration-interval"></a>
  The time interval, in seconds, between health checks.<br />
  Default: <code>5</code><br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>20</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> */
    interval?: Value<number>;
}
