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.