Container for the parameters to the PutGroupPolicy operation.

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 more information, see Making Query Requests in Using AWS Identity and Access Management.

Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class PutGroupPolicyRequest : AmazonWebServiceRequest
Public Class PutGroupPolicyRequest _
	Inherits AmazonWebServiceRequest
public ref class PutGroupPolicyRequest : public AmazonWebServiceRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
PutGroupPolicyRequest()()()()
Initializes a new instance of the PutGroupPolicyRequest class
Equals(Object)
Determines whether the specified Object is equal to the current 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:

Length
1 - 128
Pattern
[\w+=,.@-]*

PolicyDocument
The policy document.

Constraints:

Length
1 - 131072
Pattern
[\u0009\u000A\u000D\u0020-\u00FF]+

PolicyName
Name of the policy document.

Constraints:

Length
1 - 128
Pattern
[\w+=,.@-]*

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

Inheritance Hierarchy

System..::..Object
  Amazon.Runtime..::..AmazonWebServiceRequest
    Amazon.IdentityManagement.Model..::..PutGroupPolicyRequest

See Also