ServiceResource / Sub-Resource / RolePolicy

RolePolicy#

IAM.ServiceResource.RolePolicy(role_name, name)#

Creates a RolePolicy resource.:

role_policy = iam.RolePolicy('role_name','name')
Parameters:
  • role_name (string) – The RolePolicy’s role_name identifier. This must be set.

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

Return type:

IAM.RolePolicy

Returns:

A RolePolicy resource