RoleReference
- class aws_cdk.aws_iam.RoleReference(*, role_arn, role_name)
Bases:
object
A reference to a Role resource.
- Parameters:
role_arn (
str
) – The ARN of the Role resource.role_name (
str
) – The RoleName of the Role resource.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_iam as iam role_reference = iam.RoleReference( role_arn="roleArn", role_name="roleName" )
Attributes
- role_arn
The ARN of the Role resource.
- role_name
The RoleName of the Role resource.