devicefarm:UpdateDeviceInstance

Write

devicefarm:UpdateDeviceInstance is a Write access-level action in the devicefarm service. Grants permission to modify an existing device instance

Resource types

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

arn:${Partition}:devicefarm:${Region}::deviceinstance:${ResourceId}
deviceinstance
arn:${Partition}:devicefarm:${Region}:${Account}:instanceprofile:${ResourceId}
instanceprofile

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters actions based on tag-value assoicated with the resource

Example IAM policy

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

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

Related actions in devicefarm

View all devicefarm actions →