interface HttpRouteHeaderProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppMesh.CfnRoute.HttpRouteHeaderProperty |
Java | software.amazon.awscdk.services.appmesh.CfnRoute.HttpRouteHeaderProperty |
Python | aws_cdk.aws_appmesh.CfnRoute.HttpRouteHeaderProperty |
TypeScript | @aws-cdk/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 * as appmesh from '@aws-cdk/aws-appmesh';
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.