Interface CfnRoutingRule.MatchHeadersProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRoutingRule.MatchHeadersProperty.Jsii$Proxy
- Enclosing class:
CfnRoutingRule
@Stability(Stable)
public static interface CfnRoutingRule.MatchHeadersProperty
extends software.amazon.jsii.JsiiSerializable
Represents a
MatchHeaders condition.
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.apigatewayv2.*;
MatchHeadersProperty matchHeadersProperty = MatchHeadersProperty.builder()
.anyOf(List.of(MatchHeaderValueProperty.builder()
.header("header")
.valueGlob("valueGlob")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRoutingRule.MatchHeadersPropertystatic final classAn implementation forCfnRoutingRule.MatchHeadersProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAnyOf
The header name and header value glob to be matched.The matchHeaders condition is matched if any of the header name and header value globs are matched.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRoutingRule.MatchHeaderValueProperty>- See Also:
-
builder
-