Skip to content

Using the BaseConstruct #10

Open
Open
@ukayani

Description

@ukayani

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions