ListGroupPolicies
In this article:
ListGroupPolicies#
Description#
Returns the list of policies attached to an IAM group.
Request Parameters#
GroupArn — The Amazon Resource Name (ARN) of the group.
Type: String
Required: Yes
Response Elements#
Policies — The list of policies attached to the group.
Type: List of Policy objects
Examples#
Request
https://iam.k2.cloud/?Action=ListGroupPolicies
&GroupArn=arn:c2:iam::c2dev:group/group-1
Response
<ListGroupPoliciesResponse>
<ListGroupPoliciesResult>
<Policies>
<member>
<PolicyArn>arn:c2:iam:::policy/IAMFullAccess</PolicyArn>
<PolicyId>4e0b15b8-05bd-4f68-be2d-b87cc695cf9e</PolicyId>
<PolicyName>IAMFullAccess</PolicyName>
<Owner>provider</Owner>
<Type>global</Type>
<CreateDate>1716497399</CreateDate>
<UpdateDate>1723755663</UpdateDate>
<Description>Provides full access to IAM service.</Description>
</member>
</Policies>
</ListGroupPoliciesResult>
<requestId>b17acfd3-b6e0-4a58-9ed7-34758b7d8932</requestId>
<ResponseMetadata>
<RequestId>b17acfd3-b6e0-4a58-9ed7-34758b7d8932</RequestId>
</ResponseMetadata>
</ListGroupPoliciesResponse>
c2-iam ListGroupPolicies GroupArn arn:c2:iam::c2dev:group/group-1