CfnWebACLAccessLogs

class aws_cdk.mixins_preview.aws_wafv2.mixins.CfnWebACLAccessLogs

Bases: object

Builder for CfnWebACLLogsMixin to generate ACCESS_LOGS for CfnWebACL.

CloudformationResource:

AWS::WAFv2::WebACL

LogType:

ACCESS_LOGS

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_wafv2 import mixins as wafv2_mixins

cfn_web_aCLAccess_logs = wafv2_mixins.CfnWebACLAccessLogs()
Stability:

experimental

Methods

to_firehose(delivery_stream)

Send logs to a Firehose Delivery Stream.

Parameters:

delivery_stream (IDeliveryStreamRef)

Return type:

CfnWebACLLogsMixin

to_log_group(log_group)

Send logs to a CloudWatch Log Group.

Parameters:

log_group (ILogGroupRef)

Return type:

CfnWebACLLogsMixin

to_s3(bucket)

Send logs to an S3 Bucket.

Parameters:

bucket (IBucketRef)

Return type:

CfnWebACLLogsMixin