C# 클래스 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.

상속: AmazonIdentityManagementServiceRequest
파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
IsSetGroupName ( ) : bool
IsSetPolicyDocument ( ) : bool
IsSetPolicyName ( ) : bool

메소드 상세

PutGroupPolicyRequest() 공개 메소드

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

PutGroupPolicyRequest() 공개 메소드

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).
리턴 System