interface HttpRouteHeaderProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins.CfnRoutePropsMixin.HttpRouteHeaderProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappmesh/mixins#CfnRoutePropsMixin_HttpRouteHeaderProperty |
Java | software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnRoutePropsMixin.HttpRouteHeaderProperty |
Python | aws_cdk.mixins_preview.aws_appmesh.mixins.CfnRoutePropsMixin.HttpRouteHeaderProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appmesh » mixins » CfnRoutePropsMixin » 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 { mixins as appmesh_mixins } from '@aws-cdk/mixins-preview/aws-appmesh';
const httpRouteHeaderProperty: appmesh_mixins.CfnRoutePropsMixin.HttpRouteHeaderProperty = {
invert: false,
match: {
exact: 'exact',
prefix: 'prefix',
range: {
end: 123,
start: 123,
},
regex: 'regex',
suffix: 'suffix',
},
name: 'name',
};
Properties
| Name | Type | Description |
|---|---|---|
| invert? | boolean | IResolvable | Specify True to match anything except the match criteria. |
| match? | IResolvable | Header | The HeaderMatchMethod object. |
| name? | 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.
name?
Type:
string
(optional)
A name for the HTTP header in the client request that will be matched on.

.NET
Go
Java
Python
TypeScript