WebAclLoggingConfigurationArgs constructor
- required Input<
List< logDestinationConfigs,String> > - Input<
WebAclLoggingConfigurationLoggingFilter?> ? loggingFilter, - Input<
List< ? redactedFields,WebAclLoggingConfigurationRedactedField> ?> - Input<
String?> ? region, - required Input<
String> resourceArn,
Creates a new WebAclLoggingConfigurationArgs.
logDestinationConfigs Configuration block that allows you to associate Amazon Kinesis Data Firehose, Cloudwatch Log log group, or S3 bucket ARNs with the web ACL. Note: data firehose, log group, or bucket name must be prefixed with aws-waf-logs-, e.g. aws-waf-logs-example-firehose, aws-waf-logs-example-log-group, or aws-waf-logs-example-bucket.
loggingFilter Configuration block that specifies which web requests are kept in the logs and which are dropped. It allows filtering based on the rule action and the web request labels applied by matching rules during web ACL evaluation. For more details, refer to the Logging Filter section below.
redactedFields Configuration for parts of the request that you want to keep out of the logs. Up to 100 redactedFields blocks are supported. See Redacted Fields below for more details.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
resourceArn ARN of the web ACL that you want to associate with logDestinationConfigs.
Implementation
const WebAclLoggingConfigurationArgs({
required this.logDestinationConfigs,
this.loggingFilter,
this.redactedFields,
this.region,
required this.resourceArn,
});