Interface CfnGatewayRoute.HttpGatewayRouteActionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnGatewayRoute.HttpGatewayRouteActionProperty.Jsii$Proxy
Enclosing class:
CfnGatewayRoute

@Stability(Stable) public static interface CfnGatewayRoute.HttpGatewayRouteActionProperty 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.*;
 HttpGatewayRouteActionProperty httpGatewayRouteActionProperty = HttpGatewayRouteActionProperty.builder()
         .target(GatewayRouteTargetProperty.builder()
                 .virtualService(GatewayRouteVirtualServiceProperty.builder()
                         .virtualServiceName("virtualServiceName")
                         .build())
                 // the properties below are optional
                 .port(123)
                 .build())
         // the properties below are optional
         .rewrite(HttpGatewayRouteRewriteProperty.builder()
                 .hostname(GatewayRouteHostnameRewriteProperty.builder()
                         .defaultTargetHostname("defaultTargetHostname")
                         .build())
                 .path(HttpGatewayRoutePathRewriteProperty.builder()
                         .exact("exact")
                         .build())
                 .prefix(HttpGatewayRoutePrefixRewriteProperty.builder()
                         .defaultPrefix("defaultPrefix")
                         .value("value")
                         .build())
                 .build())
         .build();
 

See Also: