Skip to content
v2.273.0

CfnContinuousDeploymentPolicyPropsMixin Mixin ​

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 .

Initializer ​

ts
new CfnContinuousDeploymentPolicyPropsMixin(props: CfnContinuousDeploymentPolicyMixinProps, options?: CfnPropertyMixinOptions)
python
CfnContinuousDeploymentPolicyPropsMixin(props: CfnContinuousDeploymentPolicyMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnContinuousDeploymentPolicyPropsMixin(CfnContinuousDeploymentPolicyMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnContinuousDeploymentPolicyPropsMixin(CfnContinuousDeploymentPolicyMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnContinuousDeploymentPolicyPropsMixin(Props CfnContinuousDeploymentPolicyMixinProps, Options CfnPropertyMixinOptions)

Methods ​

applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#
Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#
Checks if `x` is a Mixin.
1 parameter · returns

Parameters

  • xxxxX — Any object.

Returns: true if x is an object created from a class which extends Mixin.

supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#
Check if this mixin supports the given construct.