This repository contains a collection of AWS CDK integration samples for various services. These samples are designed to provide documentation and guidance on how to implement integrations using AWS CDK. Please note that while these samples have been tested and validated, they are not intended for use in a production environment.
- Go
- AWS CLI
- AWS CDK
- Node.js
- TypeScript
- AWS Account
Configure your workstation with your credentials and an AWS region.
dev@dev:~$ aws configureTo create multiple accounts for AWS CLI:
dev@dev:~$ aws configure --profile profile_nameProvide your AWS access key ID, secret access key and default region when prompted. You can switch between accounts by passing the profile on the command.
dev@dev:~$ aws s3 ls --profile profile_nameWhen no --profile parameter provided in the command, default profile will be used.
- AWS Region:
us-east-1- You can change the default value of the AWS region by updating the
AWS_REGIONin one of the files inside the aws_wrapper
- You can change the default value of the AWS region by updating the
- Stack Account and Region:
process.env.CDK_DEFAULT_ACCOUNT/REGION- You can change the default value in the TS file inside the bin folder
- API Gateway Async → Lambda
- API Gateway + Cognito → Lambda
- API Gateway CORS + API Key → Lambda
- API Gateway → Lambda → DynamoDB
- API Gateway → Lambda → S3 Bucket
- API Gateway → Lambda → SQS → Lambda
- EventBridge Bus → API Destination
- EventBridge Bus → Lambda
- EventBridge Rule → Lambda
- EventBridge Schedule → Lambda
- Lambda → DynamoDB
- Lambda → DynamoDB List
- Lambda → S3
- Lambda → Secrets Manager
- Lambda → SNS
- Lambda → SQS