import { Value } from '../../../cloudformation/Value';
/**
  Session stickiness provides the ability to define multiple requests from a single viewer as a single session. This prevents the potentially inconsistent experience of sending some of a given user’s requests to your staging distribution, while others are sent to your primary distribution. Define the session duration using TTL values.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-sessionstickinessconfig.html">the AWS Docs</a>
*/
export interface SessionStickinessConfigProps {
    /** <code>IdleTTL</code>  <a name="cfn-cloudfront-continuousdeploymentpolicy-sessionstickinessconfig-idlettl"></a>
  The amount of time after which you want sessions to cease if no requests are received. Allowed values are 300–3600 seconds (5–60 minutes).<br />
  
  Required: Yes<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> */
    idleTTL: Value<number>;
    /** <code>MaximumTTL</code>  <a name="cfn-cloudfront-continuousdeploymentpolicy-sessionstickinessconfig-maximumttl"></a>
  The maximum amount of time to consider requests from the viewer as being part of the same session. Allowed values are 300–3600 seconds (5–60 minutes).<br />
  
  Required: Yes<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> */
    maximumTTL: Value<number>;
}
