devicefarm:ListArtifacts

List

devicefarm:ListArtifacts is a List access-level action in the devicefarm service. Grants permission to list the artifacts in a project

Resource types

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

arn:${Partition}:devicefarm:${Region}:${Account}:job:${ResourceId}
job
arn:${Partition}:devicefarm:${Region}:${Account}:run:${ResourceId}
run
arn:${Partition}:devicefarm:${Region}:${Account}:suite:${ResourceId}
suite
arn:${Partition}:devicefarm:${Region}:${Account}:test:${ResourceId}
test

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters actions based on tag-value assoicated with the resource

Example IAM policy

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

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

Related actions in devicefarm

View all devicefarm actions →