View a markdown version of this page

S3BucketDestination - Amazon S3

S3BucketDestination

A general purpose bucket that S3 Storage Lens exports daily metrics files to. The bucket policy must allow S3 Storage Lens for Tables to write the export files to the bucket.

Contents

accountId

The ID of the account that owns the bucket.

Type: String

Length Constraints: Fixed length of 12.

Pattern: [0-9].*

Required: Yes

arn

The Amazon Resource Name (ARN) of the bucket, such as arn:aws:s3:::amzn-s3-demo-bucket.

Type: String

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

Pattern: arn:aws[-a-z0-9]*:s3[a-z]*:[-a-z0-9]*:([0-9]{12})?:.+

Required: Yes

format

The format of the export files.

Type: String

Valid Values: CSV | Parquet

Required: Yes

outputSchemaVersion

The schema version of the export files.

Type: String

Valid Values: V_1

Required: Yes

encryption

The server-side encryption for the export files. To use SSE-KMS, set sseAlgorithm to aws:kms and specify kmsKeyArn. The KMS key must be in the same Region as the configuration.

Type: EncryptionConfiguration object

Required: No

prefix

The prefix in the bucket where S3 Storage Lens delivers the export files.

Type: String

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

Required: No

See Also

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