Created
January 20, 2019 11:36
-
-
Save mlabouardy/737e8ff2af00a2b37087d84e8e7cbd96 to your computer and use it in GitHub Desktop.
Allow CloudWatch to stream logs to Kinesis
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
{ | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": "kinesis:PutRecord", | |
"Resource": "arn:aws:kinesis:AWS_REGION:ACOUNT_ID:stream/cloudwatch-logs" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": "iam:PassRole", | |
"Resource": "arn:aws:iam::ACOUNT_ID:role/CloudWatchStreamToKinesisRole" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment