how to add an inline policy to allow s3:ListBucket for a certain User – Amazon Web Sevices
I'm trying to add this as an inline policy, with arn for user (principle) and arn for bucket (resource). { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::00000000:user/name" }, "Action": ”s3:ListBucket” "Resource": "arn:aws:s3:::bucket name" } ] }…