Skip to content
Discussion options

You must be logged in to vote

Figured it out, although I had to loop over the children and couldn't figure out to get the child directly by id (Target)

children = queue_service.service.node.find_all()
for child in children:
    if child.__class__ in [aws_cdk.aws_applicationautoscaling.ScalableTarget]:
        child.node.try_remove_child("CpuScaling")

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by automartin5000
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant