import { SingleWeightConfigProps } from './SingleWeightConfigProps';
import { Value } from '../../../cloudformation/Value';
import { SingleHeaderConfigProps } from './SingleHeaderConfigProps';
/**
  The traffic configuration of your continuous deployment.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-trafficconfig.html">the AWS Docs</a>
*/
export interface TrafficConfigProps {
    /** <code>SingleWeightConfig</code>  <a name="cfn-cloudfront-continuousdeploymentpolicy-trafficconfig-singleweightconfig"></a>
  Contains the percentage of traffic to send to the staging distribution.<br />
  
  Required: No<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> */
    singleWeightConfig?: SingleWeightConfigProps;
    /** <code>Type</code>  <a name="cfn-cloudfront-continuousdeploymentpolicy-trafficconfig-type"></a>
  The type of traffic configuration.<br />
  
  Required: Yes<br />
  
  Allowed values: <code>SingleHeader | SingleWeight</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> */
    type: Value<'SingleHeader' | 'SingleWeight'>;
    /** <code>SingleHeaderConfig</code>  <a name="cfn-cloudfront-continuousdeploymentpolicy-trafficconfig-singleheaderconfig"></a>
  Determines which HTTP requests are sent to the staging distribution.<br />
  
  Required: No<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> */
    singleHeaderConfig?: SingleHeaderConfigProps;
}
