sparse-intern-71089
11/14/2023, 4:09 PMrefined-quill-24494
11/14/2023, 5:25 PMiam.get_policy_document
call inside of the bucket.arn.apply
lambda, like this
my_bucket.arn.apply(
lambda bucket_arn:
iam.get_policy_document(...)
).json
the above produces Output[str]
which I can then feed to iam.PolicyArg
adventurous-television-68331
12/08/2023, 10:18 PM