one:GetDeviceInstance

Read

one:GetDeviceInstance is a Read access-level action in the one service. Grants permission to view a Device Instance

Resource types

ARNs that one:GetDeviceInstance can be scoped to in an IAM policy.

arn:${Partition}:one:${Region}:${Account}:device-instance/${DeviceInstanceId}
device-instance

Condition keys

Keys you can use in the Condition block of a policy that grants one:GetDeviceInstance.

aws:ResourceTag/${TagKey} String

Filters access by using tag key-value pairs attached to the resource

Example IAM policy

A minimal policy that allows one:GetDeviceInstance. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowOneGetDeviceInstance",
      "Effect": "Allow",
      "Action": "one:GetDeviceInstance",
      "Resource": "*"
    }
  ]
}

Related actions in one

View all one actions →