interface MatchHeadersProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Apigatewayv2.CfnRoutingRule.MatchHeadersProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapigatewayv2#CfnRoutingRule_MatchHeadersProperty |
Java | software.amazon.awscdk.services.apigatewayv2.CfnRoutingRule.MatchHeadersProperty |
Python | aws_cdk.aws_apigatewayv2.CfnRoutingRule.MatchHeadersProperty |
TypeScript | aws-cdk-lib » aws_apigatewayv2 » CfnRoutingRule » MatchHeadersProperty |
Represents a MatchHeaders condition.
Example
// 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
| Name | Type | Description |
|---|---|---|
| any | IResolvable | (IResolvable | Match)[] | The header name and header value glob to be matched. |
anyOf
Type:
IResolvable | (IResolvable | Match)[]
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.

.NET
Go
Java
Python
TypeScript