AWS::Athena::WorkGroup CloudWatchLoggingConfiguration - 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::Athena::WorkGroup CloudWatchLoggingConfiguration

Configuration settings for delivering logs to Amazon CloudWatch log groups.

Syntax

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

JSON

{ "Enabled" : Boolean, "LogGroup" : String, "LogStreamNamePrefix" : String, "LogTypes" : {Key: Value, ...} }

YAML

Enabled: Boolean LogGroup: String LogStreamNamePrefix: String LogTypes: Key: Value

Properties

Enabled

Enables CloudWatch logging.

Required: No

Type: Boolean

Update requires: No interruption

LogGroup

The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.

Required: No

Type: String

Pattern: ^[a-zA-Z0-9._/-]+$

Minimum: 1

Maximum: 512

Update requires: No interruption

LogStreamNamePrefix

Prefix for the CloudWatch log stream name.

Required: No

Type: String

Pattern: ^[^:*]*$

Minimum: 1

Maximum: 512

Update requires: No interruption

LogTypes

The types of logs that you want to publish to CloudWatch.

Required: No

Type: Object of Array

Pattern: ^.+$

Update requires: No interruption