iot:OpenTunnel

Write

iot:OpenTunnel is a Write access-level action in the iot service. Grants permission to open a tunnel

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

Keys you can use in the Condition block of a policy that grants iot:OpenTunnel.

aws:RequestTag/${TagKey} String

Filters access by a tag key that is present in the request

aws:TagKeys ArrayOfString

Filters access by a list of tag keys associated to the IoT resource in the request

iot:ThingGroupArn ArrayOfARN

Filters access by a list of IoT Thing Group ARNs that the destination IoT Thing belongs to for an IoT Tunnel

iot:TunnelDestinationService ArrayOfString

Filters access by a list of destination services for an IoT Tunnel

Example IAM policy

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": "*"
    }
  ]
}

Related actions in iot

View all iot actions →