AttachGroupPolicy
GET /?Action=AttachGroupPolicy
Description
Attaches a managed policy to a specific group. This policy applies to all the users contained in this group.
Body parameter
Required: false
Name: AttachGroupPolicyRequest
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
GroupName |
The friendly name given to the group you want to attach the policy to (between 1 and 128 characters). |
true |
string |
||
PolicyArn |
The unique resource identifier for the policy (between 20 and 2048 characters). |
true |
string |
Responses
HTTP Code 200
| HTTP Code | Description | Schema |
|---|---|---|
200 |
AttachGroupPolicyResponse |
Response 200
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
ResponseMetadata |
Information about the response. |
false |