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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Props in CDK?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly