aws-cdk-lib.aws_vpclattice.CfnRule.PathMatchProperty

interface PathMatchProperty

LanguageType name
.NETAmazon.CDK.AWS.VpcLattice.CfnRule.PathMatchProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsvpclattice#CfnRule_PathMatchProperty
Javasoftware.amazon.awscdk.services.vpclattice.CfnRule.PathMatchProperty
Pythonaws_cdk.aws_vpclattice.CfnRule.PathMatchProperty
TypeScript aws-cdk-lib » aws_vpclattice » CfnRule » PathMatchProperty

Describes the conditions that can be applied when matching a path for incoming requests.

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 pathMatchProperty: vpclattice.CfnRule.PathMatchProperty = {
  match: {
    exact: 'exact',
    prefix: 'prefix',
  },

  // the properties below are optional
  caseSensitive: false,
};

Properties

NameTypeDescription
matchIResolvable | PathMatchTypePropertyThe type of path match.
caseSensitive?boolean | IResolvableIndicates whether the match is case sensitive.

match

Type: IResolvable | PathMatchTypeProperty

The type of path match.


caseSensitive?

Type: boolean | IResolvable (optional)

Indicates whether the match is case sensitive.

Defaults to false.