Interface CfnRule.ActionProperty

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

@Stability(Stable) public static interface CfnRule.ActionProperty extends software.amazon.jsii.JsiiSerializable
Describes the action for a rule.

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.*;
 ActionProperty actionProperty = ActionProperty.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: