We recommend new projects start with resources from the AWS provider.
aws-native.devicefarm.DevicePool
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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 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
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
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.
- 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
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.
- 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<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
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.
- 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
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.
- 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
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.
- 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
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.
- 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.
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
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, DevicePoolRuleAttributeArgs
- 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
- Device
Pool Rule Attribute Arn - ARN
- Device
Pool Rule Attribute Platform - PLATFORM
- Device
Pool Rule Attribute Form Factor - FORM_FACTOR
- Device
Pool Rule Attribute Manufacturer - MANUFACTURER
- Device
Pool Rule Attribute Remote Access Enabled - REMOTE_ACCESS_ENABLED
- Device
Pool Rule Attribute Remote Debug Enabled - REMOTE_DEBUG_ENABLED
- Device
Pool Rule Attribute Appium Version - APPIUM_VERSION
- Device
Pool Rule Attribute Instance Arn - INSTANCE_ARN
- Device
Pool Rule Attribute Instance Labels - INSTANCE_LABELS
- Device
Pool Rule Attribute Fleet Type - FLEET_TYPE
- Device
Pool Rule Attribute Os Version - OS_VERSION
- Device
Pool Rule Attribute Model - MODEL
- Device
Pool Rule Attribute 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
- 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
- Equals
Value - 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
- Device
Pool Rule Operator Equals - EQUALS
- Device
Pool Rule Operator Less Than - LESS_THAN
- Device
Pool Rule Operator Less Than Or Equals - LESS_THAN_OR_EQUALS
- Device
Pool Rule Operator Greater Than - GREATER_THAN
- Device
Pool Rule Operator Greater Than Or Equals - GREATER_THAN_OR_EQUALS
- Device
Pool Rule Operator In - IN
- Device
Pool Rule Operator Not In - NOT_IN
- Device
Pool Rule Operator 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
- 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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.