AWS Construct
- source
- AWS Construct Doc
This library includes constructs that represent all the resources available on AWS
Three levels of constructs
CFN Resources - L1
Also called Cfn (short for CloudFormation)
L2
- provide higher-level, intent-based API
- properties with defaults, also have bolierplate and glue logic
- e.g. s3.Bucket class
Patterns - L3
- designed to help you complete common tasks in AWS, often involving multiple kinds of resources
Initialization
Define a construct by instantiating the class, three parameters involved:
- Scope
- unique within this scope, as namespace for things defined inside this construct
- A set of properties or keywords arguments