GrpcGatewayRouteMatchProperty Struct
An object that represents the criteria for determining a request match.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';
const grpcGatewayRouteMatchProperty: appmesh.CfnGatewayRoute.GrpcGatewayRouteMatchProperty = {
hostname: {
exact: 'exact',
suffix: 'suffix',
},
metadata: [{
name: 'name',
// the properties below are optional
invert: false,
match: {
exact: 'exact',
prefix: 'prefix',
range: {
end: 123,
start: 123,
},
regex: 'regex',
suffix: 'suffix',
},
}],
port: 123,
serviceName: 'serviceName',
};
Properties
hostnameIResolvable | CfnGatewayRoute.GatewayRouteHostnameMatchPropertyhostnametyping.Union[IResolvable, GatewayRouteHostnameMatchProperty]hostnameIResolvableHostnameIResolvableHostnameinterface{}#The gateway route host name to be matched on.
metadataIResolvable | IResolvable | CfnGatewayRoute.GrpcGatewayRouteMetadataProperty[]metadatatyping.Union[IResolvable, typing.List[typing.Union[IResolvable, GrpcGatewayRouteMetadataProperty]]]metadataIResolvableMetadataIResolvableMetadatainterface{}#The gateway route metadata to be matched on.
The gateway route port to be matched on.
The fully qualified domain name for the service to match from the request.