CfnContinuousDeploymentPolicyProps
- class aws_cdk.aws_cloudfront.CfnContinuousDeploymentPolicyProps(*, continuous_deployment_policy_config)
Bases:
object
Properties for defining a
CfnContinuousDeploymentPolicy
.- Parameters:
continuous_deployment_policy_config (
Union
[IResolvable
,ContinuousDeploymentPolicyConfigProperty
,Dict
[str
,Any
]]) – Contains the configuration for a continuous deployment policy.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_cloudfront as cloudfront cfn_continuous_deployment_policy_props = cloudfront.CfnContinuousDeploymentPolicyProps( continuous_deployment_policy_config=cloudfront.CfnContinuousDeploymentPolicy.ContinuousDeploymentPolicyConfigProperty( enabled=False, staging_distribution_dns_names=["stagingDistributionDnsNames"], # the properties below are optional single_header_policy_config=cloudfront.CfnContinuousDeploymentPolicy.SingleHeaderPolicyConfigProperty( header="header", value="value" ), single_weight_policy_config=cloudfront.CfnContinuousDeploymentPolicy.SingleWeightPolicyConfigProperty( weight=123, # the properties below are optional session_stickiness_config=cloudfront.CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty( idle_ttl=123, maximum_ttl=123 ) ), traffic_config=cloudfront.CfnContinuousDeploymentPolicy.TrafficConfigProperty( type="type", # the properties below are optional single_header_config=cloudfront.CfnContinuousDeploymentPolicy.SingleHeaderConfigProperty( header="header", value="value" ), single_weight_config=cloudfront.CfnContinuousDeploymentPolicy.SingleWeightConfigProperty( weight=123, # the properties below are optional session_stickiness_config=cloudfront.CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty( idle_ttl=123, maximum_ttl=123 ) ) ), type="type" ) )
Attributes
- continuous_deployment_policy_config
Contains the configuration for a continuous deployment policy.