jsii icon indicating copy to clipboard operation
jsii copied to clipboard

Cannot build interface necessary for flink.Application property

Open peterwoodworth opened this issue 3 years ago • 1 comments

:bug: Bug Report

Affected Languages

  • [ ] TypeScript or Javascript
  • [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

peterwoodworth avatar Nov 10 '21 22:11 peterwoodworth

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

BlissfulDarkness avatar Apr 04 '22 21:04 BlissfulDarkness