interface HeaderMatchConfig
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppMesh.HeaderMatchConfig |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#HeaderMatchConfig |
![]() | software.amazon.awscdk.services.appmesh.HeaderMatchConfig |
![]() | aws_cdk.aws_appmesh.HeaderMatchConfig |
![]() | aws-cdk-lib » aws_appmesh » HeaderMatchConfig |
Obtainable from
Header
.bind()
Configuration for HeaderMatch
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';
const headerMatchConfig: appmesh.HeaderMatchConfig = {
headerMatch: {
name: 'name',
// the properties below are optional
invert: false,
match: {
exact: 'exact',
prefix: 'prefix',
range: {
end: 123,
start: 123,
},
regex: 'regex',
suffix: 'suffix',
},
},
};
Properties
Name | Type | Description |
---|---|---|
header | Http | Route CFN configuration for the route header match. |
headerMatch
Type:
Http
Route CFN configuration for the route header match.