You can use the PolicyDocument type from aws, and avoid outputs entirely. The outputs in the object get handled inline, so you don't need to build a wrapping output.
m
magnificent-apartment-79511
01/16/2024, 8:45 PM
Is that only in aws classic?
l
little-cartoon-10569
01/16/2024, 8:47 PM
The class is in classic, but it should work in native (I hope?).