Actions, resources, and condition keys for AWS Device Farm
AWS Device Farm (service prefix: devicefarm) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by AWS Device Farm
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
CreateDevicePool |
Write |
|||
|
CreateInstanceProfile |
Write |
|||
|
CreateNetworkProfile |
Write |
|||
|
CreateProject |
Write |
|||
iam:PassedToService |
devicefarm.amazonaws.com |
Write |
||
|
CreateRemoteAccessSession |
Write |
|||
|
CreateTestGridProject |
Write |
|||
|
CreateTestGridUrl |
Write |
|||
|
CreateUpload |
Write |
|||
|
CreateVPCEConfiguration |
Write |
|||
|
DeleteDevicePool |
Write |
|||
|
DeleteInstanceProfile |
Write |
|||
|
DeleteNetworkProfile |
Write |
|||
|
DeleteProject |
Write |
|||
|
DeleteRemoteAccessSession |
Write |
|||
|
DeleteRun |
Write |
|||
|
DeleteTestGridProject |
Write |
|||
|
DeleteUpload |
Write |
|||
|
DeleteVPCEConfiguration |
Write |
|||
|
GetAccountSettings |
Read |
|||
|
GetDevice |
Read |
|||
|
GetDeviceInstance |
Read |
|||
|
GetDevicePool |
Read |
|||
|
GetDevicePoolCompatibility |
Read |
|||
|
GetInstanceProfile |
Read |
|||
|
GetJob |
Read |
|||
|
GetNetworkProfile |
Read |
|||
|
GetOfferingStatus |
Read |
|||
|
GetProject |
Read |
|||
|
GetRemoteAccessSession |
Read |
|||
|
GetRun |
Read |
|||
|
GetSuite |
Read |
|||
|
GetTest |
Read |
|||
|
GetTestGridProject |
Read |
|||
|
GetTestGridSession |
Read |
|||
|
GetUpload |
Read |
|||
|
GetVPCEConfiguration |
Read |
|||
|
InstallToRemoteAccessSession |
Write |
|||
|
ListArtifacts |
List |
|||
|
ListDeviceInstances |
List |
|||
|
ListDevicePools |
List |
|||
|
ListDevices |
List |
|||
|
ListInstanceProfiles |
List |
|||
|
ListJobs |
List |
|||
|
ListNetworkProfiles |
List |
|||
|
ListOfferingPromotions |
List |
|||
|
ListOfferingTransactions |
List |
|||
|
ListOfferings |
List |
|||
|
ListProjects |
List |
|||
|
ListRemoteAccessSessions |
List |
|||
|
ListRuns |
List |
|||
|
ListSamples |
List |
|||
|
ListSuites |
List |
|||
|
ListTagsForResource |
List |
|||
|
ListTestGridProjects |
List |
|||
|
ListTestGridSessionActions |
List |
|||
|
ListTestGridSessionArtifacts |
List |
|||
|
ListTestGridSessions |
List |
|||
|
ListTests |
List |
|||
|
ListUniqueProblems |
List |
|||
|
ListUploads |
List |
|||
|
ListVPCEConfigurations |
List |
|||
|
PurchaseOffering |
Write |
|||
|
RenewOffering |
Write |
|||
|
ScheduleRun |
Write |
|||
iam:PassedToService |
devicefarm.amazonaws.com |
Write |
||
|
StopJob |
Write |
|||
|
StopRemoteAccessSession |
Write |
|||
|
StopRun |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateDeviceInstance |
Write |
|||
|
UpdateDevicePool |
Write |
|||
|
UpdateInstanceProfile |
Write |
|||
|
UpdateNetworkProfile |
Write |
|||
|
UpdateProject |
Write |
|||
iam:PassedToService |
devicefarm.amazonaws.com |
Write |
||
|
UpdateTestGridProject |
Write |
|||
|
UpdateUpload |
Write |
|||
|
UpdateVPCEConfiguration |
Write |
Actions defined by AWS Device Farm
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform an operation in AWS. When
you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to create a device pool within a project |
Write |
|||
Grants permission to create a device instance profile |
Write |
|||
Grants permission to create a network profile within a project |
Write |
|||
Grants permission to create a project for mobile testing |
Write |
|||
Grants permission to start a remote access session to a device instance |
Write |
|||
Grants permission to create a project for desktop testing |
Write |
|||
Grants permission to generate a new pre-signed url used to access our test grid service |
Write |
|||
Grants permission to upload a new file or app within a project |
Write |
|||
Grants permission to create an Amazon Virtual Private Cloud (VPC) endpoint configuration |
Write |
|||
Grants permission to delete a user-generated device pool |
Write |
|||
Grants permission to delete a user-generated instance profile |
Write |
|||
Grants permission to delete a user-generated network profile |
Write |
|||
Grants permission to delete a mobile testing project |
Write |
|||
Grants permission to delete a completed remote access session and its results |
Write |
|||
Grants permission to delete a run |
Write |
|||
Grants permission to delete a desktop testing project |
Write |
|||
Grants permission to delete a user-uploaded file |
Write |
|||
Grants permission to delete an Amazon Virtual Private Cloud (VPC) endpoint configuration |
Write |
|||
Grants permission to retrieve the number of unmetered iOS and/or unmetered Android devices purchased by the account |
Read |
|||
Grants permission to retrieve the information of a unique device type |
Read |
|||
Grants permission to retireve the information of a device instance |
Read |
|||
Grants permission to retireve the information of a device pool |
Read |
|||
Grants permission to retrieve information about the compatibility of a test and/or app with a device pool |
Read |
|||
Grants permission to retireve the information of an instance profile |
Read |
|||
Grants permission to retireve the information of a job |
Read |
|||
Grants permission to retireve the information of a network profile |
Read |
|||
Grants permission to retrieve the current status and future status of all offerings purchased by an AWS account |
Read |
|||
Grants permission to retrieve information about a mobile testing project |
Read |
|||
Grants permission to retireve the link to a currently running remote access session |
Read |
|||
Grants permission to retireve the information of a run |
Read |
|||
Grants permission to retireve the information of a testing suite |
Read |
|||
Grants permission to retireve the information of a test case |
Read |
|||
Grants permission to retrieve information about a desktop testing project |
Read |
|||
Grants permission to retireve the information of a test grid session |
Read |
|||
Grants permission to retireve the information of an uploaded file |
Read |
|||
Grants permission to retireve the information of an Amazon Virtual Private Cloud (VPC) endpoint configuration |
Read |
|||
Grants permission to install an application to a device in a remote access session |
Write |
|||
Grants permission to list the artifacts in a project |
List |
|||
Grants permission to list the information of device instances |
List |
|||
Grants permission to list the information of device pools |
List |
|||
Grants permission to list the information of unique device types |
List |
|||
Grants permission to list the information of device instance profiles |
List |
|||
Grants permission to list the information of jobs within a run |
List |
|||
Grants permission to list the information of network profiles within a project |
List |
|||
Grants permission to list the offering promotions |
List |
|||
Grants permission to list all of the historical purchases, renewals, and system renewal transactions for an AWS account |
List |
|||
Grants permission to list the products or offerings that the user can manage through the API |
List |
|||
Grants permission to list the information of mobile testing projects for an AWS account |
List |
|||
Grants permission to list the information of currently running remote access sessions |
List |
|||
Grants permission to list the information of runs within a project |
List |
|||
Grants permission to list the information of samples within a project |
List |
|||
Grants permission to list the information of testing suites within a job |
List |
|||
Grants permission to list the tags of a resource |
List |
|||
Grants permission to list the information of desktop testing projects for an AWS account |
List |
|||
Grants permission to list the session actions performed during a test grid session |
List |
|||
Grants permission to list the artifacts generated by a test grid session |
List |
|||
Grants permission to list the sessions within a test grid project |
List |
|||
Grants permission to list the information of tests within a testing suite |
List |
|||
Grants permission to list the information of unique problems within a run |
List |
|||
Grants permission to list the information of uploads within a project |
List |
|||
Grants permission to list the information of Amazon Virtual Private Cloud (VPC) endpoint configurations |
List |
|||
Grants permission to purchase offerings for an AWS account |
Write |
|||
Grants permission to set the quantity of devices to renew for an offering |
Write |
|||
Grants permission to schedule a run |
Write |
|||
|
SCENARIO: Device Pool as filter |
||||
|
SCENARIO: Device Selection Configuration as filter |
||||
Grants permission to terminate a running job |
Write |
|||
Grants permission to terminate a running remote access session |
Write |
|||
Grants permission to terminate a running test run |
Write |
|||
Grants permission to add tags to a resource |
Tagging, Write |
|||
Grants permission to remove tags from a resource |
Tagging, Write |
|||
Grants permission to modify an existing device instance |
Write |
|||
Grants permission to modify an existing device pool |
Write |
|||
Grants permission to modify an existing instance profile |
Write |
|||
Grants permission to modify an existing network profile |
Write |
|||
Grants permission to modify an existing mobile testing project |
Write |
|||
Grants permission to modify an existing desktop testing project |
Write |
|||
Grants permission to modify an existing upload |
Write |
|||
Grants permission to modify an existing Amazon Virtual Private Cloud (VPC) endpoint configuration |
Write |
Resource types defined by AWS Device Farm
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:devicefarm:${Region}:${Account}:artifact:${ResourceId} |
||
arn:${Partition}:devicefarm:${Region}::device:${ResourceId} |
||
arn:${Partition}:devicefarm:${Region}::deviceinstance:${ResourceId} |
||
arn:${Partition}:devicefarm:${Region}:${Account}:devicepool:${ResourceId} |
||
arn:${Partition}:devicefarm:${Region}:${Account}:instanceprofile:${ResourceId} |
||
arn:${Partition}:devicefarm:${Region}:${Account}:job:${ResourceId} |
||
arn:${Partition}:devicefarm:${Region}:${Account}:networkprofile:${ResourceId} |
||
arn:${Partition}:devicefarm:${Region}:${Account}:project:${ResourceId} |
||
arn:${Partition}:devicefarm:${Region}:${Account}:run:${ResourceId} |
||
arn:${Partition}:devicefarm:${Region}:${Account}:sample:${ResourceId} |
||
arn:${Partition}:devicefarm:${Region}:${Account}:session:${ResourceId} |
||
arn:${Partition}:devicefarm:${Region}:${Account}:suite:${ResourceId} |
||
arn:${Partition}:devicefarm:${Region}:${Account}:test:${ResourceId} |
||
arn:${Partition}:devicefarm:${Region}:${Account}:testgrid-project:${ResourceId} |
||
arn:${Partition}:devicefarm:${Region}:${Account}:testgrid-session:${ResourceId} |
||
arn:${Partition}:devicefarm:${Region}:${Account}:upload:${ResourceId} |
||
arn:${Partition}:devicefarm:${Region}:${Account}:vpceconfiguration:${ResourceId} |
Condition keys for AWS Device Farm
AWS Device Farm defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters actions based on the allowed set of values for each of the tags |
String |
|
Filters actions based on tag-value assoicated with the resource |
String |
|
Filters actions based on the presence of mandatory tags in the request |
ArrayOfString |