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