public static interface CfnGatewayRoute.HttpGatewayRouteHeaderProperty
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 java.lang.Object |
getInvert()
Specify `True` to match anything except the match criteria.
|
default java.lang.Object |
getMatch()
An object that represents the method and value to match with the header value sent in a request.
|
java.lang.String |
getName()
A name for the HTTP header in the gateway route that will be matched on.
|
java.lang.String getName()
default java.lang.Object getInvert()
The default value is False
.
default java.lang.Object getMatch()
Specify one match method.
static CfnGatewayRoute.HttpGatewayRouteHeaderProperty.Builder builder()