CloudWatchLoggingConfiguration - Amazon Athena
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).

CloudWatchLoggingConfiguration

Configuration settings for delivering logs to Amazon CloudWatch log groups.

Contents

Enabled

Enables CloudWatch logging.

Type: Boolean

Required: Yes

LogGroup

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 512.

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

Required: No

LogStreamNamePrefix

Prefix for the CloudWatch log stream name.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 512.

Pattern: ^[^:*]*$

Required: No

LogTypes

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

Type: String to array of strings map

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: