User / Sub-Resource / Policy

Policy#

IAM.User.Policy(name)#

Creates a UserPolicy resource.:

user_policy = user.Policy('name')
Parameters:

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

Return type:

IAM.UserPolicy

Returns:

A UserPolicy resource