iot:ListThingGroupsForThing is a List access-level action in the iot service. Grants permission to list thing groups to which the specified thing belongs
ARNs that iot:ListThingGroupsForThing can be scoped to in an IAM policy.
No condition keys are documented for this action.
A minimal policy that allows iot:ListThingGroupsForThing. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowIotListThingGroupsForThing",
"Effect": "Allow",
"Action": "iot:ListThingGroupsForThing",
"Resource": "*"
}
]
}