moveAwsS3Object
Processor that moves an object between two AWS S3 buckets.
The processor performs a move operation as a two-step process of copying the object to the target bucket, followed by deleting the source object.
The object key is specified as a string payload, or as an expression. If the processor succeeds the output payload is empty.
The copy operation will fetch the source object etag and use the if-match parameter to ensure that only one concurrent copy will succeed. The user can configure failure modes for either step, to determine if a missing source key produces an error, or if a source object deletion failure produces an error.
The maximum object size is 5GB! |
Properties
Name | Summary |
---|---|
|
Adds a property from the object’s metadata to a list to convert into message exchange properties. If an exchange property with the same name already exists, it will be replaced. |
|
The storage bucket name the object will be read from. Required. |
|
The storage bucket name the object will be written to. Required. |
|
A secret key that the server uses to look up the credentials needed to perform the AWS authentication. Required. |
|
Override base URL of the AWS S3 endpoint. Optional. The base URL is automatically detected when interacting with AWS S3, so it’s not necessary to configure it in most of the cases. However, it could be relevant in the following situations:
It is required when running against S3 API services other than AWS, for example MinIO. Important: Endpoint URL must not specify bucket name as path parameter. Instead, the required |
|
Region name of the bucket. Optional. |
|
Optional, maximum number of retry attempts the S3 client can perform before failing the request. This option only affects the producer and not the regular flow redelivery mechanism. Defaults to |
|
The delay before performing the first retry after the original request has failed. Optional. |
|
Optional, maximum time to wait between retries. An exponential mechanism is used to calculate the next delay between retries. |
|
Key used to look up secret with SSL credentials for server and client authentication. Parameter allowCertificateAssociatedWithWrongHost is ignored on this processor. If using custom trust store, you must provide endpointUrl. Optional. |
|
Optional expression used to determine the key of the object to obtain from storage. If this is not set, the payload will be converted to a string and used as the key. |
|
Retain the processor input payload after successful processing, copying the payload to the processor output makes it available for processing in downstream processors. Optional and defaults to |
|
Do not fail if the object does not exist in the source bucket. Optional and defaults to |
|
Do not fail the processor execution if the source bucket object cannot be deleted. Optional and defaults to |
|
The timeout of the HTTP client socket connection. Optional. |
|
The socket timeout to wait for the first byte of response from the server. Optional. |
|
Optional, descriptive name for the processor. |
|
Required identifier of the processor, unique across all processors within the flow. Must be between 3 and 30 characters long; contain only lower and uppercase alphabetical characters (a-z and A-Z), numbers, dashes ("-"), and underscores ("_"); and start with an alphabetical character. In other words, it adheres to the regex pattern |
|
Optional set of custom properties in a simple jdk-format, that are added to the message exchange properties before processing the incoming payload. Any existing properties with the same name will be replaced by properties defined here. |
|
Whether the incoming payload is available for error processing on failure. Defaults to |
Sub-builders
Name | Summary |
---|---|
Strategy for describing the external system integration. Optional. |
|
Strategy for configuring the processor’s circuit breaker. Optional. |
|
Strategy for describing how a processor’s message is logged on the server. |
|
Strategy for archiving payloads. |
|
Strategy that customizes the conversion of an incoming payload by a processor (e.g., string to object). Should be used when the processor’s default conversion logic cannot be used. |
Details
Authentication
The authenticationConfigKey
property supports secrets of type AwsCredentials.
See the Secret Types documentation for formatting details.