Skip to content

ContinuousDeploymentSingleWeightConfig

Source code in docs_src/capo_cloudfront/types/continuous_deployment_single_weight_config.py
class ContinuousDeploymentSingleWeightConfig(TypedDict, closed=True):
    weight: "capo_cloudfront.types.float.float"
    """<p>The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15. For example, a value of 0.10 means 10% of traffic is sent to the staging distribution.</p>"""
    session_stickiness_config: NotRequired[
        "capo_cloudfront.types.session_stickiness_config.SessionStickinessConfig"
    ]

session_stickiness_config instance-attribute

session_stickiness_config: NotRequired[SessionStickinessConfig]

weight instance-attribute

weight: float

The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15. For example, a value of 0.10 means 10% of traffic is sent to the staging distribution.