interface HeaderMatchProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.VpcLattice.Mixins.CfnRulePropsMixin.HeaderMatchProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsvpclattice/mixins#CfnRulePropsMixin_HeaderMatchProperty |
Java | software.amazon.awscdk.mixins.preview.services.vpclattice.mixins.CfnRulePropsMixin.HeaderMatchProperty |
Python | aws_cdk.mixins_preview.aws_vpclattice.mixins.CfnRulePropsMixin.HeaderMatchProperty |
TypeScript | @aws-cdk/mixins-preview » aws_vpclattice » mixins » CfnRulePropsMixin » HeaderMatchProperty |
Describes the constraints for a header match.
Matches incoming requests with rule based on request header value before applying rule action.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as vpclattice_mixins } from '@aws-cdk/mixins-preview/aws-vpclattice';
const headerMatchProperty: vpclattice_mixins.CfnRulePropsMixin.HeaderMatchProperty = {
caseSensitive: false,
match: {
contains: 'contains',
exact: 'exact',
prefix: 'prefix',
},
name: 'name',
};
Properties
| Name | Type | Description |
|---|---|---|
| case | boolean | IResolvable | Indicates whether the match is case sensitive. |
| match? | IResolvable | Header | The header match type. |
| name? | string | The name of the header. |
caseSensitive?
Type:
boolean | IResolvable
(optional, default: false)
Indicates whether the match is case sensitive.
match?
Type:
IResolvable | Header
(optional)
The header match type.
name?
Type:
string
(optional)
The name of the header.

.NET
Go
Java
Python
TypeScript