Unify Integrations
Logo
Amazon S3 Tables

Amazon S3 Tables

Logo

3 mins READ

Use the Amazon S3 Tables connector to manage structured tables in Amazon S3.

Integrating your application with Amazon S3 Tables lets you use these operations in an automation. It exposes 8 actions, listed below. Add the connector from the Connections area, authenticate, then select its operations in the automation builder. Capabilities: actions.

Authentication

Before you begin, make sure you have the following information:

  • Connection name: a name that identifies this connection in UnifyApps, such as "MyAppAmazonS3TablesIntegration".

  • Region (required): the AWS region of your resources, such as us-east-1. If your AWS console URL starts with https://us-east-1.console.aws.amazon.com, enter us-east-1.

  • Table bucket ARN (required): the ARN of your S3 table bucket, in the form arn:aws:s3tables:<region>:<account-id>:bucket/<bucket-name>. In the Amazon S3 console, open Table buckets, select your table bucket and copy its ARN.

  • Authentication type: Access Key, IAM Role or Instance Role.

The fields you fill in depend on the authentication type:

  • Access Key: enter the Access key ID and Secret access key of an IAM user (both required).

  • IAM Role: enter the ARN of an IAM role in the IAM role field (required), and in External ID the external ID set on the role's trust relationship.

  • Instance Role: no keys are entered; the connection uses the IAM role of the environment that UnifyApps runs in. Use it only when UnifyApps runs inside your own AWS account.

Access Key Based Authentication

  1. Sign in to the AWS Management Console.

  2. Search for Users in the search bar at the top of the console and open Users in IAM (Identity and Access Management).

  3. Click Create user and enter a user name.

  4. Choose Attach policies directly and attach the AmazonS3TablesFullAccess policy (or a policy that grants the s3tables permissions you need). Click Create user.

  5. Open the new user, go to Security credentials and click Create access key.

  6. Choose Command Line Interface as the use case, add a description tag and click Create access key.

  7. Copy the access key ID and secret access key into the connection form. Store them securely; anyone with them can access your AWS account.

IAM Role Based Authentication

  1. Sign in to the AWS Management Console and open IAM.

  2. Select Roles and click Create role.

  3. Under Trusted entity type, choose AWS account, select Another AWS account and enter the UnifyApps AWS account ID. Contact UnifyApps support to get it.

  4. Check Require external ID and enter the external ID provided by UnifyApps. Enter the same value in the External ID field of the connection form.

  5. Attach the AmazonS3TablesFullAccess policy (or a policy that grants the s3tables permissions you need).

  6. Enter a role name and description, and click Create role.

  7. Open the role, copy its ARN and paste it into the IAM role field of the connection form.

The screenshots below show the AWS console. First, the Retrieve access keys page that appears after you create an access key:

amazon-cognito-1-aaed095a-blurred.png
amazon-cognito-1-aaed095a-blurred.png

Next, the trusted entity settings of an IAM role: Another AWS account with Require external ID checked:

amazon-cognito-2-3425f3d0-blurred.png
amazon-cognito-2-3425f3d0-blurred.png

Finally, the IAM dashboard, where the account menu and the AWS Account panel show your own account details:

amazon-cognito-3-7ec8aeb2-blurred.png
amazon-cognito-3-7ec8aeb2-blurred.png

Actions

Action Name

Description

Create namespace

Creates a new namespace in an S3 table bucket

Create table

Creates a new table in an S3 table bucket namespace

Create table (Iceberg REST)

Creates a new table via Iceberg REST API with full Iceberg schema definition

Delete table

Deletes a table from an S3 table bucket namespace

Get table

Retrieves details of a specific table in an S3 table bucket

List namespaces

Lists all namespaces in an S3 table bucket

List tables

Lists all tables in a namespace via Iceberg REST API

Load table (Iceberg REST)

Loads a table and returns its metadata via Iceberg REST API

About the API

The UnifyApps connector supports only the actions listed above. For reference, the Amazon S3 Tables API, a managed Apache Iceberg table service, covers these areas as a whole:

  • Table Management: CreateTable, DeleteTable, RenameTable, GetTable

  • Namespace Management: CreateNamespace, DeleteNamespace, GetNamespace, ListNamespaces

  • Table Bucket Operations: CreateTableBucket, DeleteTableBucket, GetTableBucket, ListTableBuckets

  • Configuration: Encryption, metrics, maintenance, replication, storage class settings

  • Data Management: Record expiration, metadata location management

Official documentation

https://docs.aws.amazon.com/AmazonS3/latest/API/API_Operations_Amazon_S3_Tables.html