Skip to content
v2.274.0

GrpcGatewayRouteMetadataProperty Struct ​

An object representing the metadata of the gateway route.

Example ​

ts
// 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 ​

invertoptionalboolean | IResolvableinvertoptionaltyping.Union[bool, IResolvable]invertoptionalBooleanInvertoptionalboolInvertoptionalinterface{}#
Specify `True` to match anything except the match criteria.

The default value is False .

matchoptionalIResolvable | CfnGatewayRoute.GatewayRouteMetadataMatchPropertymatchoptionaltyping.Union[IResolvable, GatewayRouteMetadataMatchProperty]matchoptionalIResolvableMatchoptionalIResolvableMatchoptionalinterface{}#
The criteria for determining a metadata match.
namestringnamestrnameStringNamestringName*stringrequired#
A name for the gateway route metadata.