ServiceResource / Sub-Resource / UserPolicy

UserPolicy#

IAM.ServiceResource.UserPolicy(user_name, name)#

Creates a UserPolicy resource.:

user_policy = iam.UserPolicy('user_name','name')
Parameters:
  • user_name (string) – The UserPolicy’s user_name identifier. This must be set.

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

Return type:

IAM.UserPolicy

Returns:

A UserPolicy resource