Skip to main content

Amazon S3 Component

Manage files within an Amazon (AWS) S3 bucket

Component key: aws-s3

Changelog ↓

Description

Amazon S3 is a file storage solution from Amazon Web Services. The Amazon S3 component allows you to create, read, update, move, list or delete objects (files) within an Amazon S3 bucket.

API Documentation: Amazon S3 API Reference

A common integration pattern involves listing files in a file store, and performing a series of actions on the array of files that are returned. See our looping over files quickstart for information about how to create a loop over an array of files.

Listening for file changes

You can leverage Amazon Simple Notification Service (SNS) to listen for file changes in S3. Our GitHub examples repo contains an example integration that illustrates how to listen for file changes in S3 and perform an action when a file is added or updated - you can import and try it out for yourself.

Example Integration

The example integration contains three flows:

  • Create and configure SNS topic runs when an instance is deployed and will create an SNS topic and configure it to listen for new files added to S3. It instructs SNS to notify the Receive SNS Notifications flow when a new file is added to an S3 bucket that a user selected as part of the configuration wizard.
  • Receive SNS Notifications will receive the SNS notification and extract the S3 bucket and key from the message. It will fetch the file that was added. From there, you can process or send that file to another system.
  • Remove SNS Topic will remove the SNS topic that was created in the first flow when an instance is deleted.

Streaming large files to S3

Amazon S3 offers a feature called multipart upload that allows you to upload large files in parts. This component supports multipart uploads in two ways:

  1. File Streaming: This is useful if you are looping over a paginated API and would like to stream the response to S3 as a CSV (or similar) file. This option is useful when you have a large number of records to process and you want to avoid loading all of them into memory at once (which can cause an out-of-memory error). When you use the Upload Stream actions, the component will automatically handle the multipart upload for you. Within your integration you would:

    • Run a Upload Stream - Create Stream action to create a new file stream.
    • Loop over the records you want to write to the file.
      • For each record, run a Upload Stream - Write Data action to write the record to the file stream.
    • Run a Upload Stream - Close Stream action to close the file stream and upload the file to S3.
  2. Multipart Upload: This is useful if you have a file that is already split into parts and you want to upload the parts to S3 and then join them together. Within your integration you would:

    • Run a Create Multipart Upload action to start a new multipart upload.
    • Run a Generate Presigned URL for Multipart Uploads action to generate a presigned URL for each part.
    • Run an HTTP component Post action to post each part to the presigned URL.
    • Run a Complete Multipart Upload to complete the multipart upload.

    This option requires that you manually handle the multipart upload process and abide by the restrictions that Amazon S3 imposes on multipart uploads (like each part being at least 5MB in size, with the exception of the last part).

Connections

AWS S3 Access Key and Secret

An AWS IAM access key pair is required to interact with Amazon S3. Make sure that the key pair you generate in AWS has proper permissions to the S3 resources you want to access. Read more about S3 IAM actions in the AWS docs.

To create an IAM access key pair:

  1. Sign in to the AWS Console and navigate to Identity and Access Management (IAM)
  2. Under the Access Keys section select Create access key
  3. Once created copy the Access Key and Secret access key and enter them into the connection configuration of your integration.
InputNotesExample
Access Key ID

An AWS IAM Access Key ID

AKIAIOSFODNN7EXAMPLE
Secret Access Key

An AWS IAM Secret Access Key

wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

AWS Role ARN

To enable the IAM role authentication begin by logging into the AWS Console and navigate to Identity and Access Management (IAM).

To create an ARN user and generate credentials:

  1. Navigate to Users and select Create User.
  • Provide a User name and check the box providing them user access to the AWS Management Console if needed.
  • Once completed with the User creation, copy the ARN provided in the summary for a later step.
  1. To obtain the ARN for an existing User, click on the designated username from the Users page and the ARN will be provided in the summary section.
  2. From the summary section, select Create access key
  • Select Third-party service as the access key type and select next.
  • Set a description and select create access key.
  • Copy the Access Key and Secret access key and enter those into the connection configuration of your integration along with the ARN.

To create and assign a user a role:

  1. Navigate to Roles and select Create Role.
  • Select Custom Trust Policy for the Trusted entity types
  • Copy the following statement into the statement console. Making sure to replace the ARN with the user's actual ARN from the previous section
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "ARN"
},
"Action": "sts:AssumeRole"
}
]
}
  • When adding permissions provide the AmazonS3FullAccess permission
  • Complete remaining steps and select Create Role
InputNotesExample
Access Key ID

An AWS IAM Access Key ID

AKIAIOSFODNN7EXAMPLE
External ID

Provides enhanced security measures to the connection. Optional, but recommended. Please check AWS docs for more information.

shared-common-secret
Role ARN

An AWS IAM Role ARN

arn:aws:iam::OtherAccount-ID:role/assumed-role-name
Secret Access Key

An AWS IAM Secret Access Key

wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

Triggers

Webhook

Trigger to handle SNS subscription for S3 event notifications | key: snsS3NotificationWebhook

To trigger an S3 webhook, first you need to set up event notifications by using a SNS topic subscription to receive notifications when something changes on an S3 bucket.

You can accomplish this by creating an integration flow using the next components in the same order:

Create Topic For S3 Event Notification

Use this component to create a new topic. This topic will act as a communication channel for receiving event notifications from the S3 bucket.

Update Topic Policy For S3 Event Notification

Use this component to modify the access policy of the previously created topic to grant permission to the S3 bucket to publish messages to the topic. This policy adjustment allows the S3 bucket to send event notifications to a topic.

Subscribe to Topic

Use this component to subscribe to the previously created topic. You should create another flow and include the S3 Webhook (snsS3NotificationWebhook) get the flow URL and set it as the subscription's endpoint. This endpoint represents the webhook endpoint that will be triggered when events occur in the S3 bucket. Note: S3 Webhook (snsS3NotificationWebhook) takes care of confirming the subscription.

Bucket SNS Event Trigger Configuration

Use this component to configure the S3 bucket to generate event notifications when objects within it change. Specify the desired events such as object creation, deletion, or modification that should trigger the event.

With these steps, you have established a flow where changes to objects in the S3 bucket will trigger event notifications. These notifications are published to the created topic, which then delivers them to the subscribed webhook trigger endpoint. As a result, the webhook URL is called, allowing you to process the events or perform custom actions in response to the changes in the S3 bucket.


Data Sources

Select AWS Region

Select an AWS region | key: selectRegion | type: picklist


Select Bucket

Choose a bucket from a list | key: selectBucket | type: picklist

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.


Actions

Abort Multipart Upload

Abort a multipart upload | key: abortMultipartUpload

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Object Key

An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /.

path/to/file.txt
Upload ID

Multipart upload ID

xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg

{
"data": {
"$metadata": {
"httpStatusCode": 204,
"requestId": "DZ1ZJB3H2JB1234",
"extendedRequestId": "0D9BDVoAGoHqu3dIW4WHmaO4kkiWecrbf0yLRMe/JmUfX7N/12345=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
}
}
}

Bucket SNS Event Trigger Configuration

Add events to send notifications to SNS Topic | key: bucketEventTriggerConfiguration

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Bucket Owner Account ID

Provide the AWS Account ID of the bucket owner. It can be found in the account settings of the AWS console, or can be retrieved using the 'Get Current Account' action.

012345678901
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Event Notification Name

Provide a string for the name of the event notification.

MyExampleEventNotification
Event

S3 Bucket change event type to trigger the webhook

s3:ObjectCreated:*
SNS Topic ARN

The Amazon Resource Name (ARN) of the topic.

arn:aws:sns:us-east-1:123456789012:MyExampleTopic

{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "73B4K590MABCMWV",
"extendedRequestId": "AHYlhdFxyrlbc3otaMb/gcjlmDEY+UT3xt7Vz6ZQ8F4B1234GZQSGN7D6yDV7mEC+U/1xU0pKc=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
}
}
}

Complete Multipart Upload

Complete a multipart upload | key: completeMultipartUpload

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Object Key

An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /.

path/to/file.txt
Parts

Use the List Parts action to get the list of parts. Reference the 'Parts' field from the List Parts action output at the input for this field.

Upload ID

Multipart upload ID

xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg

