iot:OpenTunnel is a Write access-level action in the iot service. Grants permission to open a tunnel
This action does not support resource-level permissions; use "Resource": "*" in your policy.
Keys you can use in the Condition block of a policy that grants iot:OpenTunnel.
Filters access by a tag key that is present in the request
Filters access by a list of tag keys associated to the IoT resource in the request
Filters access by a list of IoT Thing Group ARNs that the destination IoT Thing belongs to for an IoT Tunnel
Filters access by a list of destination services for an IoT Tunnel
A minimal policy that allows iot:OpenTunnel. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowIotOpenTunnel",
"Effect": "Allow",
"Action": "iot:OpenTunnel",
"Resource": "*"
}
]
}