What is the difference between a CDK construct and a regular class?

1.1k views Asked by At

I am a new AWS CDK user. I am trying to understand the point of a CDK construct. I know that a CDK stack maps directly to a CloudFormation stack. I also know that a construct's purpose is to encapsulate multiple resources that work together. But since we are using real programming languages, why can't we just use a regular class to encapsulate related resources?

0

There are 0 answers