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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/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:



40714
40715
40716
40717
40718
40719
40720
40721
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 40714

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:



40714
40715
40716
40717
40718
40719
40720
40721
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 40714

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)


40714
40715
40716
40717
40718
40719
40720
40721
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 40714

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)


40714
40715
40716
40717
40718
40719
40720
40721
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 40714

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