{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "GD4Y1XMZ6MFV1234",
"extendedRequestId": "Ego8CAUdYnt2THhZmBLnbfmTPY0HR8zA9rEMkSg+OB0t/uldGkuBlI6UF9X+123456=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"ServerSideEncryption": "AES256",
"Bucket": "bucket-name",
"ETag": "\"d96cf49f8c439501eb19c4728712345-1\"",
"Key": "image.jpg",
"Location": "https://bucketname.s3.us-east-2.amazonaws.com/image.jpg"
}
}

Copy Object

Copy an object in S3 from one location to another | key: copyObject

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

ACL Permissions

A set of canned ACL permissions to apply to the object. See https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Destination Bucket Name

An Amazon S3 'bucket' is a container where files are stored. The destination bucket indicates the bucket where you want a file to be stored. If you are copying files within a single bucket, list the same bucket as the source and destination bucket.

my-destination-bucket
Destination Key

An object in S3 is a file that is saved in a 'bucket'. This represents the destination object's key (file path). Do not include a leading /.

path/to/destination/file.txt
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Source Bucket Name

An Amazon S3 'bucket' is a container where files are stored. The source bucket indicates the bucket containing the file you want to copy. If you are copying files within a single bucket, list the same bucket as the source and destination bucket.

my-source-bucket
Source Key

An object in S3 is a file that is saved in a 'bucket'. This represents the source object's key (file path). Do not include a leading /.

path/to/source/file.txt

{
"data": {
"CopyObjectResult": {
"ETag": "Example",
"LastModified": "2020-01-01T00:00:00.000Z"
}
}
}

Create Multipart Upload

Create a multipart upload | key: createMultipartUpload

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

ACL Permissions

A set of canned ACL permissions to apply to the object. See https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Object Key

An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /.

path/to/file.txt
Object Tags

Objects in an S3 bucket can be optionally tagged so you can filter for files more easily. For example, you may want to tag customers with a key of 'Customer Name' and value of 'Mars Missions Corp'

key: Customer Name, value: Mars Missions Corp

{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "J4Q9AY99DPMR1234",
"extendedRequestId": "P59zKeH2C4Jz3VAC1I+12345Gty4d4gyl9JYQmc4udM6bCB6w/MEg8AKKWUuBH1x0EU2dufwkw=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"ServerSideEncryption": "AES256",
"Bucket": "bucket-name",
"Key": "file.txt",
"UploadId": "9DWJzLdFIcK05G2Yq.TNhJbCU57dDZyIRlO_tHcdFgYqWQgtu6XdASs7h.DJlcWk2M9vmEx72gXcS8q5SBu_12345ccg-"
}
}

Create SNS Topic For S3 Event Notification

Create an Amazon SNS Topic to be used with S3 Event Notifications | key: createTopic

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Name

Provide a string for the name of the topic.

MyExampleTopic

{
"data": {
"TopicArn": "arn:aws:Example Topic Arn"
}
}

Delete Bucket

Deletes the S3 bucket. All objects in the bucket must be deleted before the bucket itself can be deleted | key: deleteBucket

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

{
"data": {
"$metadata": {
"httpStatusCode": 204,
"requestId": "CBD415E7",
"extendedRequestId": "WXvHrStedS7jFJZVw0Pt1LH3K3Nn99XFGuyELkK7UQANs3IOHs9GsR=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
}
}
}

Delete Object

Delete an Object within an S3 Bucket | key: deleteObject

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Object Key

An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /.

path/to/file.txt

{
"data": {
"DeleteMarker": true,
"VersionId": "3/L4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo",
"RequestCharged": "requester"
}
}

Delete Objects

Delete multiple objects from a bucket | key: deleteObjects

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Object Keys

A list of object keys to delete. These are the file paths of the objects you want to delete. Do not include a leading /.

path/to/file1.txt

{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "FAQAVT",
"extendedRequestId": "T/nk6UtPuVs11K6ji59C8phr==",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"Deleted": [
{
"Key": "file.csv"
},
{
"Key": "audio.mp3"
}
]
}
}

Generate Presigned URL

Generate a presigned URL that can be used to upload or download an object in S3 | key: generatePresignedUrl

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

Action (Download or Upload)

Should this URL allow a user to upload or download an object?

download
AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Expiration Seconds

This presigned URL will expire in this many seconds

3600
Object Key

An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /.

path/to/file.txt

{
"data": "https://my-bucket.s3.us-east-2.amazonaws.com/my-file.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256..."
}

Generate Presigned URL for Multipart Uploads

Generate presigned URL's that can be used to upload or download an object in S3 | key: generatePresignedForMultiparUploads

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Expiration Seconds

This presigned URL will expire in this many seconds

3600
Object Key

An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /.

path/to/file.txt
Upload ID

Multipart upload ID

xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg
Urls to Generate

The amount of urls to generate

5

{
"data": [
{
"url": "https://my-bucket.s3.us-east-2.amazonaws.com/my-file.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256...",
"partNumber": 1
}
]
}

Get Bucket Location

Get the location (AWS region) of a bucket by name | key: getBucketLocation

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

{
"data": "us-east-1"
}

Get Bucket Notification Configuration

Returns the notification configuration of a bucket | key: getBucketNotificationConfiguration

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "2KMYXFM4GHPES",
"extendedRequestId": "dLu9EloFaZ2UeACk5l4IovjfHXHTkM7kFLdThrbIJIjn05dgO7bdU3TUJ7/8DzZvcQ==",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"LambdaFunctionConfigurations": [
{
"Id": "Lambda",
"LambdaFunctionArn": "arn:aws:lambda:us-east-2:1234:function:Function",
"Events": [
"s3:ObjectRemoved:*"
]
}
],
"QueueConfigurations": [
{
"Id": "Queue",
"QueueArn": "arn:aws:sqs:us-east-2:1234:Queue",
"Events": [
"s3:ObjectCreated:*"
]
}
],
"TopicConfigurations": [
{
"Id": "Topic",
"TopicArn": "arn:aws:sns:us-east-2:1234:Topic",
"Events": [
"s3:ObjectRestore:*"
]
}
]
}
}

Get Current Account

Get the current AWS account | key: getCurrentAccount

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

{
"data": {
"$metadata": {},
"Account": "123456789012",
"Arn": "arn:aws:iam::123456789012:user/Alice",
"UserId": "ABCDEFGHIJKLMNOP:ABCDEFGHIJKLMNOP"
}
}

Get Object

Get the contents of an object | key: getObject

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Object Key

An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /.

path/to/file.txt

{
"data": {
"type": "Buffer",
"data": [
69,
120,
97,
109,
112,
108,
101,
32,
70,
105,
108,
101,
32,
67,
111,
110,
116,
101,
110,
116,
115
]
},
"contentType": "application/octet"
}

Get Object Attributes

Retrieves all the metadata from an object without returning the object itself | key: getObjectAttributes

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Object Attributes

Specifies the fields at the root level that you want returned in the response. Fields that you do not specify are not returned.

Object Key

An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /.

path/to/file.txt
Version ID

The version ID for the object whose metadata you want to retrieve.

AMn71WZYnWqbvfy0unBOdtaBC.DRiN_r

{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "0AJN29JBC3D5BNB6",
"extendedRequestId": "sVW4/xKq7DkMI8kgvbJUNWbzzZ9H6GKqyVocDm3uE4y7dZ6GmZcFrIC9MPGDjSNXMMn8CtLO8Vy0SxOcNOwl2A==",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"LastModified": "2024-03-08T22:20:41.000Z",
"VersionId": "0Ec_RdbYOEQ1Un2HllBJbGG758RS3UuZ",
"ObjectSize": 515400
}
}

Get Object Lock Configuration

Gets the Object Lock configuration for a bucket | key: getObjectLockConfiguration

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "J58R459KF4NH",
"extendedRequestId": "YLfHsBUyeXU06tYjF7ZLX7f7JhBL1FFZhA/UZKUr4WNTy0OHDOjYN=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"ObjectLockConfiguration": {
"ObjectLockEnabled": "Enabled",
"Rule": {
"DefaultRetention": {
"Mode": "GOVERNANCE",
"Years": 2
}
}
}
}
}

Get Object Retention

Retrieves an object's retention settings | key: getObjectRetention

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Object Key

An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /.

path/to/file.txt
Version ID

The version ID for the object whose retention settings you want to retrieve.

AMn71WZYnWqbvfy0unBOdtaBC.DRiN_r

