Interface CfnListener.ForwardProperty

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

@Stability(Stable) public static interface CfnListener.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: