You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc)
The text was updated successfully, but these errors were encountered:
* fix(iam): make User implement IUser
Languages using nominal typing (Java, C#) require this annotation
to be able to pass a User object where an IUser is expected.
Fixes#3490.
* Fix linter errors
I'm submitting a ...
What is the current behavior?
The class
User
and the interfaceIUser
separately inherit fromIIdentity
and define the propertiesuserName
andaddToGroup
(source).This means that you can't take a
User
that you created and pass it toGroup.addUser()
You should be able to take a
User
object and add it to a group (you can go the other way, becauseGroup
implementsIGroup
).Being able to write a CDK script that adds users to groups.
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc)
The text was updated successfully, but these errors were encountered: