(iam): from_role_name is missing in python #19116
Labels
guidance
Question that needs advice or information.
needs-triage
This issue or PR still needs to be triaged.
General Issue
from_role_name is missing in python
The Question
self.role = aws_iam.Role.from_role_name( self, id='role', role_name='ExampleRole' )
AttributeError: type object 'Role' has no attribute 'from_role_name'
https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_iam/Role.html#aws_cdk.aws_iam.Role.from_role_name
CDK CLI Version
2.8.0
Framework Version
No response
Node.js Version
No response
OS
No response
Language
Python
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: