interface MatchProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.VpcLattice.CfnRule.MatchProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsvpclattice#CfnRule_MatchProperty |
![]() | software.amazon.awscdk.services.vpclattice.CfnRule.MatchProperty |
![]() | aws_cdk.aws_vpclattice.CfnRule.MatchProperty |
![]() | aws-cdk-lib » 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 { aws_vpclattice as vpclattice } from 'aws-cdk-lib';
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.