interface HeaderMatchTypeProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.VpcLattice.CfnRule.HeaderMatchTypeProperty |
Java | software.amazon.awscdk.services.vpclattice.CfnRule.HeaderMatchTypeProperty |
Python | aws_cdk.aws_vpclattice.CfnRule.HeaderMatchTypeProperty |
TypeScript | @aws-cdk/aws-vpclattice » CfnRule » HeaderMatchTypeProperty |
Describes a header match type.
Only one can be provided.
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 headerMatchTypeProperty: vpclattice.CfnRule.HeaderMatchTypeProperty = {
contains: 'contains',
exact: 'exact',
prefix: 'prefix',
};
Properties
Name | Type | Description |
---|---|---|
contains? | string | Specifies a contains type match. |
exact? | string | Specifies an exact type match. |
prefix? | string | Specifies a prefix type match. |
contains?
Type:
string
(optional)
Specifies a contains type match.
exact?
Type:
string
(optional)
Specifies an exact type match.
prefix?
Type:
string
(optional)
Specifies a prefix type match.
Matches the value with the prefix.