C# Class Amazon.IdentityManagement.Model.PutGroupPolicyRequest

Container for the parameters to the PutGroupPolicy operation. Adds or updates an inline policy document that is embedded in the specified IAM group.

A user can also have managed policies attached to it. To attach a managed policy to a group, use AttachGroupPolicy. To create a new managed policy, use CreatePolicy. For information about policies, see Managed Policies and Inline Policies in the IAM User Guide.

For information about limits on the number of inline policies that you can embed in a group, see Limitations on IAM Entities in the IAM User Guide.

Because policy documents can be large, you should use POST rather than GET when calling PutGroupPolicy. For general information about using the Query API with IAM, go to Making Query Requests in the IAM User Guide.

Inheritance: AmazonIdentityManagementServiceRequest
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
PutGroupPolicyRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

PutGroupPolicyRequest ( string groupName, string policyName, string policyDocument ) : System

Instantiates PutGroupPolicyRequest with the parameterized properties

Private Methods

Method Description
IsSetGroupName ( ) : bool
IsSetPolicyDocument ( ) : bool
IsSetPolicyName ( ) : bool

Method Details

PutGroupPolicyRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public PutGroupPolicyRequest ( ) : System
return System

PutGroupPolicyRequest() public method

Instantiates PutGroupPolicyRequest with the parameterized properties
public PutGroupPolicyRequest ( string groupName, string policyName, string policyDocument ) : System
groupName string The name of the group to associate the policy with. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
policyName string The name of the policy document. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
policyDocument string The policy document. This parameter allows (per its regex pattern) a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range (\u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D).
return System