Interface CfnGatewayRoute.HttpGatewayRouteHeaderProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayRoute.HttpGatewayRouteHeaderProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayRoute
@Stability(Stable)
public static interface CfnGatewayRoute.HttpGatewayRouteHeaderProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents the HTTP header in the 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.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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnGatewayRoute.HttpGatewayRouteHeaderProperty
static final class
An implementation forCfnGatewayRoute.HttpGatewayRouteHeaderProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
SpecifyTrue
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.getName()
A name for the HTTP header in the gateway route that will be matched on.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
A name for the HTTP header in the gateway route that will be matched on.- See Also:
-
getInvert
SpecifyTrue
to match anything except the match criteria.The default value is
False
.- See Also:
-
getMatch
An object that represents the method and value to match with the header value sent in a request.Specify one match method.
- See Also:
-
builder
-