MatchHeadersProperty Struct
Represents a MatchHeaders condition.
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 matchHeadersProperty: apigatewayv2.CfnRoutingRule.MatchHeadersProperty = {
anyOf: [{
header: 'header',
valueGlob: 'valueGlob',
}],
};
Properties
anyOfIResolvable | IResolvable | CfnRoutingRule.MatchHeaderValueProperty[]any_oftyping.Union[IResolvable, typing.List[typing.Union[IResolvable, MatchHeaderValueProperty]]]anyOfIResolvableAnyOfIResolvableAnyOfinterface{}required#The header name and header value glob to be matched.
The matchHeaders condition is matched if any of the header name and header value globs are matched.