Skip to content

bobbyhadz/add-cors-s3-bucket-aws-cdk

Repository files navigation

How to add CORS to an S3 bucket in AWS CDK

A repository for an article on bobbyhadz.com

If you use CDK v1, switch to the cdk-v1 branch

How to Use

  1. Clone the repository

  2. Install the dependencies

npm install
  1. Create the CDK stack
npx aws-cdk deploy
  1. Open the AWS CloudFormation Console and the stack should be created in your default region

  2. Cleanup

npx aws-cdk destroy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published