-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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_s3.Bucket: add_event_notification example doesn't work #27038
Comments
Weird, the comment is correct here. Maybe whatever is rending the Python docs has a bug? |
That link just has |
@bencaldwell Take a look here: #8100. They mention limitations in Python doc generation. |
Hi @bencaldwell , python and other language docs are generated by jsii-codegen and our original documentation is written in typescript. Thanks @msambol , you are correct. That's a limitation correctly mentioned. Here is an actual example of adding event notification in typescript- https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.Bucket.html#addwbreventwbrnotificationevent-dest-filters -
Hope that helps! |
|
Describe the issue
This is the example from the docs:
cdk synth throws an error from this:
TypeError: BucketBase.add_event_notification() got an unexpected keyword argument 'prefix'
The below is what I ended up having to use. Perhaps the example should be changed to something like this:
Links
https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_s3/Bucket.html
The text was updated successfully, but these errors were encountered: