interface MatchProperty
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.VpcLattice.CfnRule.MatchProperty | 
  Java | software.amazon.awscdk.services.vpclattice.CfnRule.MatchProperty | 
  Python | aws_cdk.aws_vpclattice.CfnRule.MatchProperty | 
  TypeScript  | @aws-cdk/aws-vpclattice » CfnRule » MatchProperty | 
Describes a rule match.
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 matchProperty: vpclattice.CfnRule.MatchProperty = {
  httpMatch: {
    headerMatches: [{
      match: {
        contains: 'contains',
        exact: 'exact',
        prefix: 'prefix',
      },
      name: 'name',
      // the properties below are optional
      caseSensitive: false,
    }],
    method: 'method',
    pathMatch: {
      match: {
        exact: 'exact',
        prefix: 'prefix',
      },
      // the properties below are optional
      caseSensitive: false,
    },
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| http | IResolvable | Http | The HTTP criteria that a rule must match. | 
httpMatch
Type:
IResolvable | Http
The HTTP criteria that a rule must match.

 .NET
 Java
 Python
 TypeScript