Skip to content

Latest commit

 

History

History
24 lines (22 loc) · 540 Bytes

policy-cheatsheet.md

File metadata and controls

24 lines (22 loc) · 540 Bytes

Cloudfront:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "s3:PutObject",
                "cloudfront:UpdateDistribution",
                "cloudfront:CreateInvalidation"
            ],
            "Resource": [
                "arn:aws:s3:::bucket-name",
                "arn:aws:s3:::bucket-name/*",
                "arn:aws:cloudfront::user-id:distribution/distribution-id"
            ]
        }
    ]
}