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.
1157 1158 1159 1160 1161 |
# File 'lib/aws-sdk-vpclattice/types.rb', line 1157 class ForwardAction < Struct.new( :target_groups) SENSITIVE = [] include Aws::Structure end |