View a markdown version of this page

LoggingEnabled - Amazon S3

LoggingEnabled

Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys for a table bucket.

Contents

targetBucket

The name of the general purpose bucket that logs are delivered to. The bucket must be in the same AWS Region and owned by the same AWS account as the table bucket. The bucket can't use SSE-KMS or DSSE-KMS default encryption, can't have S3 Object Lock enabled, and can't have Requester Pays enabled. You can deliver logs from multiple table buckets to the same target bucket. In this case, choose a different targetPrefix for each table bucket so that you can tell their log objects apart.

Type: String

Length Constraints: Minimum length of 3. Maximum length of 63.

Required: Yes

targetObjectKeyFormat

The key format of the log objects. Log object keys are always partitioned by date.

Type: TargetObjectKeyFormat object

Required: Yes

targetPrefix

The prefix for the keys of the log objects that are delivered to the target bucket.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Required: Yes

See Also

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