Created
August 8, 2021 14:31
-
-
Save garystafford/efb6aa329a88ab7d11e1f3d7e5d7879e to your computer and use it in GitHub Desktop.
This file contains 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": [ | |
{ | |
"Effect": "Allow", | |
"Action": "kafka-cluster:*", | |
"Resource": [ | |
"arn:aws:kafka:us-east-1:111222333444:cluster/*/*", | |
"arn:aws:kafka:us-east-1:111222333444:group/*/*/*", | |
"arn:aws:kafka:us-east-1:111222333444:transactional-id/*/*/*", | |
"arn:aws:kafka:us-east-1:111222333444:topic/*/*/*" | |
] | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"s3:ListAllMyBuckets" | |
], | |
"Resource": "arn:aws:s3:us-east-1:111222333444:*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"s3:ListBucket", | |
"s3:GetBucketLocation" | |
], | |
"Resource": "arn:aws:s3:us-east-1:111222333444:<your-bucket-name>" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"s3:PutObject", | |
"s3:GetObject", | |
"s3:AbortMultipartUpload", | |
"s3:ListMultipartUploadParts", | |
"s3:ListBucketMultipartUploads" | |
], | |
"Resource": "arn:aws:s3:us-east-1:111222333444:<your-bucket-name>/*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment