Skip to main content

group

Gets an individual group resource

Overview

Namegroup
TypeResource
Descriptiongroup
Idawscc.iam.group

Fields

NameDatatypeDescription
arnstringThe Arn of the group to create
group_namestringThe name of the group to create
managed_policy_arnsarrayA list of Amazon Resource Names (ARNs) of the IAM managed policies that you want to attach to the role.
pathstringThe path to the group
policiesarrayAdds or updates an inline policy document that is embedded in the specified IAM group
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
arn,
group_name,
managed_policy_arns,
path,
policies
FROM awscc.iam.group
WHERE data__Identifier = '<GroupName>';

Permissions

To operate on the group resource, the following permissions are required:

Read

iam:GetGroup,
iam:ListGroupPolicies,
iam:GetGroupPolicy,
iam:ListAttachedGroupPolicies

Update

iam:GetGroup,
iam:UpdateGroup,
iam:DetachGroupPolicy,
iam:AttachGroupPolicy,
iam:DeleteGroupPolicy,
iam:PutGroupPolicy,
iam:GetGroupPolicy

Delete

iam:GetGroup,
iam:DeleteGroup,
iam:ListAttachedGroupPolicies,
iam:ListGroupPolicies,
iam:DetachGroupPolicy,
iam:DeleteGroupPolicy,
iam:GetGroupPolicy