@Stability(value=Stable)
public static interface CfnRoute.HttpRouteMatchProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
HttpRouteMatchProperty httpRouteMatchProperty = HttpRouteMatchProperty.builder()
.headers(List.of(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()))
.method("method")
.path(HttpPathMatchProperty.builder()
.exact("exact")
.regex("regex")
.build())
.prefix("prefix")
.queryParameters(List.of(QueryParameterProperty.builder()
.name("name")
// the properties below are optional
.match(HttpQueryParameterMatchProperty.builder()
.exact("exact")
.build())
.build()))
.scheme("scheme")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRoute.HttpRouteMatchProperty.Builder
A builder for
CfnRoute.HttpRouteMatchProperty |
static class |
CfnRoute.HttpRouteMatchProperty.Jsii$Proxy
An implementation for
CfnRoute.HttpRouteMatchProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRoute.HttpRouteMatchProperty.Builder |
builder() |
default Object |
getHeaders()
`CfnRoute.HttpRouteMatchProperty.Headers`.
|
default String |
getMethod()
`CfnRoute.HttpRouteMatchProperty.Method`.
|
default Object |
getPath()
`CfnRoute.HttpRouteMatchProperty.Path`.
|
default String |
getPrefix()
`CfnRoute.HttpRouteMatchProperty.Prefix`.
|
default Object |
getQueryParameters()
`CfnRoute.HttpRouteMatchProperty.QueryParameters`.
|
default String |
getScheme()
`CfnRoute.HttpRouteMatchProperty.Scheme`.
|
@Stability(value=Stable) @Nullable default Object getHeaders()
@Stability(value=Stable) @Nullable default String getMethod()
@Stability(value=Stable) @Nullable default Object getPath()
@Stability(value=Stable) @Nullable default String getPrefix()
@Stability(value=Stable) @Nullable default Object getQueryParameters()
@Stability(value=Stable) @Nullable default String getScheme()
@Stability(value=Stable) static CfnRoute.HttpRouteMatchProperty.Builder builder()
Copyright © 2021. All rights reserved.