Update IAM policy block json (#4814)

This commit is contained in:
Jim Galasyn 2017-10-05 14:04:22 -07:00 committed by GitHub
parent 75ade4c034
commit da0e5d2b38
1 changed files with 4 additions and 2 deletions

View File

@ -44,7 +44,8 @@ Here's an example of a policy like that:
"Effect": "Allow", "Effect": "Allow",
"Action": [ "Action": [
"s3:ListBucket", "s3:ListBucket",
"s3:GetBucketLocation" "s3:GetBucketLocation",
"s3:ListBucketMultipartUploads"
], ],
"Resource": "arn:aws:s3:::<bucket-name>" "Resource": "arn:aws:s3:::<bucket-name>"
}, },
@ -53,7 +54,8 @@ Here's an example of a policy like that:
"Action": [ "Action": [
"s3:PutObject", "s3:PutObject",
"s3:GetObject", "s3:GetObject",
"s3:DeleteObject" "s3:DeleteObject",
"s3:ListBucketMultipartUploads"
], ],
"Resource": "arn:aws:s3:::<bucket-name>/*" "Resource": "arn:aws:s3:::<bucket-name>/*"
} }