ServiceResource / Sub-Resource / Role

Role#

IAM.ServiceResource.Role(name)#

Creates a Role resource.:

role = iam.Role('name')
Parameters:

name (string) – The Role’s name identifier. This must be set.

Return type:

IAM.Role

Returns:

A Role resource