@Stability(value=Stable)
public static interface CfnGatewayRoute.HttpGatewayRouteHeaderProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
HttpGatewayRouteHeaderProperty httpGatewayRouteHeaderProperty = HttpGatewayRouteHeaderProperty.builder()
.name("name")
// the properties below are optional
.invert(false)
.match(HttpGatewayRouteHeaderMatchProperty.builder()
.exact("exact")
.prefix("prefix")
.range(GatewayRouteRangeMatchProperty.builder()
.end(123)
.start(123)
.build())
.regex("regex")
.suffix("suffix")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnGatewayRoute.HttpGatewayRouteHeaderProperty.Builder
A builder for
CfnGatewayRoute.HttpGatewayRouteHeaderProperty |
static class |
CfnGatewayRoute.HttpGatewayRouteHeaderProperty.Jsii$Proxy
An implementation for
CfnGatewayRoute.HttpGatewayRouteHeaderProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnGatewayRoute.HttpGatewayRouteHeaderProperty.Builder |
builder() |
default Object |
getInvert()
Specify `True` to match anything except the match criteria.
|
default Object |
getMatch()
An object that represents the method and value to match with the header value sent in a request.
|
String |
getName()
A name for the HTTP header in the gateway route that will be matched on.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getInvert()
The default value is False .
@Stability(value=Stable) @Nullable default Object getMatch()
Specify one match method.
@Stability(value=Stable) static CfnGatewayRoute.HttpGatewayRouteHeaderProperty.Builder builder()
Copyright © 2022. All rights reserved.