{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "88W3KJSMC9E",
"extendedRequestId": "aJ3Rpb+v2F6Fqy47J6fWoPPCqe+LC8UX8vo5x3KK/YhN/=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"Retention": {
"Mode": "COMPLIANCE",
"RetainUntilDate": "2024-08-25T20:00:00.000Z"
}
}
}

Head Bucket

Determine if a bucket exists and if you have permission to access it | key: headBucket

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "A6R8PTRGRVGVB123",
"extendedRequestId": "O1lqC0pMNa1+juScFrJbqgtJDQgkqvkcWDvLPfmcZBQNbxe+Bl4JE0WeIuswg/123456==",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
}
}
}

Head Object

Retrieve metadata from an object without returning the object itself | key: headObject

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Object Key

An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /.

path/to/file.txt

{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "2GNCNQ9QYJF91H2H3",
"extendedRequestId": "20td2yhMFyFEFYm7Wh+P+qr8DDva152du5KA+JFU7ZRuHWLFZZxdLCOVfnMF41K2BYQ/12345=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"AcceptRanges": "bytes",
"LastModified": "2021-08-25T20:00:00.000Z",
"ContentLength": 65338,
"ETag": "\"266b7131485849fcefe583dcce654321\"",
"ContentType": "image/jpeg",
"ServerSideEncryption": "AES256",
"Metadata": {}
}
}

List Buckets

List all buckets in an AWS account | key: listBuckets

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

{
"data": [
{
"Name": "bucket-1",
"CreationDate": "2024-03-08T23:30:22.000Z"
}
]
}

List Multipart Uploads

Lists in-progress multipart uploads in a bucket | key: listMultipartUploads

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "MSB2RAFETTBCQ123",
"extendedRequestId": "Ax6cjVx4lugZGOI+yo3dApqbvrtLD3U",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"Bucket": "some-bucket",
"IsTruncated": false,
"KeyMarker": "",
"MaxUploads": 1000,
"NextKeyMarker": "file.txt",
"NextUploadIdMarker": "itQ2Dw8eMZ01dGiwRIj2dwDqpx",
"UploadIdMarker": "",
"Uploads": [
{
"UploadId": "hbZQmDNtym9xtdh8XwgT7Ys..FkRWJfV0MUgmNWg",
"Key": "new_file.txt",
"Initiated": "2024-01-25T16:06:31.000Z",
"StorageClass": "STANDARD",
"Owner": {
"ID": "0edc4b00d"
},
"Initiator": {
"ID": "0edc4b00d"
}
}
]
}
}

List Objects

List Objects in a Bucket | key: listObjects

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Continuation Token

Specify the pagination token that's returned by a previous request to retrieve the next page of results

lslTXFcbLQKkb0vP9Kgh5hy0Y0OnC7Z9ZPHPwPmMnxSk3eiDRMkct7D8E
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Include Metadata

By default, this action returns a list of object keys. When this is set to true, additional metadata about each object is returned, along with pagination information.

false
Max Keys

Provide an integer value for the maximum amount of items that will be returned. Provide a value from 1 to 1000.

1000
Prefix

List only objects prefixed with this string. For example, if you only want files in a directory called 'unprocessed', you can enter 'unprocessed/'. If this is left blank, all files in the selected bucket will be listed.

path/to/files/

{
"data": [
"Example Item 1",
"Example Item 2",
"Example Item 3"
]
}

List Parts

List parts of a multipart upload | key: listParts

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Object Key

An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /.

path/to/file.txt
Upload ID

Multipart upload ID

xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg

{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "3Z9CNHKT01WVE123",
"extendedRequestId": "AYcUJyiexeUBBf5Uynsj4m1PojM18tHSxlyKMWzjM+123456=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"Bucket": "bucket-name",
"Initiator": {
"ID": "0edc4b00d1bfae1ebe33617c5cfe04e17b6f1fb9c5c2c55796123456"
},
"IsTruncated": false,
"Key": "image.jpg",
"MaxParts": 1000,
"NextPartNumberMarker": "1",
"Owner": {
"ID": "0edc4b00d1bfae1ebe33617c5cfe04e17b6f1fb9c5c2c55796123456"
},
"PartNumberMarker": "0",
"Parts": [
{
"PartNumber": 1,
"LastModified": "2024-03-11T23:47:51.000Z",
"ETag": "\"266b7131485849fcefe583dcce071234\"",
"Size": 65338
}
],
"StorageClass": "STANDARD",
"UploadId": "iHtFwRT6d6IAPwGTlT6tO1iBApulQGCA2sG7yn_BzUKItrnLrWykCbDheQBJrb1MUGHgGfihOY07XfnCeU2CWCZM0kD6VbyC46MJ4123456-"
}
}

