aws-samples / aws-samples/aws-cdk-project-template-for-devops
Using the BaseConstruct
- Dominant language
- TypeScript
- Stars
- 188
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I see that in your patterns `lib/template/patterns` folder, all the patterns extend the `BaseConstruct`. Each pattern's props also extend the `ConstructCommonProps`. What is the best way to create an instance of something like the `LambdaSimplePatternProps` to pass in to the lambda pattern? If i had to instantiate a `LambdaSimplePatternProps` by assigning all the fields from `ConstructCommonProps`, it would lead to a lot of boilerplate code.
I've also noticed in other projects that follow this devops setup, you don't extend `BaseConstruct` at all, which simplifies the usage of the pattern i think.
Contributor guide
Assessment
This issue has not been assessed yet.