I have few folders in S3 bucket where I want to apply the below policy and also to the subfolders inside the specified path.
aws s3api put-object-acl --bucket BUCKET_NAME --key "FOLDER_PATH/" --grant-read uri=http://acs.amazonaws.com/groups/global/AllUsers --profile MYPROFILE
I cannot use regex * in the key so that it includes all subfolders.
Help me apply the policy to all subfolders inside the key path.