concept

CDK constructs and synthesis

CDK v2 uses reusable constructs in stacks and synthesizes a cloud assembly. Review templates, asset contents and logical IDs. Synthesis may execute code; bootstrap and deploy require authorization.

Formal Syntax & Structure

aws syntaxaws
app.synth()

Working Example

Example Snippetaws
new s3.Bucket(stack, "Archive", { versioned: true });
AWS Reference