Created
April 24, 2016 19:37
-
-
Save jordangraft/8e8698ac3557e2733d7b8dce57f19008 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2008-10-17", | |
"Statement": [ | |
{ | |
"Sid": "GiveSESPermissionToWriteEmail", | |
"Effect": "Allow", | |
"Principal": { | |
"Service": [ | |
"ses.amazonaws.com" | |
] | |
}, | |
"Action": [ | |
"s3:PutObject" | |
], | |
"Resource": "arn:aws:s3:::BUCKET-NAME/*", | |
"Condition": { | |
"StringEquals": { | |
"aws:Referer": "ACCOUNT-ID-WITHOUT-HYPHENS" | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment