Interface CfnRoutingRule.ActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRoutingRule.ActionProperty.Jsii$Proxy
- Enclosing class:
CfnRoutingRule
@Stability(Stable)
public static interface CfnRoutingRule.ActionProperty
extends software.amazon.jsii.JsiiSerializable
Represents a routing rule action.
The only supported action is invokeApi .
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.apigatewayv2.*;
ActionProperty actionProperty = ActionProperty.builder()
.invokeApi(ActionInvokeApiProperty.builder()
.apiId("apiId")
.stage("stage")
// the properties below are optional
.stripBasePath(false)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRoutingRule.ActionPropertystatic final classAn implementation forCfnRoutingRule.ActionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInvokeApi
Represents an InvokeApi action.Returns union: either
IResolvableorCfnRoutingRule.ActionInvokeApiProperty- See Also:
-
builder
-