interface GrpcGatewayRouteMatchProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins.CfnGatewayRoutePropsMixin.GrpcGatewayRouteMatchProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappmesh/mixins#CfnGatewayRoutePropsMixin_GrpcGatewayRouteMatchProperty |
Java | software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnGatewayRoutePropsMixin.GrpcGatewayRouteMatchProperty |
Python | aws_cdk.mixins_preview.aws_appmesh.mixins.CfnGatewayRoutePropsMixin.GrpcGatewayRouteMatchProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appmesh » mixins » 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 { mixins as appmesh_mixins } from '@aws-cdk/mixins-preview/aws-appmesh';
const grpcGatewayRouteMatchProperty: appmesh_mixins.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