Interface CfnGatewayRoute.GrpcGatewayRouteMatchProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayRoute.GrpcGatewayRouteMatchProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayRoute
@Stability(Stable)
public static interface CfnGatewayRoute.GrpcGatewayRouteMatchProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents the criteria for determining a request match.
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.*;
GrpcGatewayRouteMatchProperty grpcGatewayRouteMatchProperty = GrpcGatewayRouteMatchProperty.builder()
.hostname(GatewayRouteHostnameMatchProperty.builder()
.exact("exact")
.suffix("suffix")
.build())
.metadata(List.of(GrpcGatewayRouteMetadataProperty.builder()
.name("name")
// the properties below are optional
.invert(false)
.match(GatewayRouteMetadataMatchProperty.builder()
.exact("exact")
.prefix("prefix")
.range(GatewayRouteRangeMatchProperty.builder()
.end(123)
.start(123)
.build())
.regex("regex")
.suffix("suffix")
.build())
.build()))
.port(123)
.serviceName("serviceName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayRoute.GrpcGatewayRouteMatchPropertystatic final classAn implementation forCfnGatewayRoute.GrpcGatewayRouteMatchProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe gateway route host name to be matched on.default ObjectThe gateway route metadata to be matched on.default NumbergetPort()The gateway route port to be matched on.default StringThe fully qualified domain name for the service to match from the request.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHostname
The gateway route host name to be matched on.Returns union: either
IResolvableorCfnGatewayRoute.GatewayRouteHostnameMatchProperty- See Also:
-
getMetadata
The gateway route metadata to be matched on.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnGatewayRoute.GrpcGatewayRouteMetadataProperty>- See Also:
-
getPort
The gateway route port to be matched on.- See Also:
-
getServiceName
The fully qualified domain name for the service to match from the request.- See Also:
-
builder
-