Interface CfnGatewayRoutePropsMixin.HttpGatewayRouteProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayRoutePropsMixin.HttpGatewayRouteProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayRoutePropsMixin
@Stability(Stable)
public static interface CfnGatewayRoutePropsMixin.HttpGatewayRouteProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents an HTTP gateway route.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.appmesh.*;
HttpGatewayRouteProperty httpGatewayRouteProperty = HttpGatewayRouteProperty.builder()
.action(HttpGatewayRouteActionProperty.builder()
.rewrite(HttpGatewayRouteRewriteProperty.builder()
.hostname(GatewayRouteHostnameRewriteProperty.builder()
.defaultTargetHostname("defaultTargetHostname")
.build())
.path(HttpGatewayRoutePathRewriteProperty.builder()
.exact("exact")
.build())
.prefix(HttpGatewayRoutePrefixRewriteProperty.builder()
.defaultPrefix("defaultPrefix")
.value("value")
.build())
.build())
.target(GatewayRouteTargetProperty.builder()
.port(123)
.virtualService(GatewayRouteVirtualServiceProperty.builder()
.virtualServiceName("virtualServiceName")
.build())
.build())
.build())
.match(HttpGatewayRouteMatchProperty.builder()
.headers(List.of(HttpGatewayRouteHeaderProperty.builder()
.invert(false)
.match(HttpGatewayRouteHeaderMatchProperty.builder()
.exact("exact")
.prefix("prefix")
.range(GatewayRouteRangeMatchProperty.builder()
.end(123)
.start(123)
.build())
.regex("regex")
.suffix("suffix")
.build())
.name("name")
.build()))
.hostname(GatewayRouteHostnameMatchProperty.builder()
.exact("exact")
.suffix("suffix")
.build())
.method("method")
.path(HttpPathMatchProperty.builder()
.exact("exact")
.regex("regex")
.build())
.port(123)
.prefix("prefix")
.queryParameters(List.of(QueryParameterProperty.builder()
.match(HttpQueryParameterMatchProperty.builder()
.exact("exact")
.build())
.name("name")
.build()))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayRoutePropsMixin.HttpGatewayRoutePropertystatic final classAn implementation forCfnGatewayRoutePropsMixin.HttpGatewayRouteProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAction
An object that represents the action to take if a match is determined.Returns union: either
IResolvableorCfnGatewayRoutePropsMixin.HttpGatewayRouteActionProperty- See Also:
-
getMatch
An object that represents the criteria for determining a request match.Returns union: either
IResolvableorCfnGatewayRoutePropsMixin.HttpGatewayRouteMatchProperty- See Also:
-
builder
-