interface GrpcGatewayRouteMatchProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppMesh.CfnGatewayRoute.GrpcGatewayRouteMatchProperty |
![]() | software.amazon.awscdk.services.appmesh.CfnGatewayRoute.GrpcGatewayRouteMatchProperty |
![]() | aws_cdk.aws_appmesh.CfnGatewayRoute.GrpcGatewayRouteMatchProperty |
![]() | @aws-cdk/aws-appmesh » CfnGatewayRoute » 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 * as appmesh from '@aws-cdk/aws-appmesh';
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
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.