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