Skip to content
v2.275.0

GrpcRouteMetadataMatchMethodProperty Struct ​

An object that represents the match method.

Specify one of the match values.

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 grpcRouteMetadataMatchMethodProperty: appmesh.CfnRoute.GrpcRouteMetadataMatchMethodProperty = {
  exact: 'exact',
  prefix: 'prefix',
  range: {
    end: 123,
    start: 123,
  },
  regex: 'regex',
  suffix: 'suffix',
};

Properties ​

exactoptionalstringexactoptionalstrexactoptionalStringExactoptionalstringExactoptional*string#
The value sent by the client must match the specified value exactly.
prefixoptionalstringprefixoptionalstrprefixoptionalStringPrefixoptionalstringPrefixoptional*string#
The value sent by the client must begin with the specified characters.
rangeoptionalIResolvable | CfnRoute.MatchRangePropertyrangeoptionaltyping.Union[IResolvable, MatchRangeProperty]rangeoptionalIResolvableRangeoptionalIResolvableRangeoptionalinterface{}#
An object that represents the range of values to match on.
regexoptionalstringregexoptionalstrregexoptionalStringRegexoptionalstringRegexoptional*string#
The value sent by the client must include the specified characters.
suffixoptionalstringsuffixoptionalstrsuffixoptionalStringSuffixoptionalstringSuffixoptional*string#
The value sent by the client must end with the specified characters.