@Stability(value=Stable)
public static interface CfnGatewayRoute.GrpcGatewayRouteActionProperty
extends software.amazon.jsii.JsiiSerializable
// 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())
.build())
// the properties below are optional
.rewrite(GrpcGatewayRouteRewriteProperty.builder()
.hostname(GatewayRouteHostnameRewriteProperty.builder()
.defaultTargetHostname("defaultTargetHostname")
.build())
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnGatewayRoute.GrpcGatewayRouteActionProperty.Builder
A builder for
CfnGatewayRoute.GrpcGatewayRouteActionProperty |
static class |
CfnGatewayRoute.GrpcGatewayRouteActionProperty.Jsii$Proxy
An implementation for
CfnGatewayRoute.GrpcGatewayRouteActionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnGatewayRoute.GrpcGatewayRouteActionProperty.Builder |
builder() |
default Object |
getRewrite()
`CfnGatewayRoute.GrpcGatewayRouteActionProperty.Rewrite`.
|
Object |
getTarget()
`CfnGatewayRoute.GrpcGatewayRouteActionProperty.Target`.
|
@Stability(value=Stable) @Nullable default Object getRewrite()
@Stability(value=Stable) @NotNull Object getTarget()
@Stability(value=Stable) static CfnGatewayRoute.GrpcGatewayRouteActionProperty.Builder builder()
Copyright © 2021. All rights reserved.