-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[aws-kinesis] Read permissions to stream don't include kinesis:DescribeStreamConsumer #22184
Comments
edit my edit: |
…scribeStreamConsumer
…cribeStreamConsumer` (#22794) reopen [22727](#22727) Grant Read(Write) Permission Action "kinesis:DescribeStreamConsumer" It appears that the following actions had already been added "kinesis:SubscribeToShard", ref. https://docs.aws.amazon.com/streams/latest/dev/tutorial-stock-data-kplkcl2-iam.html Fixes #22184 ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)? * [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
Currently granting read permissions to a Kinesis stream doesn't include sufficient permissions for consumers that use fan-out mode. Note that the KCL library uses fan-out out mode by default, you have to opt out of it.
As a result event after using
stream.grantRead()
you see errors like this in your consumer:The required permissions are outlined at https://docs.aws.amazon.com/streams/latest/dev/tutorial-stock-data-kplkcl2-iam.html, the missing block that currently has to be added by hand is:
Use Case
stream.grantRead()
should allow a standard consumer using the KCL library with default settings to work without additional IAM policies.Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.43.0
Environment details (OS name and version, etc.)
MS-DOS 6.x
The text was updated successfully, but these errors were encountered: