S3LoggingConfiguration - Amazon Athena
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

S3LoggingConfiguration

Configuration settings for delivering logs to Amazon S3 buckets.

Contents

Enabled

Enables S3 log delivery.

Type: Boolean

Required: Yes

KmsKey

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

Type: String

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

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}

Required: No

LogLocation

The Amazon S3 destination URI for log publishing.

Type: String

Length Constraints: Maximum length of 1024.

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

Required: No

See Also

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