Interface CfnLoggingConfigurationPropsMixin.FieldToMatchProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLoggingConfigurationPropsMixin.FieldToMatchProperty.Jsii$Proxy
- Enclosing class:
CfnLoggingConfigurationPropsMixin
@Stability(Stable)
public static interface CfnLoggingConfigurationPropsMixin.FieldToMatchProperty
extends software.amazon.jsii.JsiiSerializable
The parts of the request that you want to keep out of the logs.
This is used in the logging configuration RedactedFields specification.
Example JSON 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.cfnpropertymixins.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLoggingConfigurationPropsMixin.FieldToMatchPropertystatic final classAn implementation forCfnLoggingConfigurationPropsMixin.FieldToMatchProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getJsonBody
- See Also:
-
getMethod
Redact the indicated HTTP method.The method indicates the type of operation that the request is asking the origin to perform.
- See Also:
-
getQueryString
Redact the query string.This is the part of a URL that appears after a
?character, if any.- See Also:
-
getSingleHeader
Redact a single header.Provide the name of the header to inspect, for example,
User-AgentorReferer. This setting isn't case sensitive.Example JSON:
"SingleHeader": { "Name": "haystack" }- See Also:
-
getUriPath
Redact the request URI path.This is the part of the web request that identifies a resource, for example,
/images/daily-ad.jpg.- See Also:
-
builder
-