Skip to main content

S3 Write

The S3 Write activity writes data to a file in an Amazon S3 bucket, supporting multiple content types, compression, and encryption.

info

Ensure the IAM user or role has s3:PutObject permission on the target bucket.

Configuring the S3 Write Activity

To configure the S3 Write activity, fill in the required fields in the activity panel.

Configuration

FieldRequiredDescriptionExample
NameRequiredSpecify the name for this activity.MyActivity
DescriptionOptionalSpecify the description for this activity.Reads a file from S3
ResourceOptionalDrag and drop an S3 Connection resource from the workspace.
S3 Auth ContextOptionalAuthorization context to use for connecting to S3.
Bucket NameOptionalS3 bucket name.my-data-bucket
File PathOptionalPath to the file. (mapping supported)data/reports/2024/report.csv
File NameOptionalFile name including extension. (mapping supported)report-2024.csv

Advanced

FieldRequiredDescriptionExample
Encryption TypeOptionalEncryption type to apply when writing the file. Options: NONE, PGP.NONE, PGP
Encryption ResourceOptionalDrag and drop a certificate for encryption/decryption.
Content TypeOptionalFormat of the file content to be written. Options: CSV, JSON, XML, TEXT, BINARY.CSV, JSON, XML
Compression TypeOptionalCompression applied when writing the file. Options: NONE, ZIP, GZIP.NONE, ZIP, GZIP
Create Directory If Not ExistsOptionalCreate directory if it does not exist.
OverwriteOptionalOverwrite if file already exists.

Input

FieldRequiredData TypeDescriptionExample
Bucket NameOptionalStringS3 bucket name.
File PathOptionalStringFile path.data/reports/2024/report.csv
File NameOptionalStringFile name.report-2024.csv
Create BucketOptionalBooleanWhen true, create bucket if not exists.
OverwriteOptionalBooleanWhen true, overwrite if exists.
ContentOptionalObjectData content.

Output

FieldRequiredData TypeDescriptionExample
Bucket NameOptionalStringS3 bucket name.
File PathOptionalStringFile path.data/reports/2024/report.csv
File NameOptionalStringFile name.report-2024.csv
Content LengthOptionalNumberContent size in bytes.0