Golang bindings for constructs. See CONTRIBUTING for more information. This project is licensed under the Apache-2.0 License. Constructs are the basic building blocks of AWS CDK apps. A construct represents a "cloud component" and encapsulates everything AWS CloudFormation needs to create the component. Constructs are part of the Construct Programming Model (CPM) and are also used by other tools such as CDK for Terraform (CDKtf), CDK for Kubernetes (CDK8s), and Projen. A construct can represent a single AWS resource, such as an Amazon Simple Storage Service (Amazon S3) bucket, or it can be a higher-level abstraction consisting of multiple AWS related resources. Examples of such components include a worker queue with its associated compute capacity, or a scheduled job with monitoring resources and a dashboard. The AWS CDK includes a collection of constructs called the AWS Construct Library, containing constructs for every AWS service.
Features
- Constructs are part of the Construct Programming Model (CPM) and are also used by other tools such as CDK for Terraform (CDKtf), CDK for Kubernetes (CDK8s), and Projen
- The AWS CDK includes the AWS Construct Library, which contains constructs representing AWS resources
- Constructs are implemented in classes that extend the Construct base class
- Identifiers need only be unique within a scope
- Stacks in AWS CDK apps extend the Stack base class
- Once you have defined a stack, you can populate it with resources by instantiating constructs