Interface CfnTelemetryRulePropsMixin.IWAFLoggingParametersProperty
Configuration parameters for WAF logging, including redacted fields and logging filters.
Namespace: Amazon.CDK.Mixins.Preview.AWS.ObservabilityAdmin.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnTelemetryRulePropsMixin.IWAFLoggingParametersProperty
Syntax (vb)
Public Interface CfnTelemetryRulePropsMixin.IWAFLoggingParametersProperty
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.Mixins.Preview.AWS.ObservabilityAdmin.Mixins;
var wAFLoggingParametersProperty = new WAFLoggingParametersProperty {
LoggingFilter = new LoggingFilterProperty {
DefaultBehavior = "defaultBehavior",
Filters = new [] { new FilterProperty {
Behavior = "behavior",
Conditions = new [] { new ConditionProperty {
ActionCondition = new ActionConditionProperty {
Action = "action"
},
LabelNameCondition = new LabelNameConditionProperty {
LabelName = "labelName"
}
} },
Requirement = "requirement"
} }
},
LogType = "logType",
RedactedFields = new [] { new FieldToMatchProperty {
Method = "method",
QueryString = "queryString",
SingleHeader = new SingleHeaderProperty {
Name = "name"
},
UriPath = "uriPath"
} }
};
Synopsis
Properties
| LogType | The type of WAF logs to collect (currently supports WAF_LOGS). |
| LoggingFilter | A filter configuration that determines which WAF log records to include or exclude. |
| RedactedFields | The fields to redact from WAF logs to protect sensitive information. |
Properties
LogType
The type of WAF logs to collect (currently supports WAF_LOGS).
string? LogType { get; }
Property Value
Remarks
LoggingFilter
A filter configuration that determines which WAF log records to include or exclude.
object? LoggingFilter { get; }
Property Value
Remarks
RedactedFields
The fields to redact from WAF logs to protect sensitive information.
object? RedactedFields { get; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnTelemetryRulePropsMixin.IFieldToMatchProperty)[]