Skip to content

BlueGreenUpdatePolicy

Source code in docs_src/capo_sagemaker/types/blue_green_update_policy.py
class BlueGreenUpdatePolicy(TypedDict, closed=True):
    traffic_routing_configuration: NotRequired[
        "capo_sagemaker.types.traffic_routing_config.TrafficRoutingConfig"
    ]
    """<p>Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment.</p>"""
    termination_wait_in_seconds: NotRequired[
        "capo_sagemaker.types.termination_wait_in_seconds.TerminationWaitInSeconds"
    ]
    """<p>Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0.</p>"""
    maximum_execution_timeout_in_seconds: NotRequired[
        "capo_sagemaker.types.maximum_execution_timeout_in_seconds.MaximumExecutionTimeoutInSeconds"
    ]
    """<p>Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in <code>TerminationWaitInSeconds</code> and <code>WaitIntervalInSeconds</code>.</p>"""

maximum_execution_timeout_in_seconds instance-attribute

maximum_execution_timeout_in_seconds: NotRequired[MaximumExecutionTimeoutInSeconds]

Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in TerminationWaitInSeconds and WaitIntervalInSeconds.

termination_wait_in_seconds instance-attribute

termination_wait_in_seconds: NotRequired[TerminationWaitInSeconds]

Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0.

traffic_routing_configuration instance-attribute

traffic_routing_configuration: NotRequired[TrafficRoutingConfig]

Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment.