Skip to content

Instantly share code, notes, and snippets.

@jordanfarrer
Last active November 3, 2015 20:18
Show Gist options
  • Save jordanfarrer/c83b894898553e84b452 to your computer and use it in GitHub Desktop.
Save jordanfarrer/c83b894898553e84b452 to your computer and use it in GitHub Desktop.
IAM Role Policy for a Lambda function that needs to be able to send email using SES.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": "arn:aws:logs:*:*:*"
},
{
"Effect": "Allow",
"Action": [
"ses:SendEmail",
"ses:SendRawEmail"
],
"Resource": "*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment