interface MatchPatternProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.WAFv2.CfnLoggingConfiguration.MatchPatternProperty |
Java | software.amazon.awscdk.services.wafv2.CfnLoggingConfiguration.MatchPatternProperty |
Python | aws_cdk.aws_wafv2.CfnLoggingConfiguration.MatchPatternProperty |
TypeScript | @aws-cdk/aws-wafv2 » CfnLoggingConfiguration » MatchPatternProperty |
The patterns to look for in the JSON body.
AWS WAF inspects the results of these pattern matches against the rule inspection criteria.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as wafv2 from '@aws-cdk/aws-wafv2';
declare const all: any;
const matchPatternProperty: wafv2.CfnLoggingConfiguration.MatchPatternProperty = {
all: all,
includedPaths: ['includedPaths'],
};
Properties
Name | Type | Description |
---|---|---|
all? | any | Match all of the elements. |
included | string[] | Match only the specified include paths. |
all?
Type:
any
(optional)
Match all of the elements.
You must specify either this setting or the IncludedPaths
setting, but not both.
includedPaths?
Type:
string[]
(optional)
Match only the specified include paths.
Provide the include paths using JSON Pointer syntax. For example, "IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]
. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer .
You must specify either this setting or the All
setting, but not both.
Don't use this option to include all paths. Instead, use the
All
setting.