Skip to content

Instantly share code, notes, and snippets.

@eksiscloud
Last active October 26, 2019 18:12
Show Gist options
  • Select an option

  • Save eksiscloud/f8948a38819471c0031435d9d8597cff to your computer and use it in GitHub Desktop.

Select an option

Save eksiscloud/f8948a38819471c0031435d9d8597cff to your computer and use it in GitHub Desktop.
AWS Lambda: Custom IAM user policy for SES forwarding
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": "arn:aws:logs:*:*:*"
},
{
"Effect": "Allow",
"Action": "ses:SendRawEmail",
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:PutObject"
],
"Resource": "arn:aws:s3:::YOUR-S3-BUCKET-NAME/*"
}
]
}
@eksiscloud

eksiscloud commented Oct 26, 2019

Copy link
Copy Markdown
Author

This is here just for linking purposes.

Original is here: https://github.com/arithmetric/aws-lambda-ses-forwarder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment