AWS S3

The AWS S3 connector stores files/assets in AWS buckets that you can retrieve later. For example, consider a scenario where you create an entry in the Contentstack CMS. You can create a trigger that activates when you create a new entry and the backup of the created entry gets stored in the AWS bucket.

Set Up AWS S3 Connector

Perform the following steps to set up the AWS S3 action connector:

  1. In the Configure Action section, click on the AWS S3 connector.
    1.Select_AWS_S3_Connector.png
  2. Select the Create New Object action. This action lets you create a new entry in AWS S3.
    2.Select_Create_New_Object_Action.png
  3. In the Configure Action tab, click on + Add New Account to add your AWS account.
  4. Provide a Title, enter the Access Key, Secret Key, and the Region details and click on Authorize.
    4.S3_Authorize_Modal.png
  5. To generate an Access Key and a Secret Key, log in to your AWS account and perform the following steps:

    1. Under “User Settings,” select Security Credentials.
    2. Click on the Access keys dropdown to Create New Access Key.
      4.Generate_Access_Key.png

      Additional Resource: For more information, refer to the Managing access keys for IAM users document.

  6. You can select the AWS Bucket name from the LOOKUP list that appears when you click on the textbox. The lookup drop-down loads the buckets already defined and present in your AWS account.
    5.Select_AWS_Bucket_Name.png
  7. Enter the File Name (for example, File01) or/and any value from the values list.
    6.Enter_File_Name.png
  8. Enter the required text for the Content field or/and any value from the values list. Then, click on Proceed to continue.
    7.Add_Content.png
  9. Now, click on Test Action to test the configured action.
    8.Click_Test_Action.png
  10. Log into your AWS account and see the list of assets in the bucket. In the AWS account’s bucket, you can see the created file.
    9.Check_Assets_Lists.png
  11. Download the file and open it. You can see the content stored in the file.
    10.Download_File.png

This sets up your AWS S3 action connector.

Was this article helpful?

Thanks for your feedbackSmile-icon

On This Page

^