aws-cdk-lib.aws_vpclattice.CfnRule.PathMatchTypeProperty

interface PathMatchTypeProperty

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

Describes a path match type.

Each rule can include only one of the following types of paths.

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 pathMatchTypeProperty: vpclattice.CfnRule.PathMatchTypeProperty = {
  exact: 'exact',
  prefix: 'prefix',
};

Properties

NameTypeDescription
exact?stringAn exact match of the path.
prefix?stringA prefix match of the path.

exact?

Type: string (optional)

An exact match of the path.


prefix?

Type: string (optional)

A prefix match of the path.