ServiceResource / Sub-Resource / AssumeRolePolicy

AssumeRolePolicy#

IAM.ServiceResource.AssumeRolePolicy(role_name)#

Creates a AssumeRolePolicy resource.:

assume_role_policy = iam.AssumeRolePolicy('role_name')
Parameters:

role_name (string) – The AssumeRolePolicy’s role_name identifier. This must be set.

Return type:

IAM.AssumeRolePolicy

Returns:

A AssumeRolePolicy resource