This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::CloudFront::ContinuousDeploymentPolicy ContinuousDeploymentPolicyConfig
Contains the configuration for a continuous deployment policy.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Enabled" :Boolean, "SingleHeaderPolicyConfig" :SingleHeaderPolicyConfig, "SingleWeightPolicyConfig" :SingleWeightPolicyConfig, "StagingDistributionDnsNames" :[ String, ... ], "TrafficConfig" :TrafficConfig, "Type" :String}
YAML
Enabled:BooleanSingleHeaderPolicyConfig:SingleHeaderPolicyConfigSingleWeightPolicyConfig:SingleWeightPolicyConfigStagingDistributionDnsNames:- StringTrafficConfig:TrafficConfigType:String
Properties
- Enabled
- 
                    A Boolean that indicates whether this continuous deployment policy is enabled (in effect). When this value is true, this policy is enabled and in effect. When this value isfalse, this policy is not enabled and has no effect.Required: Yes Type: Boolean Update requires: No interruption 
- SingleHeaderPolicyConfig
- 
                    This configuration determines which HTTP requests are sent to the staging distribution. If the HTTP request contains a header and value that matches what you specify here, the request is sent to the staging distribution. Otherwise the request is sent to the primary distribution. Required: No Type: SingleHeaderPolicyConfig Update requires: No interruption 
- SingleWeightPolicyConfig
- 
                    This configuration determines the percentage of HTTP requests that are sent to the staging distribution. Required: No Type: SingleWeightPolicyConfig Update requires: No interruption 
- StagingDistributionDnsNames
- 
                    The CloudFront domain name of the staging distribution. For example: d111111abcdef8.cloudfront.net.Required: Yes Type: Array of String Minimum: 1Update requires: No interruption 
- TrafficConfig
- 
                    Contains the parameters for routing production traffic from your primary to staging distributions. Required: No Type: TrafficConfig Update requires: No interruption 
- Type
- 
                    The type of traffic configuration. Required: No Type: String Allowed values: SingleWeight | SingleHeaderUpdate requires: No interruption