#✅ - Where do I put a S3 Custom IAM Policy?

1 messages · Page 1 of 1 (latest)

turbid flax
#

I want to customize S3 permissions for my Amplify project. (Specifically, I want the public key path to be read only, the private key path to be both read and write, and members of a cognito admin group to have read/write access to everything).

According to Amplify documentation (https://docs.amplify.aws/lib/storage/configureaccess/q/platform/js/) I should be able to define my own IAM policy ... but where do I put it? I see policies in cloudformation-template.json, but I assume that gets regenerated every time amplify CLI updates the bucket, so I shouldn't put it there.

dry flint
turbid flax
#

ah the override is what I was looking for, thanks!

compact marshBOT
#

✅ - Where do I put a S3 Custom IAM Policy?