We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource Type definition for a Device Pool for a given Device Farm Project
Create DevicePool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DevicePool(name: string, args: DevicePoolArgs, opts?: CustomResourceOptions);@overload
def DevicePool(resource_name: str,
args: DevicePoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DevicePool(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_arn: Optional[str] = None,
rules: Optional[Sequence[DevicePoolRuleArgs]] = None,
description: Optional[str] = None,
max_devices: Optional[int] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewDevicePool(ctx *Context, name string, args DevicePoolArgs, opts ...ResourceOption) (*DevicePool, error)public DevicePool(string name, DevicePoolArgs args, CustomResourceOptions? opts = null)
public DevicePool(String name, DevicePoolArgs args)
public DevicePool(String name, DevicePoolArgs args, CustomResourceOptions options)
type: aws-native:devicefarm:DevicePool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_devicefarm_device_pool" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args DevicePoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DevicePoolArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DevicePoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DevicePoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DevicePoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DevicePool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DevicePool resource accepts the following input properties:
- Project
Arn string - The ARN of the project for the device pool.
- Rules
List<Pulumi.
Aws Native. Device Farm. Inputs. Device Pool Rule> - The device pool's rules.
- Description string
- The device pool's description.
- Max
Devices int The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and meet the criteria that you assign for the
rulesparameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter.By specifying the maximum number of devices, you can control the costs that you incur by running tests.
- Name string
- The device pool's name.
-
List<Pulumi.
Aws Native. Inputs. Tag> An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
- Project
Arn string - The ARN of the project for the device pool.
- Rules
[]Device
Pool Rule Args - The device pool's rules.
- Description string
- The device pool's description.
- Max
Devices int The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and meet the criteria that you assign for the
rulesparameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter.By specifying the maximum number of devices, you can control the costs that you incur by running tests.
- Name string
- The device pool's name.
-
Tag
Args An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
- project_
arn string - The ARN of the project for the device pool.
- rules list(object)
- The device pool's rules.
- description string
- The device pool's description.
- max_
devices number The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and meet the criteria that you assign for the
rulesparameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter.By specifying the maximum number of devices, you can control the costs that you incur by running tests.
- name string
- The device pool's name.
- list(object)
An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
- project
Arn String - The ARN of the project for the device pool.
- rules
List<Device
Pool Rule> - The device pool's rules.
- description String
- The device pool's description.
- max
Devices Integer The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and meet the criteria that you assign for the
rulesparameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter.By specifying the maximum number of devices, you can control the costs that you incur by running tests.
- name String
- The device pool's name.
- List<Tag>
An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
- project
Arn string - The ARN of the project for the device pool.
- rules
Device
Pool Rule[] - The device pool's rules.
- description string
- The device pool's description.
- max
Devices number The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and meet the criteria that you assign for the
rulesparameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter.By specifying the maximum number of devices, you can control the costs that you incur by running tests.
- name string
- The device pool's name.
- Tag[]
An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
- project_
arn str - The ARN of the project for the device pool.
- rules
Sequence[Device
Pool Rule Args] - The device pool's rules.
- description str
- The device pool's description.
- max_
devices int The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and meet the criteria that you assign for the
rulesparameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter.By specifying the maximum number of devices, you can control the costs that you incur by running tests.
- name str
- The device pool's name.
-
Sequence[Tag
Args] An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
- project
Arn String - The ARN of the project for the device pool.
- rules List<Property Map>
- The device pool's rules.
- description String
- The device pool's description.
- max
Devices Number The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and meet the criteria that you assign for the
rulesparameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter.By specifying the maximum number of devices, you can control the costs that you incur by running tests.
- name String
- The device pool's name.
- List<Property Map>
An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
Outputs
All input properties are implicitly available as output properties. Additionally, the DevicePool resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide .
- Id string
- The provider-assigned unique ID for this managed resource.
- Arn string
- The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide .
- Id string
- The provider-assigned unique ID for this managed resource.
- arn string
- The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide .
- id string
- The provider-assigned unique ID for this managed resource.
- arn String
- The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide .
- id String
- The provider-assigned unique ID for this managed resource.
- arn string
- The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide .
- id string
- The provider-assigned unique ID for this managed resource.
- arn str
- The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide .
- id str
- The provider-assigned unique ID for this managed resource.
- arn String
- The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide .
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing DevicePool Resource
Get an existing DevicePool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): DevicePool@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> DevicePoolfunc GetDevicePool(ctx *Context, name string, id IDInput, state *DevicePoolState, opts ...ResourceOption) (*DevicePool, error)public static DevicePool Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static DevicePool get(String name, Output<String> id, CustomResourceOptions options)resources: existingDevicePool: type: aws-native:devicefarm:DevicePool get: id: ${id}import {
to = aws-native_devicefarm_device_pool.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state DevicePoolState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
DevicePoolRule, DevicePoolRuleArgs
Represents a condition for a device pool.
- Attribute
Pulumi.
Aws Native. Device Farm. Device Pool Rule Attribute - The rule's stringified attribute.
- Operator
Pulumi.
Aws Native. Device Farm. Device Pool Rule Operator - Specifies how Device Farm compares the rule's attribute to the value.
- Value string
- The rule's value.
- Attribute
Device
Pool Rule Attribute - The rule's stringified attribute.
- Operator
Device
Pool Rule Operator - Specifies how Device Farm compares the rule's attribute to the value.
- Value string
- The rule's value.
- attribute "ARN" | "PLATFORM" | "FORM_FACTOR" | "MANUFACTURER" | "REMOTE_ACCESS_ENABLED" | "REMOTE_DEBUG_ENABLED" | "APPIUM_VERSION" | "INSTANCE_ARN" | "INSTANCE_LABELS" | "FLEET_TYPE" | "OS_VERSION" | "MODEL" | "AVAILABILITY"
- The rule's stringified attribute.
- operator "EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS" | "GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "IN" | "NOT_IN" | "CONTAINS"
- Specifies how Device Farm compares the rule's attribute to the value.
- value string
- The rule's value.
- attribute
Device
Pool Rule Attribute - The rule's stringified attribute.
- operator
Device
Pool Rule Operator - Specifies how Device Farm compares the rule's attribute to the value.
- value String
- The rule's value.
- attribute
Device
Pool Rule Attribute - The rule's stringified attribute.
- operator
Device
Pool Rule Operator - Specifies how Device Farm compares the rule's attribute to the value.
- value string
- The rule's value.
- attribute
Device
Pool Rule Attribute - The rule's stringified attribute.
- operator
Device
Pool Rule Operator - Specifies how Device Farm compares the rule's attribute to the value.
- value str
- The rule's value.
- attribute "ARN" | "PLATFORM" | "FORM_FACTOR" | "MANUFACTURER" | "REMOTE_ACCESS_ENABLED" | "REMOTE_DEBUG_ENABLED" | "APPIUM_VERSION" | "INSTANCE_ARN" | "INSTANCE_LABELS" | "FLEET_TYPE" | "OS_VERSION" | "MODEL" | "AVAILABILITY"
- The rule's stringified attribute.
- operator "EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS" | "GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "IN" | "NOT_IN" | "CONTAINS"
- Specifies how Device Farm compares the rule's attribute to the value.
- value String
- The rule's value.
DevicePoolRuleAttribute
The rule's stringified attribute.
| Name | Value |
|---|---|
| Arn | ARN |
| Platform | PLATFORM |
| Form | FORM_FACTOR |
| Manufacturer | MANUFACTURER |
| Remote | REMOTE_ACCESS_ENABLED |
| Remote | REMOTE_DEBUG_ENABLED |
| Appium | APPIUM_VERSION |
| Instance | INSTANCE_ARN |
| Instance | INSTANCE_LABELS |
| Fleet | FLEET_TYPE |
| Os | OS_VERSION |
| Model | MODEL |
| Availability | AVAILABILITY |
| Name | Value |
|---|---|
| Device | ARN |
| Device | PLATFORM |
| Device | FORM_FACTOR |
| Device | MANUFACTURER |
| Device | REMOTE_ACCESS_ENABLED |
| Device | REMOTE_DEBUG_ENABLED |
| Device | APPIUM_VERSION |
| Device | INSTANCE_ARN |
| Device | INSTANCE_LABELS |
| Device | FLEET_TYPE |
| Device | OS_VERSION |
| Device | MODEL |
| Device | AVAILABILITY |
| Value |
|---|
ARN |
PLATFORM |
FORM_FACTOR |
MANUFACTURER |
REMOTE_ACCESS_ENABLED |
REMOTE_DEBUG_ENABLED |
APPIUM_VERSION |
INSTANCE_ARN |
INSTANCE_LABELS |
FLEET_TYPE |
OS_VERSION |
MODEL |
AVAILABILITY |
| Name | Value |
|---|---|
| Arn | ARN |
| Platform | PLATFORM |
| Form | FORM_FACTOR |
| Manufacturer | MANUFACTURER |
| Remote | REMOTE_ACCESS_ENABLED |
| Remote | REMOTE_DEBUG_ENABLED |
| Appium | APPIUM_VERSION |
| Instance | INSTANCE_ARN |
| Instance | INSTANCE_LABELS |
| Fleet | FLEET_TYPE |
| Os | OS_VERSION |
| Model | MODEL |
| Availability | AVAILABILITY |
| Name | Value |
|---|---|
| Arn | ARN |
| Platform | PLATFORM |
| Form | FORM_FACTOR |
| Manufacturer | MANUFACTURER |
| Remote | REMOTE_ACCESS_ENABLED |
| Remote | REMOTE_DEBUG_ENABLED |
| Appium | APPIUM_VERSION |
| Instance | INSTANCE_ARN |
| Instance | INSTANCE_LABELS |
| Fleet | FLEET_TYPE |
| Os | OS_VERSION |
| Model | MODEL |
| Availability | AVAILABILITY |
| Name | Value |
|---|---|
| ARN | ARN |
| PLATFORM | PLATFORM |
| FORM_FACTOR | FORM_FACTOR |
| MANUFACTURER | MANUFACTURER |
| REMOTE_ACCESS_ENABLED | REMOTE_ACCESS_ENABLED |
| REMOTE_DEBUG_ENABLED | REMOTE_DEBUG_ENABLED |
| APPIUM_VERSION | APPIUM_VERSION |
| INSTANCE_ARN | INSTANCE_ARN |
| INSTANCE_LABELS | INSTANCE_LABELS |
| FLEET_TYPE | FLEET_TYPE |
| OS_VERSION | OS_VERSION |
| MODEL | MODEL |
| AVAILABILITY | AVAILABILITY |
| Value |
|---|
ARN |
PLATFORM |
FORM_FACTOR |
MANUFACTURER |
REMOTE_ACCESS_ENABLED |
REMOTE_DEBUG_ENABLED |
APPIUM_VERSION |
INSTANCE_ARN |
INSTANCE_LABELS |
FLEET_TYPE |
OS_VERSION |
MODEL |
AVAILABILITY |
DevicePoolRuleOperator
Specifies how Device Farm compares the rule's attribute to the value.
| Name | Value |
|---|---|
| Equals | EQUALS |
| Less | LESS_THAN |
| Less | LESS_THAN_OR_EQUALS |
| Greater | GREATER_THAN |
| Greater | GREATER_THAN_OR_EQUALS |
| In | IN |
| Not | NOT_IN |
| Contains | CONTAINS |
| Name | Value |
|---|---|
| Device | EQUALS |
| Device | LESS_THAN |
| Device | LESS_THAN_OR_EQUALS |
| Device | GREATER_THAN |
| Device | GREATER_THAN_OR_EQUALS |
| Device | IN |
| Device | NOT_IN |
| Device | CONTAINS |
| Value |
|---|
EQUALS |
LESS_THAN |
LESS_THAN_OR_EQUALS |
GREATER_THAN |
GREATER_THAN_OR_EQUALS |
IN |
NOT_IN |
CONTAINS |
| Name | Value |
|---|---|
| Equals | EQUALS |
| Less | LESS_THAN |
| Less | LESS_THAN_OR_EQUALS |
| Greater | GREATER_THAN |
| Greater | GREATER_THAN_OR_EQUALS |
| In | IN |
| Not | NOT_IN |
| Contains | CONTAINS |
| Name | Value |
|---|---|
| Equals | EQUALS |
| Less | LESS_THAN |
| Less | LESS_THAN_OR_EQUALS |
| Greater | GREATER_THAN |
| Greater | GREATER_THAN_OR_EQUALS |
| In | IN |
| Not | NOT_IN |
| Contains | CONTAINS |
| Name | Value |
|---|---|
| EQUALS | EQUALS |
| LESS_THAN | LESS_THAN |
| LESS_THAN_OR_EQUALS | LESS_THAN_OR_EQUALS |
| GREATER_THAN | GREATER_THAN |
| GREATER_THAN_OR_EQUALS | GREATER_THAN_OR_EQUALS |
| IN_ | IN |
| NOT_IN | NOT_IN |
| CONTAINS | CONTAINS |
| Value |
|---|
EQUALS |
LESS_THAN |
LESS_THAN_OR_EQUALS |
GREATER_THAN |
GREATER_THAN_OR_EQUALS |
IN |
NOT_IN |
CONTAINS |
Tag, TagArgs
A set of tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi