Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

How much sugar?

This comparison card contrasts How much sugar. L2 construct is described as opinionated helpers with safe defaults. L1 (Cfn*) construct is described as 1:1 CloudFormation resources, every property. The card pairs L2 construct with default choice, and L1 (Cfn*) construct with escape hatch only.

How much sugar?: L2 construct vs L1 (Cfn*) construct
How much sugar? · Download PNG
Read card text

What this card says

How much sugar?

L2 construct

Opinionated helpers with safe defaults.

L1 (Cfn*) construct

1:1 CloudFormation resources, every property.

Key points

Everyday Lambda + API.

Brand-new CFN property L2 lacks.

Example

new lambda.Function(...) / new lambda.CfnFunction(...)

Use when

Default choice.

Escape hatch only.

See all AWS revision cards