Skip to main content

S3 Delete

The S3 Delete activity deletes a specified file from an Amazon S3 bucket.

info

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

Configuring the S3 Delete Activity

To configure the S3 Delete 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

Input

FieldRequiredData TypeDescriptionExample
Bucket NameOptionalStringS3 bucket name.
File PathOptionalStringFile path.data/reports/2024/report.csv
File NameOptionalStringFile name.report-2024.csv

Output

FieldRequiredData TypeDescriptionExample
DeletedOptionalBooleanIndicates whether the blob was successfully deleted.
File PathOptionalStringThe path within the container where the blob was located.data/reports/2024/report.csv
File NameOptionalStringThe name of the blob that was deleted.report-2024.csv
Bucket NameOptionalStringThe name of the blob that was deleted.
Content LengthOptionalNumberThe size of the blob content in bytes before deletion.0
Last ModifiedOptionalStringThe timestamp when the blob was last modified before deletion.