Skip to content

Instantly share code, notes, and snippets.

@mlabouardy
Created January 20, 2019 11:36
Show Gist options
  • Save mlabouardy/737e8ff2af00a2b37087d84e8e7cbd96 to your computer and use it in GitHub Desktop.
Save mlabouardy/737e8ff2af00a2b37087d84e8e7cbd96 to your computer and use it in GitHub Desktop.
Allow CloudWatch to stream logs to Kinesis
{
"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