class CfnWebACLTokenLogs
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.WAFv2.Mixins.CfnWebACLTokenLogs |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awswafv2/mixins#CfnWebACLTokenLogs |
Java | software.amazon.awscdk.mixins.preview.services.wafv2.mixins.CfnWebACLTokenLogs |
Python | aws_cdk.mixins_preview.aws_wafv2.mixins.CfnWebACLTokenLogs |
TypeScript | @aws-cdk/mixins-preview » aws_wafv2 » mixins » CfnWebACLTokenLogs |
Builder for CfnWebACLLogsMixin to generate TOKEN_LOGS for CfnWebACL.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as wafv2_mixins } from '@aws-cdk/mixins-preview/aws-wafv2';
const cfnWebACLTokenLogs = new wafv2_mixins.CfnWebACLTokenLogs();
Initializer
new CfnWebACLTokenLogs()
Methods
| Name | Description |
|---|---|
| to | Delivers logs to a pre-created delivery destination. |
| to | Send logs to a Firehose Delivery Stream. |
| to | Send logs to a CloudWatch Log Group. |
| to | Send logs to an S3 Bucket. |
toDestination(destination)
public toDestination(destination: IDeliveryDestinationRef): CfnWebACLLogsMixin
Parameters
- destination
IDeliveryDestination Ref
Returns
Delivers logs to a pre-created delivery destination.
Supported destinations are S3, CWL, FH You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you. Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
toFirehose(deliveryStream, props?)
public toFirehose(deliveryStream: IDeliveryStreamRef, props?: CfnWebACLTokenLogsFirehoseProps): CfnWebACLLogsMixin
Parameters
- deliveryStream
IDeliveryStream Ref - props
Cfn— Additional properties that are optionally used in log delivery for Firehose destinations.Web ACLToken Logs Firehose Props
Returns
Send logs to a Firehose Delivery Stream.
toLogGroup(logGroup, props?)
public toLogGroup(logGroup: ILogGroupRef, props?: CfnWebACLTokenLogsLogGroupProps): CfnWebACLLogsMixin
Parameters
- logGroup
ILogGroup Ref - props
Cfn— Additional properties that are optionally used in log delivery for Log Group destinations.Web ACLToken Logs Log Group Props
Returns
Send logs to a CloudWatch Log Group.
toS3(bucket, props?)
public toS3(bucket: IBucketRef, props?: CfnWebACLTokenLogsS3Props): CfnWebACLLogsMixin
Parameters
- bucket
IBucketRef - props
Cfn— Additional properties that are optionally used in log delivery for S3 destinations.Web ACLToken Logs S3 Props
Returns
Send logs to an S3 Bucket.

.NET
Go
Java
Python
TypeScript