Put Bucket Notification Configuration

Replace an existing bucket notification configuration with a new one | key: putBucketNotificationConfiguration

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

EventBridge Configuration

EventBridge configuration to be added to the bucket notification configuration.

Lambda Function Configurations

List of Lambda Function configurations to be added to the bucket notification configuration.

Queue Configurations

List of Queue configurations to be added to the bucket notification configuration.

Topic Configurations

List of Topic configurations to be added to the bucket notification configuration.

{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "3G6FNXP71KGVQ",
"extendedRequestId": "epeRYyT9tl3QOMTMck4AG+NqmGa5fRKv5nME7gRl8KMxfnCAKWZzKbWVKp4ED7RaZIGvVcS=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
}
}
}

Put Object

Write an object to S3 | key: putObject

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

ACL Permissions

A set of canned ACL permissions to apply to the object. See https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

File Contents

The contents to write to a file. This can be a string of text, it can be binary data (like an image or PDF) that was generated in a previous step.

My File Contents
Object Key

An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /.

path/to/file.txt
Object Tags

Objects in an S3 bucket can be optionally tagged so you can filter for files more easily. For example, you may want to tag customers with a key of 'Customer Name' and value of 'Mars Missions Corp'

key: Customer Name, value: Mars Missions Corp
note

File Contents can be a reference to a binary file from a previous step. For example, if you have an HTTP Get action that pulls down a .png image, you can reference its step name to write the .png to S3. Or, File Contents can be simple text, like 'Hello World'.

{
"data": {
"ETag": "Example Tag",
"VersionId": "Example Version Id"
}
}

Put Object Lock Configuration

Places an Object Lock configuration on the specified bucket | key: putObjectLockConfiguration

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Default Retention Days

The number of days that you want to specify for the default retention period. You can specify either Default Retention Days or Default Retention Years, but not both.

20
Default Retention Mode

The default Object Lock retention mode you want to apply to new objects placed in the specified bucket. Must be used with either Default Retention Days or Default Retention Years.

Default Retention Years

The number of years that you want to specify for the default retention period. You can specify either Default Retention Days or Default Retention Years, but not both.

2
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "HRTN",
"extendedRequestId": "n2j6gnXOgOKm+PomoHrLsbOhatc7LMw1Su",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
}
}
}

Put Object Retention

Places an Object Retention configuration on an object | key: putObjectRetention

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Object Key

An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /.

path/to/file.txt
Retain Until Date

The date and time when you want the specified Object Retention configuration to expire. Required when using Retention Mode.

2024-08-25T20:00:00.000Z
Retention Mode

Retention mode for the specified object. Required when Retain Until Date is set.

Version ID

The version ID for the object that you want to apply this Object Retention configuration to.

AMn71WZYnWqbvfy0unBOdtaBC.DRiN_r

{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "9GKTJZDRMJCGMNY6",
"extendedRequestId": "NKjiPDGEYKYtH7sHPWKSVpy9y9NtjbXzeJ7whq75y62jiH9JLuZOpMLCBiYyc+/hOlnOTCaTpWo=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
}
}
}

Subscribe to SNS Topic

Subscribe to an Amazon SNS Topic for S3 Event Notifications | key: subscribeToTopic

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Webhook Endpoint

The endpoint that you want to trigger when an S3 event occurs.

https://hooks.example.com/trigger/SW5zdGFuY2VGbG93Q29uZmlnOjhiNGY0ZTRkLWIyODMtNDE4Yy04YmZhLTg1NGI11234567890==
SNS Topic ARN

The Amazon Resource Name (ARN) of the topic.

arn:aws:sns:us-east-1:123456789012:MyExampleTopic

{
"data": {
"SubscriptionArn": "arn:aws:sns:us-east-2:123456789012:MyExampleTopic:00000000-00000000-00000000-00000000"
}
}

