interface GrpcGatewayRouteMatchProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AppMesh.CfnGatewayRoutePropsMixin.GrpcGatewayRouteMatchProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsappmesh#CfnGatewayRoutePropsMixin_GrpcGatewayRouteMatchProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.appmesh.CfnGatewayRoutePropsMixin.GrpcGatewayRouteMatchProperty |
Python | aws_cdk.cfn_property_mixins.aws_appmesh.CfnGatewayRoutePropsMixin.GrpcGatewayRouteMatchProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_appmesh » CfnGatewayRoutePropsMixin » GrpcGatewayRouteMatchProperty |
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 { aws_appmesh as appmesh } from '@aws-cdk/cfn-property-mixins';
const grpcGatewayRouteMatchProperty: appmesh.CfnGatewayRoutePropsMixin.GrpcGatewayRouteMatchProperty = {
hostname: {
exact: 'exact',
suffix: 'suffix',
},
metadata: [{
invert: false,
match: {
exact: 'exact',
prefix: 'prefix',
range: {
end: 123,
start: 123,
},
regex: 'regex',
suffix: 'suffix',
},
name: 'name',
}],
port: 123,
serviceName: 'serviceName',
};
Properties
| Name | Type | Description |
|---|---|---|
| hostname? | IResolvable | Gateway | The gateway route host name to be matched on. |
| metadata? | IResolvable | (IResolvable | Grpc)[] | The gateway route metadata to be matched on. |
| port? | number | The gateway route port to be matched on. |
| service | string | The fully qualified domain name for the service to match from the request. |
hostname?
Type:
IResolvable | Gateway
(optional)
The gateway route host name to be matched on.
metadata?
Type:
IResolvable | (IResolvable | Grpc)[]
(optional)
The gateway route metadata to be matched on.
port?
Type:
number
(optional)
The gateway route port to be matched on.
serviceName?
Type:
string
(optional)
The fully qualified domain name for the service to match from the request.

.NET
Go
Java
Python
TypeScript