Hi, I am trying to work with instantiating objects ad-hoc and it looks like this creates a major problem with referencing other objects - I cannot reference them because they have yet to be created.
I’m using the method suggested by fraser above (see that discussion). I can’t “translate” even this standard snippet to this method:
vpc = ec2.Vpc(
igw = ec2.InternetGateway(
if there was an introspection method to extract the constructor and parameters dynamically, maybe it would have worked