AwsWafv2WebAclLoggingArgs

interface AwsWafv2WebAclLoggingArgs { enabled?: boolean; loggingFilter?: Input<WebAclLoggingConfigurationLoggingFilter | undefined>; redactedFields?: Input<Input<WebAclLoggingConfigurationRedactedField>[] | undefined>; }

Logging arguments for the WAFv2 web ACL capability.

Remarks

Log destinations are managed internally by this component and always target a dedicated CloudWatch log group.


Properties

enabled: boolean

Whether logging configuration should be created. Defaults to true.

loggingFilter: Input<WebAclLoggingConfigurationLoggingFilter | undefined>

Optional logging filter override. Defaults to keeping only BLOCK actions.

redactedFields: Input<Input<WebAclLoggingConfigurationRedactedField>[] | undefined>

Optional redacted fields passed to the logging configuration.