Container for the parameters to the PutUserPolicy operation.
Adds (or updates) a policy document associated with the specified user. For information
about policies, refer to Overview of Policies in Using AWS Identity and Access Management.
For information about limits on the number of policies you can associate with a user, see Limitations on IAM Entities in Using AWS Identity and Access Management.
![]() |
---|
Because policy documents can be large, you should use POST rather than GET
when calling ![]() PutUserPolicy |

C# |
public class PutUserPolicyRequest : AmazonWebServiceRequest

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | PutUserPolicyRequest()()()() | Initializes a new instance of the PutUserPolicyRequest class |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()()() | Gets the type of the current instance. (Inherited from Object.) |
![]() | PolicyDocument |
Gets and sets the property PolicyDocument.
The policy document. |
![]() | PolicyName |
Gets and sets the property PolicyName.
Name of the policy document. |
![]() | ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
![]() | UserName |
Gets and sets the property UserName.
Name of the user to associate the policy with. |
![]() | WithPolicyDocument(String) | Obsolete.
Sets the PolicyDocument property
|
![]() | WithPolicyName(String) | Obsolete.
Sets the PolicyName property
|
![]() | WithUserName(String) | Obsolete.
Sets the UserName property
|

Object | ||
![]() | AmazonWebServiceRequest | |
![]() | PutUserPolicyRequest |