Interface CfnTelemetryRule.IFieldToMatchProperty
Specifies a field in the request to redact from WAF logs, such as headers, query parameters, or body content.
Namespace: Amazon.CDK.AWS.ObservabilityAdmin
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnTelemetryRule.IFieldToMatchProperty
Syntax (vb)
Public Interface CfnTelemetryRule.IFieldToMatchProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ObservabilityAdmin;
var fieldToMatchProperty = new FieldToMatchProperty {
Method = "method",
QueryString = "queryString",
SingleHeader = new SingleHeaderProperty {
Name = "name"
},
UriPath = "uriPath"
};
Synopsis
Properties
| Method | Redacts the HTTP method from WAF logs. |
| QueryString | Redacts the entire query string from WAF logs. |
| SingleHeader | Redacts a specific header field by name from WAF logs. |
| UriPath | Redacts the URI path from WAF logs. |
Properties
Method
Redacts the HTTP method from WAF logs.
string? Method { get; }
Property Value
Remarks
QueryString
Redacts the entire query string from WAF logs.
string? QueryString { get; }
Property Value
Remarks
SingleHeader
Redacts a specific header field by name from WAF logs.
object? SingleHeader { get; }
Property Value
Remarks
UriPath
Redacts the URI path from WAF logs.
string? UriPath { get; }