iot:GetConnection is a Write access-level action in the iot service. Grants permission to retrieve the specified connection information
ARNs that iot:GetConnection can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants iot:GetConnection.
Filters access by GetConnection and GetThingConnectivityData includeSocketInformation request parameter
A minimal policy that allows iot:GetConnection. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowIotGetConnection",
"Effect": "Allow",
"Action": "iot:GetConnection",
"Resource": "*"
}
]
}