resource-groups:GetGroupPolicy is a Read access-level action in the resource-groups service. Grants permission to get a resource-based policy for the specified group
ARNs that resource-groups:GetGroupPolicy can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants resource-groups:GetGroupPolicy.
Filters access by tag key-value pairs attached to the resource
A minimal policy that allows resource-groups:GetGroupPolicy. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowResourcegroupsGetGroupPolicy",
"Effect": "Allow",
"Action": "resource-groups:GetGroupPolicy",
"Resource": "*"
}
]
}