Presigned URL Activity
The Amazon S3 Presigned URL activity allows the object owners to share the objects for a specified duration by creating a presigned URL. For example, you can share the documents in your bucket by providing a presigned URL even though the bucket and the objects in it are private.
Settings
The Settings tab of the Presigned URL activity has the following fields:
Field | Required | Default Value | Description |
---|---|---|---|
AWS Connection Name | Yes | None | AWS connection to create the session and perform various operations. |
Operation Type | Yes | None | Select one of the following operations to generate the presigned URL:
|
Expiration Time(sec) | Yes | None | The duration (in seconds) after which the presigned URL expires |
Input
The input of the Presigned URL activity varies depending on the object operation selected on the Settings tab. The following fields are displayed for the Get, Put, and Delete object operations:
Field | Required | Default Value | Description |
---|---|---|---|
Bucket | Yes | None | Name of the bucket where the object is stored. |
Key | Yes | None | A sequence of Unicode characters serves as the identifier for the object. |
Output
The Output tab displays the output schema of the activity as a tree structure. The output is read-only. The information in the schema varies based on the fields selected on the Settings tab. The properties that are displayed in the schema correspond to the output of this activity and can be used as input by subsequent activities in the flow.
The Output tab consists of two elements:
- Output element: Displays the output schema of the activity as a tree structure.
- Error element: The error element has four attributes:
- Code - It is a string that uniquely identifies an error condition.
- Message - It contains a generic description of the error condition.
- RequestId - It is a string ID of the request associated with the error that occurs.
- StatusCode - It is the HTTP response code corresponding to the error code.
Loop
If you want this activity to iterate multiple times within the flow, enter an expression that evaluates the iteration details. Select a type of iteration from the Type menu. The default type is None, which means the activity does not iterate.