Interface CfnRulePropsMixin.ActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRulePropsMixin.ActionProperty.Jsii$Proxy
- Enclosing class:
CfnRulePropsMixin
@Stability(Stable)
public static interface CfnRulePropsMixin.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.cfnpropertymixins.services.vpclattice.*;
ActionProperty actionProperty = ActionProperty.builder()
.fixedResponse(FixedResponseProperty.builder()
.statusCode(123)
.build())
.forward(ForwardProperty.builder()
.targetGroups(List.of(WeightedTargetGroupProperty.builder()
.targetGroupIdentifier("targetGroupIdentifier")
.weight(123)
.build()))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRulePropsMixin.ActionPropertystatic final classAn implementation forCfnRulePropsMixin.ActionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFixedResponse
The fixed response action.The rule returns a custom HTTP response.
Returns union: either
IResolvableorCfnRulePropsMixin.FixedResponseProperty- See Also:
-
getForward
The forward action.Traffic that matches the rule is forwarded to the specified target groups.
Returns union: either
IResolvableorCfnRulePropsMixin.ForwardProperty- See Also:
-
builder
-