Skip to content

Latest commit

 

History

History
90 lines (73 loc) · 4.03 KB

README.md

File metadata and controls

90 lines (73 loc) · 4.03 KB

AWS CDK Samples

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.

Pre-requisites

  • Go
  • AWS CLI
  • AWS CDK
  • Node.js
  • TypeScript
  • AWS Account

AWS Configuration

Configure your workstation with your credentials and an AWS region.

dev@dev:~$ aws configure

To create multiple accounts for AWS CLI:

dev@dev:~$ aws configure --profile profile_name

Provide 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_name

When no --profile parameter provided in the command, default profile will be used.

AWS SDK and CDK Defaults

  • AWS Region: us-east-1
    • You can change the default value of the AWS region by updating the AWS_REGION in one of the files inside the aws_wrapper
  • Stack Account and Region: process.env.CDK_DEFAULT_ACCOUNT/REGION
    • You can change the default value in the TS file inside the bin folder

Table of Contents