Skip to content

Sample project to create aws resources programatically using JavaScript AWS CDK as an easy alternative for cloudformation/terraform way.

Notifications You must be signed in to change notification settings

tamdilip/build-aws-resources-cdk

Repository files navigation

🔧 AWS CDK project

This is a sample project to create aws resources programatically using JavaScript AWS CDK as an easy alternative for cloudformation/terraform way.

The cdk.json file tells the CDK Toolkit how to execute your app. The build step is not required when using JavaScript.

Useful commands

  • npm run test perform the jest unit tests
  • cdk deploy deploy this stack to your default AWS account/region
  • cdk diff compare deployed stack with current state
  • cdk synth emits the synthesized CloudFormation template

Easy jump start

        $ mkdir build-aws-resources-cdk
        $ cd build-aws-resources-cdk
        $ cdk init app --language javascript
        $ npm i @aws-cdk/aws-codebuild
        $ npm i @aws-cdk/aws-events-targets
        $ npm i @aws-cdk/aws-lambda
        $ cdk ls
        $ cdk synth
        $ cdk synth > cfn-template-output.yaml

References

Happy coding :) !!

About

Sample project to create aws resources programatically using JavaScript AWS CDK as an easy alternative for cloudformation/terraform way.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published