Role / Sub-Resource / Policy
Policy#
- IAM.Role.Policy(name)#
Creates a RolePolicy resource.:
role_policy = role.Policy('name')
- Parameters:
name (string) – The Policy’s name identifier. This must be set.
- Return type:
- Returns:
A RolePolicy resource