Interface CfnRule.ForwardProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRule.ForwardProperty.Jsii$Proxy
Enclosing class:
CfnRule

@Stability(Stable) public static interface CfnRule.ForwardProperty extends software.amazon.jsii.JsiiSerializable
The forward action.

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

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.vpclattice.*;
 ForwardProperty forwardProperty = ForwardProperty.builder()
         .targetGroups(List.of(WeightedTargetGroupProperty.builder()
                 .targetGroupIdentifier("targetGroupIdentifier")
                 // the properties below are optional
                 .weight(123)
                 .build()))
         .build();
 

See Also: