View a markdown version of this page

AWS::WAFv2::WebACL AnalyticsConfig - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::WAFv2::WebACL AnalyticsConfig

Specifies the security analytics configuration for the web ACL. Security analytics shows the web ACL's request log data from multiple Amazon Regions in a single dashboard in the Amazon WAF console.

When you enable security analytics, you authorize Amazon to transfer and store full request logs outside the Amazon Region where the web ACL is hosted. For regional web ACLs, security analytics is disabled by default when you omit this configuration. For web ACLs that protect CloudFront distributions (global web ACLs), security analytics is enabled by default. For more information, see Enabling security analytics for a protection pack (web ACL) in the Amazon WAF Developer Guide.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Mode" : String }

YAML

Mode: String

Properties

Mode

The security analytics mode for the web ACL. Valid values:

  • CROSS_REGION - Enables security analytics. Amazon WAF transfers and stores the web ACL's request logs outside the Amazon Region where the web ACL is hosted, for aggregation and processing.

  • DISABLED - Disables security analytics. Amazon WAF stops transferring the web ACL's request logs.

Required: Yes

Type: String

Allowed values: CROSS_REGION | DISABLED

Update requires: No interruption