Skip to main content
The AWS provider enables you to deploy and manage AWS Lambda functions, DynamoDB tables, S3 buckets, SQS queues, and IAM roles using TypeScript.

Installation

The AWS provider is included in the main alchemy package:

Credentials

Set up your AWS credentials as environment variables:
You can also use AWS profiles or IAM roles. Alchemy uses the standard AWS SDK credential chain.

Available resources

Compute

  • Function - AWS Lambda functions with configuration

Storage

  • Bucket - S3 buckets for object storage
  • Table - DynamoDB tables for NoSQL data

Messaging

  • Queue - SQS queues for message processing
  • SES - Email sending via Simple Email Service

IAM

  • Role - IAM roles for service permissions
  • Policy - IAM policies for access control
  • PolicyAttachment - Attach policies to roles

Systems Manager

  • SSMParameter - Parameter Store for configuration

Example usage

Here’s a complete example deploying a Lambda function with DynamoDB and SQS:

AWS Control API

Alchemy also provides access to AWS CloudControl API for managing any CloudFormation-supported resource:

VPC and networking

The AWS provider includes EC2 networking resources:

State storage

You can use S3 as a state store for Alchemy:

Next steps

Lambda Functions

Deploy serverless functions

DynamoDB Tables

NoSQL database tables

Examples

Browse AWS examples

IAM Roles

Configure permissions