AWS::SageMaker::Endpoint BlueGreenUpdatePolicy - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::SageMaker::Endpoint BlueGreenUpdatePolicy

Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default.


To declare this entity in your Amazon CloudFormation template, use the following syntax:



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

Required: No

Type: Integer

Minimum: 600

Maximum: 28800

Update requires: No interruption


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

Required: No

Type: Integer

Minimum: 0

Maximum: 3600

Update requires: No interruption


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

Required: Yes

Type: TrafficRoutingConfig

Update requires: No interruption