interface HeaderMatchProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.VpcLattice.CfnRule.HeaderMatchProperty |
Java | software.amazon.awscdk.services.vpclattice.CfnRule.HeaderMatchProperty |
Python | aws_cdk.aws_vpclattice.CfnRule.HeaderMatchProperty |
TypeScript | @aws-cdk/aws-vpclattice » CfnRule » 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 * as vpclattice from '@aws-cdk/aws-vpclattice';
const headerMatchProperty: vpclattice.CfnRule.HeaderMatchProperty = {
match: {
contains: 'contains',
exact: 'exact',
prefix: 'prefix',
},
name: 'name',
// the properties below are optional
caseSensitive: false,
};
Properties
Name | Type | Description |
---|---|---|
match | IResolvable | Header | The header match type. |
name | string | The name of the header. |
case | boolean | IResolvable | Indicates whether the match is case sensitive. |
match
Type:
IResolvable
|
Header
The header match type.
name
Type:
string
The name of the header.
caseSensitive?
Type:
boolean |
IResolvable
(optional)
Indicates whether the match is case sensitive.
Defaults to false.