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
More on Observability, Security Services and IaC
How are CloudWatch metrics organized?BeginnerHow do CloudWatch Logs groups, streams and Logs Insights work?BeginnerExplain CloudWatch alarm states and missing data handling.AdvancedWhat is the CloudWatch Embedded Metric Format?AdvancedWhat does EC2 not report to CloudWatch by default?IntermediateWhat does CloudTrail record?Beginner