Created
June 21, 2018 10:13
-
-
Save koladilip/3c5c96ea917553d86c617c68d0f8efac to your computer and use it in GitHub Desktop.
Policy for Lambda function to export Cloudwatch logs to S3
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": "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