DeleteS3Object 2025.10.9.21

Bundle

org.apache.nifi | nifi-aws-nar

Description

Deletes a file from an Amazon S3 Bucket. If attempting to delete a file that does not exist, FlowFile is routed to success.

Tags

AWS, Amazon, Archive, Delete, S3

Input Requirement

REQUIRED

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
AWS Credentials Provider serviceThe Controller Service that is used to obtain AWS credentials provider
BucketThe S3 Bucket to interact with
Communications TimeoutThe amount of time to wait in order to establish a connection to AWS or receive data from AWS before timing out.
Custom Signer Class NameFully qualified class name of the custom signer class. The signer must implement com.amazonaws.auth. Signer interface.
Custom Signer Module LocationComma-separated list of paths to files and/or directories which contain the custom signer’s JAR file and its dependencies (if any).
Endpoint Override URLEndpoint URL to use instead of the AWS default including scheme, host, port, and path. The AWS libraries select an endpoint URL based on the AWS region, but this property overrides the selected endpoint URL, allowing use with other S3-compatible endpoints.
FullControl User ListA comma-separated list of Amazon User ID’s or E-mail addresses that specifies who should have Full Control for an object
Object KeyThe S3 Object Key to use. This is analogous to a filename for traditional file systems.
OwnerThe Amazon ID to use for the object’s owner
Read ACL User ListA comma-separated list of Amazon User ID’s or E-mail addresses that specifies who should have permissions to read the Access Control List for an object
Read Permission User ListA comma-separated list of Amazon User ID’s or E-mail addresses that specifies who should have Read Access for an object
RegionThe AWS Region to connect to.
SSL Context ServiceSpecifies an optional SSL Context Service that, if provided, will be used to create connections
Signer OverrideThe AWS S3 library uses Signature Version 4 by default but this property allows you to specify the Version 2 signer to support older S3-compatible services or even to plug in your own custom signer implementation.
VersionThe Version of the Object to delete
Write ACL User ListA comma-separated list of Amazon User ID’s or E-mail addresses that specifies who should have permissions to change the Access Control List for an object
Write Permission User ListA comma-separated list of Amazon User ID’s or E-mail addresses that specifies who should have Write Access for an object
proxy-configuration-serviceSpecifies the Proxy Configuration Controller Service to proxy network requests.

Relationships

NameDescription
failureIf the Processor is unable to process a given FlowFile, it will be routed to this Relationship.
successFlowFiles are routed to this Relationship after they have been successfully processed.

Writes attributes

NameDescription
s3.exceptionThe class name of the exception thrown during processor execution
s3.additionalDetailsThe S3 supplied detail from the failed operation
s3.statusCodeThe HTTP error code (if available) from the failed operation
s3.errorCodeThe S3 moniker of the failed operation
s3.errorMessageThe S3 exception message from the failed operation

See also