public static interface CfnWebACL.JsonMatchPatternProperty
AWS WAF inspects the results of these pattern matches against the rule inspection criteria. This is used with the FieldToMatch
option JsonBody
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.wafv2.*; Object all; JsonMatchPatternProperty jsonMatchPatternProperty = JsonMatchPatternProperty.builder() .all(all) .includedPaths(List.of("includedPaths")) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnWebACL.JsonMatchPatternProperty.Builder
A builder for
CfnWebACL.JsonMatchPatternProperty |
static class |
CfnWebACL.JsonMatchPatternProperty.Jsii$Proxy
An implementation for
CfnWebACL.JsonMatchPatternProperty |
Modifier and Type | Method and Description |
---|---|
static CfnWebACL.JsonMatchPatternProperty.Builder |
builder() |
default java.lang.Object |
getAll()
Match all of the elements.
|
default java.util.List<java.lang.String> |
getIncludedPaths()
Match only the specified include paths.
|
default java.lang.Object getAll()
You must specify either this setting or the IncludedPaths
setting, but not both.
default java.util.List<java.lang.String> getIncludedPaths()
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.
static CfnWebACL.JsonMatchPatternProperty.Builder builder()