Skip to content
v2.274.0

GatewayRouteMetadataMatchProperty Struct ​

An object representing the method header to be matched.

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

Properties ​

exactstringexactstrexactStringExactstringExact*string#
The exact method header to be matched on.
prefixstringprefixstrprefixStringPrefixstringPrefix*string#
The specified beginning characters of the method header to be matched on.
An object that represents the range of values to match on.
regexstringregexstrregexStringRegexstringRegex*string#
The regex used to match the method header.
suffixstringsuffixstrsuffixStringSuffixstringSuffix*string#
The specified ending characters of the method header to match on.