CDK Stacks and Apps
CDK Apps
- CDK apps are just like components that contain definition of one or more stacks in the aws.
- App is the entry point for CDK application. It is defined as a class in most of the languages.
- The app is initiated first then the stacks are initiated for provisioning the resources.
CDK Stacks
- CDK stacks are collections of aws resources that are provisioned together.
- Stacks contain definition for one or more cloud resources in AWS.
- Stacks are also called as unit of deployment.
- Any number of stacks can be defined in an application in CDK.
AWS CDK(Cloud Development Kit)
AWS CDK or Cloud Development Kit is a framework that allows you to use reusable components called constructs to build cloud environments. Developers can build and create cloud services using Integrated Development Environments with the help of libraries and components. AWS CDK provides a simple and easy approach to building infrastructure with the help of programming languages. So, let’s learn more about AWS CDK.