AWS::CloudFront::ContinuousDeploymentPolicyCreates 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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/continuous-deployment.html) in the *Amazon CloudFront Developer Guide* .
import { CfnContinuousDeploymentPolicy } from 'aws-cdk-lib/aws-cloudfront';Or use the module namespace:
import * as cloudfront from 'aws-cdk-lib/aws-cloudfront';
// cloudfront.CfnContinuousDeploymentPolicyConfiguration passed to the constructor as CfnContinuousDeploymentPolicyProps.
continuousDeploymentPolicyConfigRequiredIResolvable | ContinuousDeploymentPolicyConfigPropertyContains the configuration for a continuous deployment policy.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon CloudFront on one page. HD quality, print-friendly.
Download Free Infographicaws-cloudfrontAWS::CloudFront::ContinuousDeploymentPolicy