Interface HeaderMatchConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HeaderMatchConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.073Z")
@Stability(Stable)
public interface HeaderMatchConfig
extends software.amazon.jsii.JsiiSerializable
Configuration for
HeaderMatch.
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.*;
HeaderMatchConfig headerMatchConfig = HeaderMatchConfig.builder()
.headerMatch(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())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forHeaderMatchConfigstatic final classAn implementation forHeaderMatchConfig -
Method Summary
Modifier and TypeMethodDescriptionstatic HeaderMatchConfig.Builderbuilder()Route CFN configuration for the route header match.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHeaderMatch
Route CFN configuration for the route header match. -
builder
- Returns:
- a
HeaderMatchConfig.BuilderofHeaderMatchConfig
-