Skip to content

Amazon Simple Storage Service (S3) is an object storage service. Tenzir can treat it like a local filesystem to read and write files.

AmazonS3

Use from_s3 to read files from S3. It supports glob patterns, automatic format detection, and IAM role assumption. For writing, use save_s3 with a print operator.

Follow the standard configuration instructions to authenticate with your AWS credentials.

from_s3 "s3://my-bucket/path/to/file.json.gz"
from_s3 "s3://my-bucket/logs/**.json"
from {foo: 42}
print_json
compress_gzip
save_s3 "s3://my-bucket/path/to/file.json.gz"

Last updated: