interface MatchHeadersProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Apigatewayv2.CfnRoutingRule.MatchHeadersProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsapigatewayv2#CfnRoutingRule_MatchHeadersProperty |
![]() | software.amazon.awscdk.services.apigatewayv2.CfnRoutingRule.MatchHeadersProperty |
![]() | aws_cdk.aws_apigatewayv2.CfnRoutingRule.MatchHeadersProperty |
![]() | 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.