Skip to content

defaultChild #2290

@eladb

Description

@eladb

Add ConstructNode.defaultChild: Construct which will return the child named Default or Resource and will be used as an escape hatch idiom instead of findChild("Resource").

Metadata

Metadata

Assignees

Labels

feature-requestA feature should be added or improved.package/awsclCross-cutting issues related to the AWS Construct Librarypackage/cfnRelated to the CFN layer (L1)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions