CDK Flashcards
1
Q
Stack in CDK?
A
- A deployable unit of infrasturcture containing multiple resources which are created and managed together on an AWS account
- e.g. cdk deploy, stack (with multiple resources) is spun up on sandpit account
2
Q
cdk.json in CDK?
A
Configuration file for the CDK CLI
.context in the CDK.json allows for settings that influence the cdk app
3
Q
Construct in CDK?
A
A construct is a reusable block of resources & configuration that can then be pulled into diff stacks
e.g. MicroserviceIam containing the role, policies, permissions, associating them together and then injecting the construct wherever needed by exporting the class, declaring in index.js and ref in desired stack
4
Q
Props in CDK?
A