Skip to main content

Template for AWS Policy in Data Credential

This topic provides an AWS Policy template for the Service IAM Role of the S3 Bucket referenced in the Data Credential. It is the pre-requisite step for the AWS Policy referenced in Deployment Credential.

note

Replace <bucket_name> in the following template with the name of your S3 Bucket.

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:PutBucketCORS",
"s3:ListBucket"
],
"Resource": "arn:aws:s3:::<bucket_name>"
},
{
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:DeleteObject"
],
"Resource": "arn:aws:s3:::<bucket_name>/*"
}
]
}