Skip to main content

AWS S3

Read our step-by-step guide to provision a S3 bucket

This document outlines what is required to receive Unacast Data to your S3 bucket.

You need to provide your Unacast representative the following information, when the requirements below are met:

  1. The name of the bucket you want to receive data on
  2. The region the bucket is in (e.g. us-east-1)
  3. The prefix (if any), which Unacast should deliver data within
  4. Any custom file-delivery options. See File Delivery Options for more details

Bucket Access Policy

To allow Unacast to delivery data to your S3 bucket, the following Bucket Policy is required:

{
"Statement": [
{
"Action": [
"s3:PutObject",
"s3:PutObjectAcl",
"s3:PutObjectVersionAcl",
"s3:PutObjectTagging",
"s3:PutObjectVersionTagging",
"s3:GetObject"
],
"Effect": "Allow",
"Principal": {
"AWS": [
"arn:aws:iam::024015676143:user/unacast-file-delivery"
]
},
"Resource": "arn:aws:s3:::{{bucketName}}/{{data prefix}}/*"
"Sid": "UnacastWrite",
},
{
"Action": "s3:ListBucket",
"Effect": "Allow",
"Principal": {
"AWS": [
"arn:aws:iam::024015676143:user/unacast-file-delivery"
]
},
"Resource": "arn:aws:s3:::{{bucketName}}",
"Condition": {
"StringLike": {
"s3:prefix": "{{data prefix}}/*"
}
},
"Sid": "UnacastVerify"
}
],
"Version": "2012-10-17"
}

Replace {{bucketName}} with the actual bucket name 2 places, and replace {{data prefix}} with the actual prefix (or remove the placeholder and the trailing slash (ie {{data prefix}}/) if no prefix are to be used) in the template above