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

Configuration settings for delivering logs to Amazon S3 buckets.

Syntax

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

JSON

{ "Enabled" : Boolean, "KmsKey" : String, "LogLocation" : String }

YAML

Enabled: Boolean KmsKey: String LogLocation: String

Properties

Enabled

Enables S3 log delivery.

Required: No

Type: Boolean

Update requires: No interruption

KmsKey

The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.

Required: No

Type: String

Pattern: ^arn:aws[a-z\-]*:kms:([a-z0-9\-]+):\d{12}:key/?[a-zA-Z_0-9+=,.@\-_/]+$|^arn:aws[a-z\-]*:kms:([a-z0-9\-]+):\d{12}:alias/?[a-zA-Z_0-9+=,.@\-_/]+$|^alias/[a-zA-Z0-9/_-]+$|[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}

Minimum: 1

Maximum: 2048

Update requires: No interruption

LogLocation

The Amazon S3 destination URI for log publishing.

Required: No

Type: String

Pattern: ^s3://[a-z0-9][a-z0-9\-]*[a-z0-9](/.*)?$

Maximum: 1024

Update requires: No interruption