interface GrpcRouteMetadataProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppMesh.CfnRoute.GrpcRouteMetadataProperty |
![]() | software.amazon.awscdk.services.appmesh.CfnRoute.GrpcRouteMetadataProperty |
![]() | aws_cdk.aws_appmesh.CfnRoute.GrpcRouteMetadataProperty |
![]() | @aws-cdk/aws-appmesh » CfnRoute » GrpcRouteMetadataProperty |
An object that represents the match metadata for the route.
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 grpcRouteMetadataProperty: appmesh.CfnRoute.GrpcRouteMetadataProperty = {
name: 'name',
// the properties below are optional
invert: false,
match: {
exact: 'exact',
prefix: 'prefix',
range: {
end: 123,
start: 123,
},
regex: 'regex',
suffix: 'suffix',
},
};
Properties
Name | Type | Description |
---|---|---|
name | string | The name of the route. |
invert? | boolean | IResolvable | Specify True to match anything except the match criteria. |
match? | IResolvable | Grpc | An object that represents the data to match from the request. |
name
Type:
string
The name of the route.
invert?
Type:
boolean |
IResolvable
(optional)
Specify True
to match anything except the match criteria.
The default value is False
.
match?
Type:
IResolvable
|
Grpc
(optional)
An object that represents the data to match from the request.