Amazon S3: Upload File
Description
This step uploads a local file to a specified S3 bucket. You can rename the file using a key name, place it in a folder by including the folder path in the key, and choose a storage class (such as Standard, Glacier, or Intelligent-Tiering). You can also set access control permissions for the uploaded file. Use this step in workflows that back up local files to the cloud, publish generated reports to S3, or transfer data between local systems and cloud storage.
Permission
To create or upload an object, the user must have write permission on the bucket.
Reference
Configurations
| Field Name | Description |
|---|---|
| Step Name | Specify a unique name for the step. |
| Connection tab: | For the Amazone S3 connection fields details, click Common Tab: Connection Fields |
| Input fields | |
| Bucket Name | Specify the name of the S3 bucket to create/upload an object. The data type is string. The field is mandatory. |
| Get | Click the button to populate the list of available Buckets. |
| Local File Path | Specify the file path on the local machine to be created/uploaded on the Amazon S3 bucket. The data type is string. The field is mandatory. |
| Browse | To browse the file path to create a file in the Amazon S3 bucket. |
| Key Name | This field is used to Rename a file. The file will be stored in an Amazon S3 bucket with the name given in this field. The data type is string. The field is mandatory. Notes: - The Key Name field is used to rename a file. The file will be stored in an Amazon S3 bucket with the name given in this field. - To store the file in a folder, specify the folder name with delimiter “/”. Example: “foldername/filename.extension”. - If the given folder does not exist on the bucket, it will be created. - If the file name is not given in Key Name, it will take the default file name and create an object with that name. - Provide valid file extension, same as the extension of File, given in the “Local File Path” field. - Key name does not support consecutive forward slashes (//). |
| ADDITIONAL INPUT tab: | Additional Input fields |
| Storage Class | The storage class to assign to the object. Allowed Values: ''STANDARD'', ''STANDARD_IA'', ''ONEZONE_IA'', ''REDUCED_REDUNDANCY'', ''INTELLIGENT_TIERING'', ''GLACIER'', ''DEEP_ARCHIVE''. Default value: STANDARD. |
| Access Control List | Specify an Access Control List. The Access Control List determines user permissions for the uploaded file. It enables the owner to grant required permissions to other AWS accounts. Allowed Values: ''Private'', ''PublicRead'', ''PublicReadWrite'', ''AwsExecRead'', ''AuthenticatedRead'', ''BucketOwnerFullControl'', ''BucketOwnerRead'', ''LogDeliveryWrite'' Default value: Private |
| OUTPUT tab: | Output fields |
| Object URL | Specify the output variable name in the field. The default output variable name: ObjectURL. An object URL is generated by an AWS user who has access to the object. The generated URL is then given to the user without making the bucket private. |