Created
February 20, 2020 10:05
-
-
Save QuynhVir/362f95d2a8c5e686481e77bc507456ad to your computer and use it in GitHub Desktop.
restrict SMTP credentials to specific sender in Amazon SES
This file contains 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
{ | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ses:SendRawEmail" | |
], | |
"Condition": { | |
"StringEquals": { | |
"ses:FromAddress": "do-not-reply@example.com" | |
} | |
}, | |
"Resource": [ | |
"*" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment