Class: Aws::SageMaker::Types::TrafficRoutingConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::TrafficRoutingConfig
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sagemaker/types.rb
Overview
Defines the traffic routing strategy during an endpoint deployment to shift traffic from the old fleet to the new fleet.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#canary_size ⇒ Types::CapacitySize
Batch size for the first step to turn on traffic on the new endpoint fleet.
-
#linear_step_size ⇒ Types::CapacitySize
Batch size for each step to turn on traffic on the new endpoint fleet.
-
#type ⇒ String
Traffic routing strategy type.
-
#wait_interval_in_seconds ⇒ Integer
The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet.
Instance Attribute Details
#canary_size ⇒ Types::CapacitySize
Batch size for the first step to turn on traffic on the new endpoint fleet. ‘Value` must be less than or equal to 50% of the variant’s total instance count.
43083 43084 43085 43086 43087 43088 43089 43090 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 43083 class TrafficRoutingConfig < Struct.new( :type, :wait_interval_in_seconds, :canary_size, :linear_step_size) SENSITIVE = [] include Aws::Structure end |
#linear_step_size ⇒ Types::CapacitySize
Batch size for each step to turn on traffic on the new endpoint fleet. ‘Value` must be 10-50% of the variant’s total instance count.
43083 43084 43085 43086 43087 43088 43089 43090 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 43083 class TrafficRoutingConfig < Struct.new( :type, :wait_interval_in_seconds, :canary_size, :linear_step_size) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
Traffic routing strategy type.
-
‘ALL_AT_ONCE`: Endpoint traffic shifts to the new fleet in a single step.
-
‘CANARY`: Endpoint traffic shifts to the new fleet in two steps. The first step is the canary, which is a small portion of the traffic. The second step is the remainder of the traffic.
-
‘LINEAR`: Endpoint traffic shifts to the new fleet in n steps of a configurable size.
43083 43084 43085 43086 43087 43088 43089 43090 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 43083 class TrafficRoutingConfig < Struct.new( :type, :wait_interval_in_seconds, :canary_size, :linear_step_size) SENSITIVE = [] include Aws::Structure end |
#wait_interval_in_seconds ⇒ Integer
The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet.
43083 43084 43085 43086 43087 43088 43089 43090 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 43083 class TrafficRoutingConfig < Struct.new( :type, :wait_interval_in_seconds, :canary_size, :linear_step_size) SENSITIVE = [] include Aws::Structure end |