interface MatchProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.VpcLattice.Mixins.CfnRulePropsMixin.MatchProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsvpclattice/mixins#CfnRulePropsMixin_MatchProperty |
Java | software.amazon.awscdk.mixins.preview.services.vpclattice.mixins.CfnRulePropsMixin.MatchProperty |
Python | aws_cdk.mixins_preview.aws_vpclattice.mixins.CfnRulePropsMixin.MatchProperty |
TypeScript | @aws-cdk/mixins-preview » aws_vpclattice » mixins » CfnRulePropsMixin » 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 { mixins as vpclattice_mixins } from '@aws-cdk/mixins-preview/aws-vpclattice';
const matchProperty: vpclattice_mixins.CfnRulePropsMixin.MatchProperty = {
httpMatch: {
headerMatches: [{
caseSensitive: false,
match: {
contains: 'contains',
exact: 'exact',
prefix: 'prefix',
},
name: 'name',
}],
method: 'method',
pathMatch: {
caseSensitive: false,
match: {
exact: 'exact',
prefix: 'prefix',
},
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| http | IResolvable | Http | The HTTP criteria that a rule must match. |
httpMatch?
Type:
IResolvable | Http
(optional)
The HTTP criteria that a rule must match.

.NET
Go
Java
Python
TypeScript