-
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
events_targets: AttributeError: module 'aws_cdk.aws_events_targets' has no attribute 'Tag' #27338
Comments
@pascalgulikers , could you try adding tags like this instead of the above mentioned -
Let me know if it works. |
@pascalgulikers you'll need to supply it as an array like described above, but that's not what would result in the error you've seen. It seems to me like your packages might not be installed correctly on the version you described, try making sure your installed packages are up to date and the property should exist, it works for me on recent versions, including the latest |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Describe the bug
When trying to use Tag (https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_events_targets/Tag.html#aws_cdk.aws_events_targets.Tag), it is not recognized and an error is thrown: AttributeError: module 'aws_cdk.aws_events_targets' has no attribute 'Tag'
Expected Behavior
No error, but the processing of tags
Current Behavior
Exception with error
Reproduction Steps
Result:
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.99.0
Framework Version
No response
Node.js Version
18
OS
Ubuntu Linux
Language
Python
Language Version
3.11.5
Other information
No response
The text was updated successfully, but these errors were encountered: