-
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_kinesisanalytics: Configuring a vpc #17159
Comments
Hey @JoeKodsi-Idealworks, Our Any feature requests for these constructs would best go directly to CloudFormation's coverage roadmap. Thanks! |
This is actually a documented issue already - aws-cloudformation/cloudformation-coverage-roadmap#547 be sure to give a thumbs up! |
Also, export interface PropertyGroups {
readonly [propertyId: string]: {[mapKey: string]: string};
} I don't usually use Python so I don't know off the top of my head how you would use this in Python, but I can look into that |
Hello @peterwoodworth I appreciate the quick reply! Concerning the bug I mentioned, I guess to make sure that it is actually a bug one would need to create a aws-cdk/aws-kinesisanalytics-flink.Application. class PropertyGroups:
def __init__(self) -> None:
'''(experimental) Interface for building AWS::KinesisAnalyticsV2::Application PropertyGroup configuration.
:stability: experimental
'''
self._values: typing.Dict[str, typing.Any] = {}
def __eq__(self, rhs: typing.Any) -> builtins.bool:
return isinstance(rhs, self.__class__) and rhs._values == self._values
def __ne__(self, rhs: typing.Any) -> builtins.bool:
return not (rhs == self)
def __repr__(self) -> str:
return "PropertyGroups(%s)" % ", ".join(
k + "=" + repr(v) for k, v in self._values.items()
) I hope this helps you figure out my problem. After I faced this roadblock I resorted then to the Cfn class Thanks a lot for the support! |
Hey @peterwoodworth , hope all is good on your end. Do you have any input for me regarding my last comment? Thanks again and I hope this doesn't turn out to be a waste of time for you! |
Hey @JoeKodsi-Idealworks, thanks for reminding me to look at this again I was able to reproduce what you found - and wasn't able to figure out how to use the PropertyGroups interface in python. I'm not entirely sure if it's a bug, since I don't typically use Python, but it does seem to me like something weird is going on here. We should document this in a separate issue. I'll do that by the end of today |
I've created a new issue for this in the jsii repo, let's see what they say |
Hey @peterwoodworth great to hear! I guess then this feature-request/issue can be closed and one could follow the outcome here: aws/jsii#3154 If you agree, this ticket can be closed when you see fit. Thanks again for all the support |
|
Description
Hey,
I have looked thoroughly through aws cdk documentation but couldn't find any way to configure a Kinesis Data Analytics Application with a VPC.
Is there a way to configure the networking of a Kinesis Data Analytics Application (adding vpc + subnets + security group)?
Use Case
This feature is needed in our use case to allow access for the Flink java application to access resources within our VPC.
Say we needed to communicate with AmazonMQ that resides in a private subnet, how would our Kinesis Data Analytics Application reach the queue server?
Proposed Solution
I am not sure how this could be implemented but as an end goal I could see a parameter within the aws_kinesisanalytics.CfnApplicationV2.ApplicationConfigurationProperty Object as such:
networking_configuration_property of type:
that accepts the follwing:
Other information
I am not certain this is relevant but:
I am using Python: 3.6.8
cdk: 1.129.0 (build fb43f89)
the issue I based my work upon: #12407
The PR that addressed the above issue: #12464
related to the above but on another note:
I found a bug in a generated example under the following construct:
In Python 'PropertyGroups' is an abstract class that doesn't accept any params:
https://docs.aws.amazon.com/cdk/api/latest/python/aws_cdk.aws_kinesisanalytics_flink/PropertyGroups.html
Acknowledge
The text was updated successfully, but these errors were encountered: