devicefarm:ListTestGridSessions

List

devicefarm:ListTestGridSessions is a List access-level action in the devicefarm service. Grants permission to list the sessions within a test grid project

Resource types

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

arn:${Partition}:devicefarm:${Region}:${Account}:testgrid-project:${ResourceId}
testgrid-project

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters actions based on tag-value assoicated with the resource

Example IAM policy

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

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

Related actions in devicefarm

View all devicefarm actions →