Interview Prep/AWS/Observability, Security Services and IaC

How does the AWS CDK work?

IntermediateConceptObservability, Security Services and IaC
Answer

CDK lets you define infrastructure in TypeScript, Python, Java, Go or C# using constructs: L1 (raw CloudFormation resources, CfnBucket), L2 (opinionated, sensible defaults and helper methods such as bucket.grantRead(role)), and L3 patterns (multi-resource). cdk synth generates CloudFormation, and cdk deploy deploys it. Each account/Region needs a one-time bootstrap (the CDKToolkit stack: asset bucket, roles).

cdk bootstrap aws://123456789012/ap-south-1 && cdk diff && cdk deploy
aws All AWS questions

More on Observability, Security Services and IaC