Skip to content

DevicePool

Source code in docs_src/capo_device_farm/types/device_pool.py
class DevicePool(TypedDict, closed=True):
    arn: NotRequired["capo_device_farm.types.amazon_resource_name.AmazonResourceName"]
    """<p>The device pool's ARN.</p>"""
    name: NotRequired["capo_device_farm.types.name.Name"]
    """<p>The device pool's name.</p>"""
    description: NotRequired["capo_device_farm.types.message.Message"]
    """<p>The device pool's description.</p>"""
    type: NotRequired["capo_device_farm.types.device_pool_type.DevicePoolType"]
    """<p>The device pool's type.</p> <p>Allowed values include:</p> <ul> <li> <p>CURATED: A device pool that is created and managed by AWS Device Farm.</p> </li> <li> <p>PRIVATE: A device pool that is created and managed by the device pool developer.</p> </li> </ul>"""
    rules: NotRequired["capo_device_farm.types.rules.Rules"]
    """<p>Information about the device pool's rules.</p>"""
    max_devices: NotRequired["capo_device_farm.types.integer.Integer"]
    """<p>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 <code>rules</code> parameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter.</p> <p>By specifying the maximum number of devices, you can control the costs that you incur by running tests.</p>"""

arn instance-attribute

arn: NotRequired[AmazonResourceName]

The device pool's ARN.

description instance-attribute

description: NotRequired[Message]

The device pool's description.

max_devices instance-attribute

max_devices: NotRequired[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 instance-attribute

name: NotRequired[Name]

The device pool's name.

rules instance-attribute

rules: NotRequired[Rules]

Information about the device pool's rules.

type instance-attribute

type: NotRequired[DevicePoolType]

The device pool's type.

Allowed values include:

  • CURATED: A device pool that is created and managed by AWS Device Farm.

  • PRIVATE: A device pool that is created and managed by the device pool developer.