Bootstrap your environment

Bootstrap your environment

Before you deploy a application onto an AWS environment, the environment must first be bootstrapped.

To bootstrap an environment, you use execute CDK4J maven target bootstrap. The CDK4J maven plugin deploys a CDK stack, known as the bootstrap stack. By default, the stack name is CDKToolkit. By deploying this stack, CloudFormation provisions the resources in your environment. After deployment, the bootstrap stack will appear in the AWS CloudFormation console of your environment.

AWS environments are independent. Each environment that you want to use with the AWS CDK must first be bootstrapped.