aws-cdk-examples icon indicating copy to clipboard operation
aws-cdk-examples copied to clipboard

A repository that contains AWS CDK code examples

AWS CDK Examples

A repository that contains AWS CDK code examples written in Typescript for my blog https://towardsthecloud.com

Running Examples

To run a Typescript example, execute the following:

$ npm install -g aws-cdk
$ cd EXAMPLE_DIRECTORY
$ npm install
$ cdk synth
$ cdk deploy

Then, to dispose of the stack/s afterwards

$ cdk destroy

Table of Contents

AWS CDK Example Description Blogpost link
application-load-balanced-fargate-service Creating an Application Load Balanced Fargate Service in AWS CDK Click here
openid-connect-bitbucket Create a Bitbucket OpenID Connect (OIDC) provider in AWS CDK Click here
openid-connect-github Create a GitHub OpenID Connect (OIDC) provider in AWS CDK Click here
scheduled-fargate-task Creating a Scheduled Fargate Task example in AWS CDK Click here
share-resources-across-stacks Creating a stack where you share resources to another stack Click here

Author

Danny Steenman


Support my work

If you found these AWS CDK examples helpful, please consider showing your support by buying me a coffee.