Instructions for configuring AWS resources manually
Benefits of using Cloudfront
Permission | Why it’s needed |
---|---|
s3:PutObject | Used to upload the data generated from your Google Sheet(s) to your S3 bucket |
s3:DeleteObject | Used to delete an item from S3 when you perform an action in Startsheet to initiate a deletion (such as deleting an environment). Starsheet never deletes data unless you initiate it. |
s3:PutObjectAcl | Used to set permissions on an item to make them publicly available or private. |
s3:GetObject | Used to copy a content version to an environment when publishing to an environment |
Permission | Why it’s needed |
---|---|
cloudfront:GetDistribution | Used by Starsheet to get the Cloudfront Domain Name and any Custom Domain Names mapped to the Cloudfront Distribution, which are used to generate the correct content URLs in the Startsheet application. |
cloudfront:CreateInvalidation | When publishing content to an environment, Starsheet will automatically create an invalidation request to clear Cloudfront’s CDN cache of old versions of the content to ensure that new requests return the updated content as quickly as possible. |
String | Replace With |
---|---|
{S3_BUCKET_NAME} | The unique name you gave your bucket when it was created (available here) |
{CLOUDFRONT_DISTRIBUTION_ID} | The ID of your Cloudfront Distribution (available here) |
{AWS_ACCOUNT_ID} | Your AWS account ID (available here) |
Using a IAM Role
arn:aws:iam::000000000000:role/your-role-name
Using a IAM User