public static interface CfnGatewayRoute.GrpcGatewayRouteProperty
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.*; GrpcGatewayRouteProperty grpcGatewayRouteProperty = GrpcGatewayRouteProperty.builder() .action(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()) .match(GrpcGatewayRouteMatchProperty.builder() .hostname(GatewayRouteHostnameMatchProperty.builder() .exact("exact") .suffix("suffix") .build()) .metadata(List.of(GrpcGatewayRouteMetadataProperty.builder() .name("name") // the properties below are optional .invert(false) .match(GatewayRouteMetadataMatchProperty.builder() .exact("exact") .prefix("prefix") .range(GatewayRouteRangeMatchProperty.builder() .end(123) .start(123) .build()) .regex("regex") .suffix("suffix") .build()) .build())) .port(123) .serviceName("serviceName") .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnGatewayRoute.GrpcGatewayRouteProperty.Builder
A builder for
CfnGatewayRoute.GrpcGatewayRouteProperty |
static class |
CfnGatewayRoute.GrpcGatewayRouteProperty.Jsii$Proxy
An implementation for
CfnGatewayRoute.GrpcGatewayRouteProperty |
Modifier and Type | Method and Description |
---|---|
static CfnGatewayRoute.GrpcGatewayRouteProperty.Builder |
builder() |
java.lang.Object |
getAction()
An object that represents the action to take if a match is determined.
|
java.lang.Object |
getMatch()
An object that represents the criteria for determining a request match.
|
java.lang.Object getAction()
java.lang.Object getMatch()
static CfnGatewayRoute.GrpcGatewayRouteProperty.Builder builder()