This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Athena::WorkGroup CloudWatchLoggingConfiguration
Configuration settings for delivering logs to Amazon CloudWatch log groups.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "Enabled" :Boolean, "LogGroup" :String, "LogStreamNamePrefix" :String, "LogTypes" :{}Key:Value, ...}
YAML
Enabled:BooleanLogGroup:StringLogStreamNamePrefix:StringLogTypes: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:
1Maximum:
512Update requires: No interruption
LogStreamNamePrefix-
Prefix for the CloudWatch log stream name.
Required: No
Type: String
Pattern:
^[^:*]*$Minimum:
1Maximum:
512Update 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