Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save koladilip/3c5c96ea917553d86c617c68d0f8efac to your computer and use it in GitHub Desktop.
Save koladilip/3c5c96ea917553d86c617c68d0f8efac to your computer and use it in GitHub Desktop.
Policy for Lambda function to export Cloudwatch logs to S3
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"logs:CreateExportTask",
"logs:DescribeExportTasks",
"logs:DescribeLogGroups"
],
"Resource": "*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment