Adds (or updates) a policy document associated with the specified group. 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 group, see Limitations on IAM Entities in Using AWS Identity and Access Management .
NOTE:Because policy documents can be large, you should use POST rather than GET when calling PutGroupPolicy. For information about setting up signatures and authorization through the API, go to Signing AWS API Requests in the AWS General Reference. For general information about using the Query API with IAM, go to Making Query Requests in Using IAM.
| C# |
public class PutGroupPolicyRequest : AmazonWebServiceRequest
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| PutGroupPolicyRequest()()()() | Initializes a new instance of the PutGroupPolicyRequest 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.) | |
| GroupName |
Name of the group to associate the policy with.
Constraints: | |
| PolicyDocument |
The policy document.
Constraints: | |
| PolicyName |
Name of the policy document.
Constraints: | |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| WithGroupName(String) |
Sets the GroupName property
| |
| WithPolicyDocument(String) |
Sets the PolicyDocument property
| |
| WithPolicyName(String) |
Sets the PolicyName property
|
| Object | ||
| AmazonWebServiceRequest | ||
| PutGroupPolicyRequest | ||