/aws-cdk-ecs-example

Example project using the AWS CDK for creating an ECS cluster.

Primary LanguageJava

aws-cdk-ecs-example

This is an example project for using AWS CDK creating an ECS cluster.

The cdk.json file tells the CDK Toolkit how to execute your app.

It is a Maven based project, so you can open this project with any Maven compatible Java IDE to build and run tests.

Useful commands

  • mvn package compile and run tests
  • cdk ls list all stacks in the app
  • cdk synth emits the synthesized CloudFormation template
  • cdk deploy deploy this stack to your default AWS account/region
  • cdk diff compare deployed stack with current state
  • cdk docs open CDK documentation

Enjoy!