Class: Aws::SageMaker::Types::TrafficRoutingConfig

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#canary_sizeTypes::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.

Returns:



42918
42919
42920
42921
42922
42923
42924
42925
# File 'lib/aws-sdk-sagemaker/types.rb', line 42918

class TrafficRoutingConfig < Struct.new(
  :type,
  :wait_interval_in_seconds,
  :canary_size,
  :linear_step_size)
  SENSITIVE = []
  include Aws::Structure
end

#linear_step_sizeTypes::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.

Returns:



42918
42919
42920
42921
42922
42923
42924
42925
# File 'lib/aws-sdk-sagemaker/types.rb', line 42918

class TrafficRoutingConfig < Struct.new(
  :type,
  :wait_interval_in_seconds,
  :canary_size,
  :linear_step_size)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

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.

Returns:

  • (String)


42918
42919
42920
42921
42922
42923
42924
42925
# File 'lib/aws-sdk-sagemaker/types.rb', line 42918

class TrafficRoutingConfig < Struct.new(
  :type,
  :wait_interval_in_seconds,
  :canary_size,
  :linear_step_size)
  SENSITIVE = []
  include Aws::Structure
end

#wait_interval_in_secondsInteger

The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet.

Returns:

  • (Integer)


42918
42919
42920
42921
42922
42923
42924
42925
# File 'lib/aws-sdk-sagemaker/types.rb', line 42918

class TrafficRoutingConfig < Struct.new(
  :type,
  :wait_interval_in_seconds,
  :canary_size,
  :linear_step_size)
  SENSITIVE = []
  include Aws::Structure
end