Interface CfnRoute.HttpRouteHeaderProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRoute.HttpRouteHeaderProperty.Jsii$Proxy
- Enclosing class:
- CfnRoute
@Stability(Stable)
public static interface CfnRoute.HttpRouteHeaderProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents the HTTP header in the request.
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.*;
HttpRouteHeaderProperty httpRouteHeaderProperty = HttpRouteHeaderProperty.builder()
.name("name")
// the properties below are optional
.invert(false)
.match(HeaderMatchMethodProperty.builder()
.exact("exact")
.prefix("prefix")
.range(MatchRangeProperty.builder()
.end(123)
.start(123)
.build())
.regex("regex")
.suffix("suffix")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRoute.HttpRouteHeaderPropertystatic final classAn implementation forCfnRoute.HttpRouteHeaderProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
A name for the HTTP header in the client request that will be matched on. -
getInvert
SpecifyTrueto match anything except the match criteria.The default value is
False. -
getMatch
TheHeaderMatchMethodobject. -
builder
-