interface GrpcRouteMatchProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AppMesh.CfnRoutePropsMixin.GrpcRouteMatchProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsappmesh#CfnRoutePropsMixin_GrpcRouteMatchProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.appmesh.CfnRoutePropsMixin.GrpcRouteMatchProperty |
Python | aws_cdk.cfn_property_mixins.aws_appmesh.CfnRoutePropsMixin.GrpcRouteMatchProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_appmesh » CfnRoutePropsMixin » GrpcRouteMatchProperty |
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 grpcRouteMatchProperty: appmesh.CfnRoutePropsMixin.GrpcRouteMatchProperty = {
metadata: [{
invert: false,
match: {
exact: 'exact',
prefix: 'prefix',
range: {
end: 123,
start: 123,
},
regex: 'regex',
suffix: 'suffix',
},
name: 'name',
}],
methodName: 'methodName',
port: 123,
serviceName: 'serviceName',
};
Properties
| Name | Type | Description |
|---|---|---|
| metadata? | IResolvable | (IResolvable | Grpc)[] | An object that represents the data to match from the request. |
| method | string | The method name to match from the request. |
| port? | number | The port number to match on. |
| service | string | The fully qualified domain name for the service to match from the request. |
metadata?
Type:
IResolvable | (IResolvable | Grpc)[]
(optional)
An object that represents the data to match from the request.
methodName?
Type:
string
(optional)
The method name to match from the request.
If you specify a name, you must also specify a serviceName .
port?
Type:
number
(optional)
The port number to match on.
serviceName?
Type:
string
(optional)
The fully qualified domain name for the service to match from the request.

.NET
Go
Java
Python
TypeScript