Unsubscribe from a SNS Topic

Unsubscribe from an Amazon SNS Topic for S3 Event Notifications | key: unsubscribeFromTopic

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Subscription Arn

The unique identifier for a topic subscription

arn:aws:sns:us-east-2:123456789012:MyExampleTopic:00000000-00000000-00000000-00000000

{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "059f8a07-f312-5e3b-9b7c-d46e66ee8a58",
"extendedRequestId": null,
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
}
}
}

Update SNS Topic Policy For S3 Event Notification

Update an Amazon SNS Topic Policy to grant S3 permission to publish | key: updateTopicPolicy

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Bucket Owner Account ID

Provide the AWS Account ID of the bucket owner. It can be found in the account settings of the AWS console, or can be retrieved using the 'Get Current Account' action.

012345678901
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

SNS Topic ARN

The Amazon Resource Name (ARN) of the topic.

arn:aws:sns:us-east-1:123456789012:MyExampleTopic

{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "b81eb768-e79a-52a1-9be8-e90175212345",
"extendedRequestId": null,
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
}
}
}

Upload Part

Upload a chunk of a multipart file upload | key: uploadPart

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

File Chunk

The file data chunk to upload. This can be binary data referenced from a previous step.

Object Key

An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /.

path/to/file.txt
Part Number

Part number of part being uploaded. This is a positive integer between 1 and 10,000.

1
Upload ID

Multipart upload ID

xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg

{
"data": {
"$metadata": {
"httpStatusCode": 200,
"requestId": "3Z9FSV3QYRYCK123",
"extendedRequestId": "nhNCxtYGnVN+nxfdPaCPgAc23cJw2rphbIU1Z5ZUEmUDXIvF+Ra3eUXv2MNdOoWTIKXEym12345=",
"cfId": null,
"attempts": 1,
"totalRetryDelay": 0
},
"ServerSideEncryption": "AES256",
"ETag": "\"266b7131485849fcefe583dcce071234\"",
"part": {
"ETag": "\"266b7131485849fcefe583dcce071234\"",
"PartNumber": 1
}
}
}

Upload Stream - Close Stream

Close an upload stream | key: closeUploadStream

InputNotesExample
Upload Stream ID

The ID of the upload stream to write to. Generate this with the 'Create Stream' action.


Upload Stream - Create Stream

Create an upload stream to S3 | key: createUploadStream

InputNotesExample
Connection

Access keys provide programmatic access to access resources in AWS. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html.

ACL Permissions

A set of canned ACL permissions to apply to the object. See https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl

AWS Region

AWS provides services in multiple regions, like us-west-2 or eu-west-1.

us-east-1
Bucket Name

An Amazon S3 'bucket' is a container where files are stored. You can create a bucket from within the AWS console. Bucket names contain only letters, numbers, and dashes.

my-s3-bucket-abc123
Dynamic Access Key ID

Use this input to authenticate with AWS if you are using a dynamically-generated access key. Otherwise, use the connection to enter a static access key ID.

Dynamic Secret Access Key

Use this input to authenticate with AWS if you are using a dynamically-generated secret access key. Otherwise, use the connection to enter a static secret access key.

Dynamic Session Token

Use this input to authenticate with AWS if you are using a OPTIONAL dynamically-generated session token.

Object Key

An object in S3 is a file that is saved in a 'bucket'. This represents the object's key (file path). Do not include a leading /.

path/to/file.txt
Object Tags

Objects in an S3 bucket can be optionally tagged so you can filter for files more easily. For example, you may want to tag customers with a key of 'Customer Name' and value of 'Mars Missions Corp'

key: Customer Name, value: Mars Missions Corp

{
"data": "711B632B-C025-4E26-9E34-525822E3C0ED"
}

Upload Stream - Write Data

Write to an upload stream | key: writeUploadStream

InputNotesExample
File Contents

The contents to write to a file. This can be a string of text, it can be binary data (like an image or PDF) that was generated in a previous step.

My File Contents
Upload Stream ID

The ID of the upload stream to write to. Generate this with the 'Create Stream' action.


Changelog

2025-07-11

Added externalId optional input to assumeRole connection for enhanced security