interface GrpcGatewayRouteMetadataProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppMesh.CfnGatewayRoute.GrpcGatewayRouteMetadataProperty |
![]() | software.amazon.awscdk.services.appmesh.CfnGatewayRoute.GrpcGatewayRouteMetadataProperty |
![]() | aws_cdk.aws_appmesh.CfnGatewayRoute.GrpcGatewayRouteMetadataProperty |
![]() | @aws-cdk/aws-appmesh » CfnGatewayRoute » GrpcGatewayRouteMetadataProperty |
An object representing the metadata of the gateway 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 grpcGatewayRouteMetadataProperty: appmesh.CfnGatewayRoute.GrpcGatewayRouteMetadataProperty = {
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 | A name for the gateway route metadata. |
invert? | boolean | IResolvable | Specify True to match anything except the match criteria. |
match? | IResolvable | Gateway | The criteria for determining a metadata match. |
name
Type:
string
A name for the gateway route metadata.
invert?
Type:
boolean |
IResolvable
(optional)
Specify True
to match anything except the match criteria.
The default value is False
.
match?
Type:
IResolvable
|
Gateway
(optional)
The criteria for determining a metadata match.