Interface CfnListener.DefaultActionProperty

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

@Stability(Stable) public static interface CfnListener.DefaultActionProperty extends software.amazon.jsii.JsiiSerializable
The action for the default rule.

Each listener has a default rule. The default rule is used if no other rules match.

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.*;
 DefaultActionProperty defaultActionProperty = DefaultActionProperty.builder()
         .fixedResponse(FixedResponseProperty.builder()
                 .statusCode(123)
                 .build())
         .forward(ForwardProperty.builder()
                 .targetGroups(List.of(WeightedTargetGroupProperty.builder()
                         .targetGroupIdentifier("targetGroupIdentifier")
                         // the properties below are optional
                         .weight(123)
                         .build()))
                 .build())
         .build();
 

See Also: