Skip to content
v2.274.0

MatchHeaderValueProperty Struct ​

Represents a MatchHeaderValue .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigatewayv2 as apigatewayv2 } from 'aws-cdk-lib';
const matchHeaderValueProperty: apigatewayv2.CfnRoutingRule.MatchHeaderValueProperty = {
  header: 'header',
  valueGlob: 'valueGlob',
};

Properties ​

valueGlobstringvalue_globstrvalueGlobStringValueGlobstringValueGlob*stringrequired#
The case sensitive header glob value to be matched against entire header value.
notes

The header glob value must be less than 128 characters and the only allowed characters are a-z , A-Z , 0-9 , and the following special characters: *?-!#$%&'.^_|~. Wildcard matching is supported for header glob values but must be forprefix-match,suffix-match, orinfix-match` .