aws-cdk-lib.aws_appmesh.CfnGatewayRoute.GrpcGatewayRouteMetadataProperty

interface GrpcGatewayRouteMetadataProperty

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

NameTypeDescription
namestringA name for the gateway route metadata.
invert?boolean | IResolvableSpecify True to match anything except the match criteria.
match?IResolvable | GatewayRouteMetadataMatchPropertyThe 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 | GatewayRouteMetadataMatchProperty (optional)

The criteria for determining a metadata match.