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
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 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.
- 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 - 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 . 
- ProjectArn string
- The ARN of the project for the device pool.
- Rules
[]DevicePool Rule Args 
- 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 - 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.
- 
TagArgs 
- An array of key-value pairs to apply to this resource. - For more information, see Tag in the guide . 
- projectArn String
- The ARN of the project for the device pool.
- rules
List<DevicePool Rule> 
- 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 - 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 . 
- projectArn string
- The ARN of the project for the device pool.
- rules
DevicePool Rule[] 
- 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 - 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[DevicePool 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[TagArgs] 
- An array of key-value pairs to apply to this resource. - For more information, see Tag in the guide . 
- projectArn 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.
- 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 - 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 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
DevicePool Rule Attribute 
- The rule's stringified attribute.
- Operator
DevicePool Rule Operator 
- Specifies how Device Farm compares the rule's attribute to the value.
- Value string
- The rule's value.
- attribute
DevicePool Rule Attribute 
- The rule's stringified attribute.
- operator
DevicePool Rule Operator 
- Specifies how Device Farm compares the rule's attribute to the value.
- value String
- The rule's value.
- attribute
DevicePool Rule Attribute 
- The rule's stringified attribute.
- operator
DevicePool Rule Operator 
- Specifies how Device Farm compares the rule's attribute to the value.
- value string
- The rule's value.
- attribute
DevicePool Rule Attribute 
- The rule's stringified attribute.
- operator
DevicePool 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
- FormFactor 
- FORM_FACTOR
- Manufacturer
- MANUFACTURER
- RemoteAccess Enabled 
- REMOTE_ACCESS_ENABLED
- RemoteDebug Enabled 
- REMOTE_DEBUG_ENABLED
- AppiumVersion 
- APPIUM_VERSION
- InstanceArn 
- INSTANCE_ARN
- InstanceLabels 
- INSTANCE_LABELS
- FleetType 
- FLEET_TYPE
- OsVersion 
- OS_VERSION
- Model
- MODEL
- Availability
- AVAILABILITY
- DevicePool Rule Attribute Arn 
- ARN
- DevicePool Rule Attribute Platform 
- PLATFORM
- DevicePool Rule Attribute Form Factor 
- FORM_FACTOR
- DevicePool Rule Attribute Manufacturer 
- MANUFACTURER
- DevicePool Rule Attribute Remote Access Enabled 
- REMOTE_ACCESS_ENABLED
- DevicePool Rule Attribute Remote Debug Enabled 
- REMOTE_DEBUG_ENABLED
- DevicePool Rule Attribute Appium Version 
- APPIUM_VERSION
- DevicePool Rule Attribute Instance Arn 
- INSTANCE_ARN
- DevicePool Rule Attribute Instance Labels 
- INSTANCE_LABELS
- DevicePool Rule Attribute Fleet Type 
- FLEET_TYPE
- DevicePool Rule Attribute Os Version 
- OS_VERSION
- DevicePool Rule Attribute Model 
- MODEL
- DevicePool Rule Attribute Availability 
- AVAILABILITY
- Arn
- ARN
- Platform
- PLATFORM
- FormFactor 
- FORM_FACTOR
- Manufacturer
- MANUFACTURER
- RemoteAccess Enabled 
- REMOTE_ACCESS_ENABLED
- RemoteDebug Enabled 
- 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
- RemoteAccess Enabled 
- REMOTE_ACCESS_ENABLED
- RemoteDebug Enabled 
- 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
- LessThan Or Equals 
- LESS_THAN_OR_EQUALS
- GreaterThan 
- GREATER_THAN
- GreaterThan Or Equals 
- GREATER_THAN_OR_EQUALS
- In
- IN
- NotIn 
- NOT_IN
- Contains
- CONTAINS
- DevicePool Rule Operator Equals 
- EQUALS
- DevicePool Rule Operator Less Than 
- LESS_THAN
- DevicePool Rule Operator Less Than Or Equals 
- LESS_THAN_OR_EQUALS
- DevicePool Rule Operator Greater Than 
- GREATER_THAN
- DevicePool Rule Operator Greater Than Or Equals 
- GREATER_THAN_OR_EQUALS
- DevicePool Rule Operator In 
- IN
- DevicePool Rule Operator Not In 
- NOT_IN
- DevicePool Rule Operator Contains 
- CONTAINS
- Equals
- EQUALS
- LessThan 
- LESS_THAN
- LessThan Or Equals 
- LESS_THAN_OR_EQUALS
- GreaterThan 
- GREATER_THAN
- GreaterThan Or Equals 
- GREATER_THAN_OR_EQUALS
- In
- IN
- NotIn 
- NOT_IN
- Contains
- CONTAINS
- Equals
- EQUALS
- LessThan 
- LESS_THAN
- LessThan Or Equals 
- LESS_THAN_OR_EQUALS
- GreaterThan 
- GREATER_THAN
- GreaterThan Or Equals 
- 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  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.