Class: Aws::AppMesh::Types::WeightedTarget
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::AppMesh::Types::WeightedTarget
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-appmesh/types.rb
 
Overview
An object that represents a target and its relative weight. Traffic is distributed across targets according to their relative weight. For example, a weighted target with a relative weight of 50 receives five times as much traffic as one with a relative weight of 10. The total weight for all targets combined must be less than or equal to 100.
Constant Summary collapse
- SENSITIVE =
 []
Instance Attribute Summary collapse
- 
  
    
      #port  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The targeted port of the weighted object.
 - 
  
    
      #virtual_node  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The virtual node to associate with the weighted target.
 - 
  
    
      #weight  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The relative weight of the weighted target.
 
Instance Attribute Details
#port ⇒ Integer
The targeted port of the weighted object.
      6344 6345 6346 6347 6348 6349 6350  | 
    
      # File 'lib/aws-sdk-appmesh/types.rb', line 6344 class WeightedTarget < Struct.new( :port, :virtual_node, :weight) SENSITIVE = [] include Aws::Structure end  | 
  
#virtual_node ⇒ String
The virtual node to associate with the weighted target.
      6344 6345 6346 6347 6348 6349 6350  | 
    
      # File 'lib/aws-sdk-appmesh/types.rb', line 6344 class WeightedTarget < Struct.new( :port, :virtual_node, :weight) SENSITIVE = [] include Aws::Structure end  | 
  
#weight ⇒ Integer
The relative weight of the weighted target.
      6344 6345 6346 6347 6348 6349 6350  | 
    
      # File 'lib/aws-sdk-appmesh/types.rb', line 6344 class WeightedTarget < Struct.new( :port, :virtual_node, :weight) SENSITIVE = [] include Aws::Structure end  |