AWS::VpcLattice::Rule Forward - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::VpcLattice::Rule Forward

The forward action. Traffic that matches the rule is forwarded to the specified target groups.


To declare this entity in your Amazon CloudFormation template, use the following syntax:


{ "TargetGroups" : [ 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.

Required: Yes

Type: Array of WeightedTargetGroup

Minimum: 1

Maximum: 10

Update requires: No interruption