interface HttpRouteHeaderProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppMesh.CfnRoute.HttpRouteHeaderProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnRoute_HttpRouteHeaderProperty |
![]() | software.amazon.awscdk.services.appmesh.CfnRoute.HttpRouteHeaderProperty |
![]() | aws_cdk.aws_appmesh.CfnRoute.HttpRouteHeaderProperty |
![]() | aws-cdk-lib » aws_appmesh » CfnRoute » HttpRouteHeaderProperty |
An object that represents the HTTP header in the request.
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 httpRouteHeaderProperty: appmesh.CfnRoute.HttpRouteHeaderProperty = {
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 |
---|---|---|
name | string | A name for the HTTP header in the client request that will be matched on. |
invert? | boolean | IResolvable | Specify True to match anything except the match criteria. |
match? | IResolvable | Header | The HeaderMatchMethod object. |
name
Type:
string
A name for the HTTP header in the client request that will be matched on.
invert?
Type:
boolean |
IResolvable
(optional)
Specify True
to match anything except the match criteria.
The default value is False
.
match?
Type:
IResolvable
|
Header
(optional)
The HeaderMatchMethod
object.