devicefarm:StopRun

Write

devicefarm:StopRun is a Write access-level action in the devicefarm service. Grants permission to terminate a running test run

Resource types

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

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

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters actions based on tag-value assoicated with the resource

Example IAM policy

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

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

Related actions in devicefarm

View all devicefarm actions →