AWS::CloudFront::ContinuousDeploymentPolicy
Creates a continuous deployment policy that routes a subset of production traffic from a primary distribution to a staging distribution.
After you create and update a staging distribution, you can use a continuous deployment policy to incrementally move traffic to the staging distribution. This enables you to test changes to a distribution's configuration before moving all of your production traffic to the new configuration.
For more information, see Using CloudFront continuous deployment to safely test CDN configuration changes in the Amazon CloudFront Developer Guide.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::CloudFront::ContinuousDeploymentPolicy", "Properties" : { "ContinuousDeploymentPolicyConfig" :ContinuousDeploymentPolicyConfig} }
YAML
Type: AWS::CloudFront::ContinuousDeploymentPolicy Properties: ContinuousDeploymentPolicyConfig:ContinuousDeploymentPolicyConfig
Properties
ContinuousDeploymentPolicyConfig-
Contains the configuration for a continuous deployment policy.
Required: Yes
Type: ContinuousDeploymentPolicyConfig
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the unique identifier for the continuous deployment
policy.
For more information about using the Reffunction, see Ref.
Fn::GetAtt
The Fn::GetAttintrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAttintrinsic function, see Fn::GetAtt.