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.
      45206 45207 45208 45209 45210 45211 45212 45213  | 
    
      # File 'lib/aws-sdk-sagemaker/types.rb', line 45206 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.
      45206 45207 45208 45209 45210 45211 45212 45213  | 
    
      # File 'lib/aws-sdk-sagemaker/types.rb', line 45206 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.
 
      45206 45207 45208 45209 45210 45211 45212 45213  | 
    
      # File 'lib/aws-sdk-sagemaker/types.rb', line 45206 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.
      45206 45207 45208 45209 45210 45211 45212 45213  | 
    
      # File 'lib/aws-sdk-sagemaker/types.rb', line 45206 class TrafficRoutingConfig < Struct.new( :type, :wait_interval_in_seconds, :canary_size, :linear_step_size) SENSITIVE = [] include Aws::Structure end  |