@Stability(value=Stable)
public static interface CfnLoggingConfiguration.FieldToMatchProperty
extends software.amazon.jsii.JsiiSerializable
For example, if you redact the SingleHeader field, the HEADER field in the firehose will be xxx .
JSON specification for a QueryString field to match:
"FieldToMatch": { "QueryString": {} }
Example JSON for a Method field to match specification:
"FieldToMatch": { "Method": { "Name": "DELETE" } }
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 jsonBody;
Object method;
Object queryString;
Object singleHeader;
Object uriPath;
FieldToMatchProperty fieldToMatchProperty = FieldToMatchProperty.builder()
.jsonBody(jsonBody)
.method(method)
.queryString(queryString)
.singleHeader(singleHeader)
.uriPath(uriPath)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLoggingConfiguration.FieldToMatchProperty.Builder
A builder for
CfnLoggingConfiguration.FieldToMatchProperty |
static class |
CfnLoggingConfiguration.FieldToMatchProperty.Jsii$Proxy
An implementation for
CfnLoggingConfiguration.FieldToMatchProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLoggingConfiguration.FieldToMatchProperty.Builder |
builder() |
default Object |
getJsonBody()
Redact the JSON body from the logs.
|
default Object |
getMethod()
Redact the method from the logs.
|
default Object |
getQueryString()
Redact the query string from the logs.
|
default Object |
getSingleHeader()
Redact the header from the logs.
|
default Object |
getUriPath()
Redact the URI path from the logs.
|
@Stability(value=Stable) @Nullable default Object getJsonBody()
@Stability(value=Stable) @Nullable default Object getMethod()
@Stability(value=Stable) @Nullable default Object getQueryString()
@Stability(value=Stable) @Nullable default Object getSingleHeader()
@Stability(value=Stable) @Nullable default Object getUriPath()
@Stability(value=Stable) static CfnLoggingConfiguration.FieldToMatchProperty.Builder builder()
Copyright © 2022. All rights reserved.