AWS

AWS S3 Connector

Overview

The AWS S3 Connector enables seamless integration with Amazon S3 services, allowing you to manage S3 bucket operations and generate secure URLs for object access. This connector provides functionality to create both public and pre-signed URLs for temporary, secure access to S3 objects.

Key Features

  • Generate public S3 URLs for objects
  • Create pre-signed URLs for temporary access
  • Manage S3 bucket operations
  • Control access to S3 objects with time-limited URLs

Prerequisites

Before setting up the AWS S3 Connector, ensure you have:

  • An AWS account with appropriate permissions
  • IAM user credentials (Access Key ID and Secret Access Key)
  • S3 buckets configured with proper policies
  • Understanding of AWS regions and S3 operations

Setup Instructions

Step 1: Create IAM User

  1. Sign in to the AWS Management Console
  2. Navigate to IAM (Identity and Access Management)
  3. Click Users > Add users
  4. Enter a user name (e.g., "leena-ai-s3-integration")
  5. Select Access key - Programmatic access
  6. Click Next: Permissions

Step 2: Set IAM Permissions

  1. Choose Attach existing policies directly
  2. Search for and select appropriate S3 policies:
    • For read-only access: AmazonS3ReadOnlyAccess
    • For specific bucket access: Create a custom policy
  3. Click Next: Tags (optional)
  4. Click Next: Review
  5. Click Create user

Step 3: Save Credentials

After creating the IAM user:

  1. Download the credentials CSV file
  2. Store the following information securely:
    • Access Key ID
    • Secret Access Key

Important: The secret access key is only shown once. If lost, you'll need to create new credentials.

Step 4: Configure Connector


In the application, provide the following information:

FieldDescriptionExample
Access Key IDYour AWS IAM user access keyAKIAIOSFO...
Secret Access KeyYour AWS IAM user secret keywJalrXUtnFEMI/...

Actions

Get S3 Public URL

Generate a public URL for an S3 object that can be accessed without authentication.


Required Inputs

ParameterDescriptionExample
RegionAWS region where the S3 bucket is locatedus-east-1
BucketThe name of the S3 bucketmy-public-bucket
KeyThe key (path and filename) of the objectfolder/document.pdf

Use Cases

  • Public assets like images, CSS, JavaScript files
  • Publicly shared documents
  • Content that doesn't require authentication

Get S3 Pre-Signed URL

Generate a time-limited pre-signed URL for secure access to private S3 objects.


Required Inputs

ParameterDescriptionExample
RegionAWS region where the S3 bucket is locatedus-east-1
Command TypeThe type of operationGET

Conditional Required Inputs (when Command Type is "GET")

ParameterDescriptionExample
BucketThe name of the S3 bucketsecure-documents
KeyThe key (path and filename) of the objectprivate/report.pdf

Optional Inputs

ParameterDescriptionDefaultExample
Expiry TimeURL expiration time in seconds86400 (24 hours)3600

Use Cases

  • Temporary access to private files
  • Secure document sharing
  • Time-limited download links
  • Protected media content

Support

For additional support or questions about the AWS S3 Connector, please contact your system administrator or refer to the AWS S3 documentation.


Additional Resources