1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. devicefarm
  5. DevicePool

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.devicefarm.DevicePool

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

AWS::DeviceFarm::DevicePool creates a new Device Pool for a given DF 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.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DevicePoolArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. DevicePoolArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DevicePoolArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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:

ProjectArn This property is required. string
The ARN of the project for the device pool.
Rules This property is required. List<Pulumi.AwsNative.DeviceFarm.Inputs.DevicePoolRule>
The device pool's rules.
Description string
The device pool's description.
MaxDevices 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 rules parameter. 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.
Tags List<Pulumi.AwsNative.Inputs.Tag>

An array of key-value pairs to apply to this resource.

For more information, see Tag in the guide .

ProjectArn This property is required. string
The ARN of the project for the device pool.
Rules This property is required. []DevicePoolRuleArgs
The device pool's rules.
Description string
The device pool's description.
MaxDevices 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 rules parameter. 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.
Tags TagArgs

An array of key-value pairs to apply to this resource.

For more information, see Tag in the guide .

projectArn This property is required. String
The ARN of the project for the device pool.
rules This property is required. List<DevicePoolRule>
The device pool's rules.
description String
The device pool's description.
maxDevices 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 rules parameter. 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.
tags List<Tag>

An array of key-value pairs to apply to this resource.

For more information, see Tag in the guide .

projectArn This property is required. string
The ARN of the project for the device pool.
rules This property is required. DevicePoolRule[]
The device pool's rules.
description string
The device pool's description.
maxDevices 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 rules parameter. 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.
tags Tag[]

An array of key-value pairs to apply to this resource.

For more information, see Tag in the guide .

project_arn This property is required. str
The ARN of the project for the device pool.
rules This property is required. Sequence[DevicePoolRuleArgs]
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 rules parameter. 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.
tags Sequence[TagArgs]

An array of key-value pairs to apply to this resource.

For more information, see Tag in the guide .

projectArn This property is required. String
The ARN of the project for the device pool.
rules This property is required. List<Property Map>
The device pool's rules.
description String
The device pool's description.
maxDevices 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 rules parameter. 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.
tags 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 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.

Supporting Types

DevicePoolRule
, DevicePoolRuleArgs

Attribute Pulumi.AwsNative.DeviceFarm.DevicePoolRuleAttribute
The rule's stringified attribute.
Operator Pulumi.AwsNative.DeviceFarm.DevicePoolRuleOperator
Specifies how Device Farm compares the rule's attribute to the value.
Value string
The rule's value.
Attribute DevicePoolRuleAttribute
The rule's stringified attribute.
Operator DevicePoolRuleOperator
Specifies how Device Farm compares the rule's attribute to the value.
Value string
The rule's value.
attribute DevicePoolRuleAttribute
The rule's stringified attribute.
operator DevicePoolRuleOperator
Specifies how Device Farm compares the rule's attribute to the value.
value String
The rule's value.
attribute DevicePoolRuleAttribute
The rule's stringified attribute.
operator DevicePoolRuleOperator
Specifies how Device Farm compares the rule's attribute to the value.
value string
The rule's value.
attribute DevicePoolRuleAttribute
The rule's stringified attribute.
operator DevicePoolRuleOperator
Specifies how Device Farm compares the rule's attribute to the value.
value str
The rule's value.

DevicePoolRuleAttribute
, DevicePoolRuleAttributeArgs

Arn
ARN
Platform
PLATFORM
FormFactor
FORM_FACTOR
Manufacturer
MANUFACTURER
RemoteAccessEnabled
REMOTE_ACCESS_ENABLED
RemoteDebugEnabled
REMOTE_DEBUG_ENABLED
AppiumVersion
APPIUM_VERSION
InstanceArn
INSTANCE_ARN
InstanceLabels
INSTANCE_LABELS
FleetType
FLEET_TYPE
OsVersion
OS_VERSION
Model
MODEL
Availability
AVAILABILITY
DevicePoolRuleAttributeArn
ARN
DevicePoolRuleAttributePlatform
PLATFORM
DevicePoolRuleAttributeFormFactor
FORM_FACTOR
DevicePoolRuleAttributeManufacturer
MANUFACTURER
DevicePoolRuleAttributeRemoteAccessEnabled
REMOTE_ACCESS_ENABLED
DevicePoolRuleAttributeRemoteDebugEnabled
REMOTE_DEBUG_ENABLED
DevicePoolRuleAttributeAppiumVersion
APPIUM_VERSION
DevicePoolRuleAttributeInstanceArn
INSTANCE_ARN
DevicePoolRuleAttributeInstanceLabels
INSTANCE_LABELS
DevicePoolRuleAttributeFleetType
FLEET_TYPE
DevicePoolRuleAttributeOsVersion
OS_VERSION
DevicePoolRuleAttributeModel
MODEL
DevicePoolRuleAttributeAvailability
AVAILABILITY
Arn
ARN
Platform
PLATFORM
FormFactor
FORM_FACTOR
Manufacturer
MANUFACTURER
RemoteAccessEnabled
REMOTE_ACCESS_ENABLED
RemoteDebugEnabled
REMOTE_DEBUG_ENABLED
AppiumVersion
APPIUM_VERSION
InstanceArn
INSTANCE_ARN
InstanceLabels
INSTANCE_LABELS
FleetType
FLEET_TYPE
OsVersion
OS_VERSION
Model
MODEL
Availability
AVAILABILITY
Arn
ARN
Platform
PLATFORM
FormFactor
FORM_FACTOR
Manufacturer
MANUFACTURER
RemoteAccessEnabled
REMOTE_ACCESS_ENABLED
RemoteDebugEnabled
REMOTE_DEBUG_ENABLED
AppiumVersion
APPIUM_VERSION
InstanceArn
INSTANCE_ARN
InstanceLabels
INSTANCE_LABELS
FleetType
FLEET_TYPE
OsVersion
OS_VERSION
Model
MODEL
Availability
AVAILABILITY
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
"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

DevicePoolRuleOperator
, DevicePoolRuleOperatorArgs

EqualsValue
EQUALS
LessThan
LESS_THAN
LessThanOrEquals
LESS_THAN_OR_EQUALS
GreaterThan
GREATER_THAN
GreaterThanOrEquals
GREATER_THAN_OR_EQUALS
In
IN
NotIn
NOT_IN
Contains
CONTAINS
DevicePoolRuleOperatorEquals
EQUALS
DevicePoolRuleOperatorLessThan
LESS_THAN
DevicePoolRuleOperatorLessThanOrEquals
LESS_THAN_OR_EQUALS
DevicePoolRuleOperatorGreaterThan
GREATER_THAN
DevicePoolRuleOperatorGreaterThanOrEquals
GREATER_THAN_OR_EQUALS
DevicePoolRuleOperatorIn
IN
DevicePoolRuleOperatorNotIn
NOT_IN
DevicePoolRuleOperatorContains
CONTAINS
Equals
EQUALS
LessThan
LESS_THAN
LessThanOrEquals
LESS_THAN_OR_EQUALS
GreaterThan
GREATER_THAN
GreaterThanOrEquals
GREATER_THAN_OR_EQUALS
In
IN
NotIn
NOT_IN
Contains
CONTAINS
Equals
EQUALS
LessThan
LESS_THAN
LessThanOrEquals
LESS_THAN_OR_EQUALS
GreaterThan
GREATER_THAN
GreaterThanOrEquals
GREATER_THAN_OR_EQUALS
In
IN
NotIn
NOT_IN
Contains
CONTAINS
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
"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

Tag
, TagArgs

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi