interface MatchHeadersProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ApiGatewayV2.Mixins.CfnRoutingRulePropsMixin.MatchHeadersProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsapigatewayv2/mixins#CfnRoutingRulePropsMixin_MatchHeadersProperty |
Java | software.amazon.awscdk.mixins.preview.services.apigatewayv2.mixins.CfnRoutingRulePropsMixin.MatchHeadersProperty |
Python | aws_cdk.mixins_preview.aws_apigatewayv2.mixins.CfnRoutingRulePropsMixin.MatchHeadersProperty |
TypeScript | @aws-cdk/mixins-preview » aws_apigatewayv2 » mixins » CfnRoutingRulePropsMixin » 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 { mixins as apigatewayv2_mixins } from '@aws-cdk/mixins-preview/aws-apigatewayv2';
const matchHeadersProperty: apigatewayv2_mixins.CfnRoutingRulePropsMixin.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)[]
(optional)
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