Developers use shared TypeScript functions to define AWS resources.
Deploy the result as CloudFormation infrastructure.
Which tool is most appropriate?
Use AWS CDK and run cdk synth to generate the CloudFormation template from the code.
Detailed explanation
CDK converts supported programming-language constructs into a CloudFormation template.
CDK converts supported programming-language constructs into a CloudFormation template.
DNS resolution does not deploy CDK applications.
DNS resolution does not deploy CDK applications.
S3 Select extracts object data and does not synthesize IaC.
S3 Select extracts object data and does not synthesize IaC.
CloudTrail records API activity and does not synthesize infrastructure code.
CloudTrail records API activity and does not synthesize infrastructure code.
Check official documentation
Compare the following points with the official documentation.
AWS CDK cdk synthの公式説明を確認する。
What to confirm
CDKコード、合成テンプレート、スタックデプロイの流れを説明できる。
Key points
- AWS CDK
- cdk synth
- CloudFormation
Notes
- Environment: AWS公式SOA-C03試験ガイドとAWS公式ドキュメントの確認
- Confirm current AWS service behavior in the official documentation.
Foundation review
Code to template
CDK provides reusable abstractions while CloudFormation remains the deployment control plane.
Synthesis versus deployment
Synthesis creates the template; a later deploy operation applies it to AWS.