jsii
jsii copied to clipboard
Cannot build interface necessary for flink.Application property
:bug: Bug Report
Affected Languages
- [ ]
TypeScript
orJavascript
- [X]
Python
- [ ]
Java
- [ ] .NET (
C#
,F#
, ...) - [ ]
Go
What is the problem?
Following the documentation described in the Flink readme will result in a build failure
flink.Application(self, 'app',
property_groups=flink.PropertyGroups(FlinkApplicationProperties={
"input_stream_name": "MyName"
})
)
There doesn't seem to be any other ways of properly inputting the property here either. Maybe there's something I'm missing?
Error message
TypeError: __init__() got an unexpected keyword argument 'FlinkApplicationProperties'
The interface PropertyGroups
is defined in typescript here
Other
This was originally reported and is described in further detail here
I can confirm that this affects the Java CDK as well (at least through CDK v1, I haven't tested on CDK v2). This is also documented on StackOverflow with no current answer or workaround (from 10 months ago): https://stackoverflow.com/questions/67878668/aws-cdk-java-api-propertygroups-builder-not-working