devicefarm:DeleteInstanceProfile

Write

devicefarm:DeleteInstanceProfile is a Write access-level action in the devicefarm service. Grants permission to delete a user-generated instance profile

Resource types

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

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

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters actions based on tag-value assoicated with the resource

Example IAM policy

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

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

Related actions in devicefarm

View all devicefarm actions →