Skip to content
v2.273.0

PathMatchTypeProperty Struct ​

Describes a path match type.

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

Example ​

ts
// 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 ​

exactstringexactstrexactStringExactstringExact*string#
An exact match of the path.
prefixstringprefixstrprefixStringPrefixstringPrefix*string#
A prefix match of the path.