Deletes files from a server using the S3 protocol.
The S3 nodes enable you to access data from AWS S3 buckets, so that you can integrate your data flows with Amazon. See:
Deleting a single file from Amazon S3
- In the Bucket property, specify the name of the AWS bucket that contains the file that you want to delete.
- In the Object property, specify the name of the AWS file that you want to delete.
Deleting multiple files from Amazon S3
- Drag an S3 List node onto the canvas and connect it to an S3 Delete node.
- In the Bucket property of the S3 List node, type the name of the AWS bucket which contains the files that you want to delete. Run the S3 List node to generate a list of files in the specified bucket.
- On the S3 Delete node, select the (from Field) variant of the Bucket property and specify the name of the input field that contains the AWS bucket name.
- Select the (from Field) variant of the Object property, then specify the name of the input field that references the files that you want to delete.
By default, authentication is based on the AWS Default Credential Provider Chain. Alternatively, you can choose to specify an AccessKey and a SecretKey, or for cross-account access (for example when your S3 bucket is located in a different account to your Data360 Analyze instance) you can use instance profiles by configuring the RoleARN and RoleSessionName properties. For more information, see https://aws.amazon.com/premiumsupport/knowledge-center/cross-account-access-s3/
Properties
Bucket
Specify the name of the AWS Bucket.
Choose the (from Field) variant of this property to look up the value from an input field with the name specified.
A value is required for this property.
Object
Specify the name of the AWS Object.
Choose the (from Field) variant of this property to look up the value from an input field with the name specified.
A value is required for this property.
AccessKey
Optionally specify the AWS Access Key.
If the Access Key is not set then the AWS default strategy will be used.
SecretKey
Optionally specify the AWS Secret Key.
RoleARN
Optionally specify the Amazon Resource Name (ARN) of the role to assume when using cross account access using Instance Profiles.
If the RoleARN (and AccessKey) are not set then authentication will fall back to the AWS Default Credential Provider Chain. For more information, see https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html.
RoleSessionName
Optionally specify the role session name used to uniquely identify a session when the same role is assumed by different principals or for different reasons.
In cross-account scenarios, the role session name is visible to, and can be logged by the account that owns the role.
Region
Optionally specify the AWS region.
If the Region is not set then the AWS default strategy will be used - see AWS documentation on DefaultAWSCredentialsProviderChain.
Endpoint
Optionally specify the URL endpoint used to connect to other system services. The default is amazonaws.com endpoint.
The URL should contain the protocol (http or https), the host, and the port.
Depending on Region entered the default value is s3.us-east-2.amazonaws.com for region us-east-2.
ProxyURL
Optionally specify the URL of the proxy server to use for requests. The URL should contain the protocol (http or https), the host, and the port. All other parts of the URL will be ignored.
The URL should be in a format similar to the following:
HTTP proxy: http://proxy.example.com:1234
HTTPS proxy: https://proxy.example.com:443
ProxyUsername
Optionally specify the proxy username, where the proxy requires authentication.
This property should be left blank if ProxyURL is not set.
ProxyPassword
Optionally specify the proxy password, where the proxy requires authentication.
This property should be left blank if ProxyURL is not set.
IgnoreSystemProxy
If proxy settings are not defined then the system proxy is automatically used. This optional property tells Data360 Analyze to ignore the system proxy when set to true.
The default value is False.
FailureBehavior
Optionally specify what to do when a file fails to download. Choose from:
- Error - Report error and stop further processing.
- Log - Log a warning message and skip the file.
- Ignore - Skip the file.
The default value is Log.
Inputs and outputs
Inputs: 1 optional.
Outputs: errors.