Interface CfnRule.HeaderMatchProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRule.HeaderMatchProperty.Jsii$Proxy
- Enclosing class:
CfnRule
@Stability(Stable)
public static interface CfnRule.HeaderMatchProperty
extends software.amazon.jsii.JsiiSerializable
Describes the constraints for a header match.
Matches incoming requests with rule based on request header value before applying rule action.
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.vpclattice.*; HeaderMatchProperty headerMatchProperty = HeaderMatchProperty.builder() .match(HeaderMatchTypeProperty.builder() .contains("contains") .exact("exact") .prefix("prefix") .build()) .name("name") // the properties below are optional .caseSensitive(false) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRule.HeaderMatchProperty
static final class
An implementation forCfnRule.HeaderMatchProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMatch
The header match type.- See Also:
-
getName
The name of the header.- See Also:
-
getCaseSensitive
Indicates whether the match is case sensitive.Default: - false
- See Also:
-
builder
-