Amazon web services – Using AWS CDK, how can one alter a resource after its creation?
I am using AWS CDK to create a Cognito User Pool with a few lambda triggers. One of the lambdas requires a role to be attached that depends on the user pool arn. I have achieved this behaviour by adding…