Interface CfnRoutePropsMixin.GrpcRouteMatchProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRoutePropsMixin.GrpcRouteMatchProperty.Jsii$Proxy
- Enclosing class:
CfnRoutePropsMixin
@Stability(Stable)
public static interface CfnRoutePropsMixin.GrpcRouteMatchProperty
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.cfnpropertymixins.services.appmesh.*;
GrpcRouteMatchProperty grpcRouteMatchProperty = GrpcRouteMatchProperty.builder()
.metadata(List.of(GrpcRouteMetadataProperty.builder()
.invert(false)
.match(GrpcRouteMetadataMatchMethodProperty.builder()
.exact("exact")
.prefix("prefix")
.range(MatchRangeProperty.builder()
.end(123)
.start(123)
.build())
.regex("regex")
.suffix("suffix")
.build())
.name("name")
.build()))
.methodName("methodName")
.port(123)
.serviceName("serviceName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRoutePropsMixin.GrpcRouteMatchPropertystatic final classAn implementation forCfnRoutePropsMixin.GrpcRouteMatchProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectAn object that represents the data to match from the request.default StringThe method name to match from the request.default NumbergetPort()The port number to match 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
-
getMetadata
An object that represents the data to match from the request.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRoutePropsMixin.GrpcRouteMetadataProperty>- See Also:
-
getMethodName
The method name to match from the request.If you specify a name, you must also specify a
serviceName.- See Also:
-
getPort
The port number to match on.- See Also:
-
getServiceName
The fully qualified domain name for the service to match from the request.- See Also:
-
builder
-