Class: Aws::SageMaker::Types::DeploymentConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::DeploymentConfig
- Defined in:
- gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb
Overview
When making an API call, you may pass DeploymentConfig data as a hash:
{
blue_green_update_policy: { # required
traffic_routing_configuration: { # required
type: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY, LINEAR
wait_interval_in_seconds: 1, # required
canary_size: {
type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
value: 1, # required
},
linear_step_size: {
type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
value: 1, # required
},
},
termination_wait_in_seconds: 1,
maximum_execution_timeout_in_seconds: 1,
},
auto_rollback_configuration: {
alarms: [
{
alarm_name: "AlarmName",
},
],
},
}
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#auto_rollback_configuration ⇒ Types::AutoRollbackConfig
Automatic rollback configuration for handling endpoint deployment failures and recovery.
-
#blue_green_update_policy ⇒ Types::BlueGreenUpdatePolicy
Update policy for a blue/green deployment.
Instance Attribute Details
#auto_rollback_configuration ⇒ Types::AutoRollbackConfig
Automatic rollback configuration for handling endpoint deployment failures and recovery.
11908 11909 11910 11911 11912 11913 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 11908 class DeploymentConfig < Struct.new( :blue_green_update_policy, :auto_rollback_configuration) SENSITIVE = [] include Aws::Structure end |
#blue_green_update_policy ⇒ Types::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.
11908 11909 11910 11911 11912 11913 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 11908 class DeploymentConfig < Struct.new( :blue_green_update_policy, :auto_rollback_configuration) SENSITIVE = [] include Aws::Structure end |