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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayRoute.HttpGatewayRouteHeaderPropertystatic final classAn implementation forCfnGatewayRoute.HttpGatewayRouteHeaderProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifyTrueto match anything except the match criteria.default ObjectgetMatch()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. -
getInvert
SpecifyTrueto match anything except the match criteria.The default value is
False. -
getMatch
An object that represents the method and value to match with the header value sent in a request.Specify one match method.
-
builder
-