Class: Aws::VPCLattice::Types::WeightedTargetGroup
- Inherits:
-
Struct
- Object
- Struct
- Aws::VPCLattice::Types::WeightedTargetGroup
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-vpclattice/types.rb
Overview
Describes the weight of a target group.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#target_group_identifier ⇒ String
The ID or Amazon Resource Name (ARN) of the target group.
-
#weight ⇒ Integer
Only required if you specify multiple target groups for a forward action.
Instance Attribute Details
#target_group_identifier ⇒ String
The ID or Amazon Resource Name (ARN) of the target group.
3941 3942 3943 3944 3945 3946 |
# File 'lib/aws-sdk-vpclattice/types.rb', line 3941 class WeightedTargetGroup < Struct.new( :target_group_identifier, :weight) SENSITIVE = [] include Aws::Structure end |
#weight ⇒ Integer
Only required if you specify multiple target groups for a forward action. The weight determines how requests are distributed to the target group. For example, if you specify two target groups, each with a weight of 10, each target group receives half the requests. If you specify two target groups, one with a weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. If there’s only one target group specified, then the default value is 100.
3941 3942 3943 3944 3945 3946 |
# File 'lib/aws-sdk-vpclattice/types.rb', line 3941 class WeightedTargetGroup < Struct.new( :target_group_identifier, :weight) SENSITIVE = [] include Aws::Structure end |