Skip to content

InputS3Configuration

Structure Class

InputS3Configuration dataclass

Bases: _SerdeShape

Contains the Amazon S3 location and format settings for bulk operation input. The S3Bucket and InputFormat fields are required.

Attributes

input_compression_type class-attribute instance-attribute
input_compression_type: str | None = ...

The compression type of the input objects. Valid values are GZIP, ZSTD, and NONE. If you don't specify a value, DynamoDB uses NONE.

input_format instance-attribute
input_format: str

The format of the input objects. DYNAMODB_JSON uses JSON Lines, with one JSON record per line. ION uses a sequence of Ion structs.

s3_bucket instance-attribute
s3_bucket: str

The name of the Amazon S3 bucket that contains the input objects.

s3_bucket_owner class-attribute instance-attribute
s3_bucket_owner: str | None = ...

The Amazon Web Services account ID of the input bucket owner. If you omit this value, DynamoDB uses the Amazon Web Services account ID of the requester.

Note

S3BucketOwner is required when the bucket is owned by another Amazon Web Services account.

s3_key_prefix class-attribute instance-attribute
s3_key_prefix: str | None = ...

An optional key prefix that limits the input to matching objects in the Amazon S3 bucket.