devicefarm:GetDevice

Read

devicefarm:GetDevice is a Read access-level action in the devicefarm service. Grants permission to retrieve the information of a unique device type

Resource types

ARNs that devicefarm:GetDevice can be scoped to in an IAM policy.

arn:${Partition}:devicefarm:${Region}::device:${ResourceId}
device

Condition keys

Keys you can use in the Condition block of a policy that grants devicefarm:GetDevice.

aws:ResourceTag/${TagKey} String

Filters actions based on tag-value assoicated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowDevicefarmGetDevice",
      "Effect": "Allow",
      "Action": "devicefarm:GetDevice",
      "Resource": "*"
    }
  ]
}

Related actions in devicefarm

View all devicefarm actions →