Chapter 9: Generating CloudFormation Templates Using AWS CDK
- Constructs are building blocks of CDK. Any block of CDK, such as App, Stack, Asset, or Resource is considered to be a Construct.
- You have to define each stack separately by assigning a stack class to it as a value.
- By adding subnet configuration to the VPC construct. Originally, CDK was developed by TypeScript, but there are libraries for Python, Java, C#, and JavaScript. The CDK development team is working on more languages to support in CDK.
- No, CDK will use the default credentials and config to connect to AWS. But it is recommended to provide an account ID and Region when using CDK in production.