Interface CfnGatewayRoute.GrpcGatewayRouteActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayRoute.GrpcGatewayRouteActionProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayRoute
@Stability(Stable)
public static interface CfnGatewayRoute.GrpcGatewayRouteActionProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents the action to take if a match is determined.
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.appmesh.*; GrpcGatewayRouteActionProperty grpcGatewayRouteActionProperty = GrpcGatewayRouteActionProperty.builder() .target(GatewayRouteTargetProperty.builder() .virtualService(GatewayRouteVirtualServiceProperty.builder() .virtualServiceName("virtualServiceName") .build()) // the properties below are optional .port(123) .build()) // the properties below are optional .rewrite(GrpcGatewayRouteRewriteProperty.builder() .hostname(GatewayRouteHostnameRewriteProperty.builder() .defaultTargetHostname("defaultTargetHostname") .build()) .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnGatewayRoute.GrpcGatewayRouteActionProperty
static final class
An implementation forCfnGatewayRoute.GrpcGatewayRouteActionProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTarget
An object that represents the target that traffic is routed to when a request matches the gateway route.- See Also:
-
getRewrite
The gateway route action to rewrite.- See Also:
-
builder
-