You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
βοΈ security issue or vulnerability => Please see policy
β support request => Please see note at the top of this template.
What is the current behavior? If the current behavior is a πͺ²bugπͺ²: Please provide the steps to reproduce
To get the underlying CFN resource for an Autoscaling group, node.tryFindChild('ASG') must be used instead of node.defaultChild(). This is because "ASG" is used instead of "Resource" within the construct:
What is the expected behavior (or behavior of feature suggested)?
To be able to simply use defaultChild.
What is the motivation / use case for changing the behavior or adding this feature?
Ideally you wouldn't need access to the underlying CFN resource, but for an autoscaling group there is a use case when using cfn-init as described here: #1413
Please tell us about your environment:
CDK CLI Version: 1.0.0
Module Version: 1.0.0
OS: [all]
Language: [all ]
The text was updated successfully, but these errors were encountered:
I'm submitting a ...
What is the current behavior?
If the current behavior is a πͺ²bugπͺ²: Please provide the steps to reproduce
To get the underlying CFN resource for an Autoscaling group,
node.tryFindChild('ASG')
must be used instead ofnode.defaultChild()
. This is because "ASG" is used instead of "Resource" within the construct:aws-cdk/packages/@aws-cdk/aws-autoscaling/lib/auto-scaling-group.ts
Line 454 in f0fec54
To be able to simply use
defaultChild
.Ideally you wouldn't need access to the underlying CFN resource, but for an autoscaling group there is a use case when using
cfn-init
as described here: #1413Please tell us about your environment:
The text was updated successfully, but these errors were encountered: