aws-cdk-lib.aws_appmesh.CfnRoute.GrpcRouteMetadataProperty

interface GrpcRouteMetadataProperty

LanguageType name
.NETAmazon.CDK.AWS.AppMesh.CfnRoute.GrpcRouteMetadataProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnRoute_GrpcRouteMetadataProperty
Javasoftware.amazon.awscdk.services.appmesh.CfnRoute.GrpcRouteMetadataProperty
Pythonaws_cdk.aws_appmesh.CfnRoute.GrpcRouteMetadataProperty
TypeScript aws-cdk-lib » 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 { aws_appmesh as appmesh } from 'aws-cdk-lib';
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

NameTypeDescription
namestringThe name of the route.
invert?boolean | IResolvableSpecify True to match anything except the match criteria.
match?IResolvable | GrpcRouteMetadataMatchMethodPropertyAn 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 | GrpcRouteMetadataMatchMethodProperty (optional)

An object that represents the data to match from the request.