aws-cdk-lib.aws_vpclattice.CfnRule.HeaderMatchTypeProperty

interface HeaderMatchTypeProperty

LanguageType name
.NETAmazon.CDK.AWS.VpcLattice.CfnRule.HeaderMatchTypeProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsvpclattice#CfnRule_HeaderMatchTypeProperty
Javasoftware.amazon.awscdk.services.vpclattice.CfnRule.HeaderMatchTypeProperty
Pythonaws_cdk.aws_vpclattice.CfnRule.HeaderMatchTypeProperty
TypeScript aws-cdk-lib » 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 { aws_vpclattice as vpclattice } from 'aws-cdk-lib';
const headerMatchTypeProperty: vpclattice.CfnRule.HeaderMatchTypeProperty = {
  contains: 'contains',
  exact: 'exact',
  prefix: 'prefix',
};

Properties

NameTypeDescription
contains?stringSpecifies a contains type match.
exact?stringSpecifies an exact type match.
prefix?stringSpecifies 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.