Interface CfnGatewayRoute.HttpGatewayRouteRewriteProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayRoute.HttpGatewayRouteRewriteProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayRoute
@Stability(Stable)
public static interface CfnGatewayRoute.HttpGatewayRouteRewriteProperty
extends software.amazon.jsii.JsiiSerializable
An object representing the gateway route to rewrite.
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.*;
HttpGatewayRouteRewriteProperty httpGatewayRouteRewriteProperty = HttpGatewayRouteRewriteProperty.builder()
.hostname(GatewayRouteHostnameRewriteProperty.builder()
.defaultTargetHostname("defaultTargetHostname")
.build())
.path(HttpGatewayRoutePathRewriteProperty.builder()
.exact("exact")
.build())
.prefix(HttpGatewayRoutePrefixRewriteProperty.builder()
.defaultPrefix("defaultPrefix")
.value("value")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayRoute.HttpGatewayRouteRewritePropertystatic final classAn implementation forCfnGatewayRoute.HttpGatewayRouteRewriteProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHostname
The host name to rewrite.Returns union: either
IResolvableorCfnGatewayRoute.GatewayRouteHostnameRewriteProperty- See Also:
-
getPath
The path to rewrite.Returns union: either
IResolvableorCfnGatewayRoute.HttpGatewayRoutePathRewriteProperty- See Also:
-
getPrefix
The specified beginning characters to rewrite.Returns union: either
IResolvableorCfnGatewayRoute.HttpGatewayRoutePrefixRewriteProperty- See Also:
-
builder
-