Interface CfnTelemetryRule.FieldToMatchProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTelemetryRule.FieldToMatchProperty.Jsii$Proxy
- Enclosing class:
CfnTelemetryRule
@Stability(Stable)
public static interface CfnTelemetryRule.FieldToMatchProperty
extends software.amazon.jsii.JsiiSerializable
Specifies a field in the request to redact from WAF logs, such as headers, query parameters, or body content.
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.*;
FieldToMatchProperty fieldToMatchProperty = FieldToMatchProperty.builder()
.method("method")
.queryString("queryString")
.singleHeader(SingleHeaderProperty.builder()
.name("name")
.build())
.uriPath("uriPath")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTelemetryRule.FieldToMatchPropertystatic final classAn implementation forCfnTelemetryRule.FieldToMatchProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMethod
Redacts the HTTP method from WAF logs.- See Also:
-
getQueryString
Redacts the entire query string from WAF logs.- See Also:
-
getSingleHeader
Redacts a specific header field by name from WAF logs.Returns union: either
IResolvableorCfnTelemetryRule.SingleHeaderProperty- See Also:
-
getUriPath
Redacts the URI path from WAF logs.- See Also:
-
builder
-