Interface CfnTelemetryRule.WAFLoggingParametersProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTelemetryRule.WAFLoggingParametersProperty.Jsii$Proxy
- Enclosing class:
CfnTelemetryRule
@Stability(Stable)
public static interface CfnTelemetryRule.WAFLoggingParametersProperty
extends software.amazon.jsii.JsiiSerializable
Configuration parameters for WAF logging, including redacted fields and logging filters.
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.observabilityadmin.*;
WAFLoggingParametersProperty wAFLoggingParametersProperty = WAFLoggingParametersProperty.builder()
.loggingFilter(LoggingFilterProperty.builder()
.defaultBehavior("defaultBehavior")
.filters(List.of(FilterProperty.builder()
.behavior("behavior")
.conditions(List.of(ConditionProperty.builder()
.actionCondition(ActionConditionProperty.builder()
.action("action")
.build())
.labelNameCondition(LabelNameConditionProperty.builder()
.labelName("labelName")
.build())
.build()))
.requirement("requirement")
.build()))
.build())
.logType("logType")
.redactedFields(List.of(FieldToMatchProperty.builder()
.method("method")
.queryString("queryString")
.singleHeader(SingleHeaderProperty.builder()
.name("name")
.build())
.uriPath("uriPath")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTelemetryRule.WAFLoggingParametersPropertystatic final classAn implementation forCfnTelemetryRule.WAFLoggingParametersProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA filter configuration that determines which WAF log records to include or exclude.default StringThe type of WAF logs to collect (currently supports WAF_LOGS).default ObjectThe fields to redact from WAF logs to protect sensitive information.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLoggingFilter
A filter configuration that determines which WAF log records to include or exclude.Returns union: either
IResolvableorCfnTelemetryRule.LoggingFilterProperty- See Also:
-
getLogType
The type of WAF logs to collect (currently supports WAF_LOGS).- See Also:
-
getRedactedFields
The fields to redact from WAF logs to protect sensitive information.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTelemetryRule.FieldToMatchProperty>- See Also:
-
builder
-