Skip to content

ContinuousDeploymentPolicyConfig

Source code in docs_src/capo_cloudfront/types/continuous_deployment_policy_config.py
class ContinuousDeploymentPolicyConfig(TypedDict, closed=True):
    staging_distribution_dns_names: "capo_cloudfront.types.staging_distribution_dns_names.StagingDistributionDnsNames"
    """<p>The CloudFront domain name of the staging distribution. For example: <code>d111111abcdef8.cloudfront.net</code>.</p>"""
    enabled: "capo_cloudfront.types.boolean.boolean"
    """<p>A Boolean that indicates whether this continuous deployment policy is enabled (in effect). When this value is <code>true</code>, this policy is enabled and in effect. When this value is <code>false</code>, this policy is not enabled and has no effect.</p>"""
    traffic_config: NotRequired["capo_cloudfront.types.traffic_config.TrafficConfig"]
    """<p>Contains the parameters for routing production traffic from your primary to staging distributions.</p>"""

enabled instance-attribute

enabled: boolean

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 is false, this policy is not enabled and has no effect.

staging_distribution_dns_names instance-attribute

staging_distribution_dns_names: StagingDistributionDnsNames

The CloudFront domain name of the staging distribution. For example: d111111abcdef8.cloudfront.net.

traffic_config instance-attribute

traffic_config: NotRequired[TrafficConfig]

Contains the parameters for routing production traffic from your primary to staging distributions.