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: