Class: Aws::VPCLattice::Types::ForwardAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::VPCLattice::Types::ForwardAction
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-vpclattice/types.rb
Overview
Describes a forward action. You can use forward actions to route requests to one or more target groups.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#target_groups ⇒ Array<Types::WeightedTargetGroup>
The target groups.
Instance Attribute Details
#target_groups ⇒ Array<Types::WeightedTargetGroup>
The target groups. Traffic matching the rule is forwarded to the specified target groups. With forward actions, you can assign a weight that controls the prioritization and selection of each target group. This means that requests are distributed to individual target groups based on their weights. For example, if two target groups have the same weight, each target group receives half of the traffic.
The default value is 1. This means that if only one target group is provided, there is no need to set the weight; 100% of the traffic goes to that target group.
1670 1671 1672 1673 1674 |
# File 'lib/aws-sdk-vpclattice/types.rb', line 1670 class ForwardAction < Struct.new( :target_groups) SENSITIVE = [] include Aws::Structure end |