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

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

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

Viewing docs for AWS Cloud Control v1.86.0
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:

    ProjectArn string
    The ARN of the project for the device pool.
    Rules 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 string
    The ARN of the project for the device pool.
    Rules []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 .

    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 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(object)

    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<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 string
    The ARN of the project for the device pool.
    rules 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 str
    The ARN of the project for the device pool.
    rules 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 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 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 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) -> DevicePool
    func 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.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

    The rule's stringified attribute.

    NameValue
    ArnARN
    PlatformPLATFORM
    FormFactorFORM_FACTOR
    ManufacturerMANUFACTURER
    RemoteAccessEnabledREMOTE_ACCESS_ENABLED
    RemoteDebugEnabledREMOTE_DEBUG_ENABLED
    AppiumVersionAPPIUM_VERSION
    InstanceArnINSTANCE_ARN
    InstanceLabelsINSTANCE_LABELS
    FleetTypeFLEET_TYPE
    OsVersionOS_VERSION
    ModelMODEL
    AvailabilityAVAILABILITY
    NameValue
    DevicePoolRuleAttributeArnARN
    DevicePoolRuleAttributePlatformPLATFORM
    DevicePoolRuleAttributeFormFactorFORM_FACTOR
    DevicePoolRuleAttributeManufacturerMANUFACTURER
    DevicePoolRuleAttributeRemoteAccessEnabledREMOTE_ACCESS_ENABLED
    DevicePoolRuleAttributeRemoteDebugEnabledREMOTE_DEBUG_ENABLED
    DevicePoolRuleAttributeAppiumVersionAPPIUM_VERSION
    DevicePoolRuleAttributeInstanceArnINSTANCE_ARN
    DevicePoolRuleAttributeInstanceLabelsINSTANCE_LABELS
    DevicePoolRuleAttributeFleetTypeFLEET_TYPE
    DevicePoolRuleAttributeOsVersionOS_VERSION
    DevicePoolRuleAttributeModelMODEL
    DevicePoolRuleAttributeAvailabilityAVAILABILITY
    Value
    ARN
    PLATFORM
    FORM_FACTOR
    MANUFACTURER
    REMOTE_ACCESS_ENABLED
    REMOTE_DEBUG_ENABLED
    APPIUM_VERSION
    INSTANCE_ARN
    INSTANCE_LABELS
    FLEET_TYPE
    OS_VERSION
    MODEL
    AVAILABILITY
    NameValue
    ArnARN
    PlatformPLATFORM
    FormFactorFORM_FACTOR
    ManufacturerMANUFACTURER
    RemoteAccessEnabledREMOTE_ACCESS_ENABLED
    RemoteDebugEnabledREMOTE_DEBUG_ENABLED
    AppiumVersionAPPIUM_VERSION
    InstanceArnINSTANCE_ARN
    InstanceLabelsINSTANCE_LABELS
    FleetTypeFLEET_TYPE
    OsVersionOS_VERSION
    ModelMODEL
    AvailabilityAVAILABILITY
    NameValue
    ArnARN
    PlatformPLATFORM
    FormFactorFORM_FACTOR
    ManufacturerMANUFACTURER
    RemoteAccessEnabledREMOTE_ACCESS_ENABLED
    RemoteDebugEnabledREMOTE_DEBUG_ENABLED
    AppiumVersionAPPIUM_VERSION
    InstanceArnINSTANCE_ARN
    InstanceLabelsINSTANCE_LABELS
    FleetTypeFLEET_TYPE
    OsVersionOS_VERSION
    ModelMODEL
    AvailabilityAVAILABILITY
    NameValue
    ARNARN
    PLATFORMPLATFORM
    FORM_FACTORFORM_FACTOR
    MANUFACTURERMANUFACTURER
    REMOTE_ACCESS_ENABLEDREMOTE_ACCESS_ENABLED
    REMOTE_DEBUG_ENABLEDREMOTE_DEBUG_ENABLED
    APPIUM_VERSIONAPPIUM_VERSION
    INSTANCE_ARNINSTANCE_ARN
    INSTANCE_LABELSINSTANCE_LABELS
    FLEET_TYPEFLEET_TYPE
    OS_VERSIONOS_VERSION
    MODELMODEL
    AVAILABILITYAVAILABILITY
    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.

    NameValue
    EqualsValueEQUALS
    LessThanLESS_THAN
    LessThanOrEqualsLESS_THAN_OR_EQUALS
    GreaterThanGREATER_THAN
    GreaterThanOrEqualsGREATER_THAN_OR_EQUALS
    InIN
    NotInNOT_IN
    ContainsCONTAINS
    NameValue
    DevicePoolRuleOperatorEqualsEQUALS
    DevicePoolRuleOperatorLessThanLESS_THAN
    DevicePoolRuleOperatorLessThanOrEqualsLESS_THAN_OR_EQUALS
    DevicePoolRuleOperatorGreaterThanGREATER_THAN
    DevicePoolRuleOperatorGreaterThanOrEqualsGREATER_THAN_OR_EQUALS
    DevicePoolRuleOperatorInIN
    DevicePoolRuleOperatorNotInNOT_IN
    DevicePoolRuleOperatorContainsCONTAINS
    Value
    EQUALS
    LESS_THAN
    LESS_THAN_OR_EQUALS
    GREATER_THAN
    GREATER_THAN_OR_EQUALS
    IN
    NOT_IN
    CONTAINS
    NameValue
    EqualsEQUALS
    LessThanLESS_THAN
    LessThanOrEqualsLESS_THAN_OR_EQUALS
    GreaterThanGREATER_THAN
    GreaterThanOrEqualsGREATER_THAN_OR_EQUALS
    InIN
    NotInNOT_IN
    ContainsCONTAINS
    NameValue
    EqualsEQUALS
    LessThanLESS_THAN
    LessThanOrEqualsLESS_THAN_OR_EQUALS
    GreaterThanGREATER_THAN
    GreaterThanOrEqualsGREATER_THAN_OR_EQUALS
    InIN
    NotInNOT_IN
    ContainsCONTAINS
    NameValue
    EQUALSEQUALS
    LESS_THANLESS_THAN
    LESS_THAN_OR_EQUALSLESS_THAN_OR_EQUALS
    GREATER_THANGREATER_THAN
    GREATER_THAN_OR_EQUALSGREATER_THAN_OR_EQUALS
    IN_IN
    NOT_INNOT_IN
    CONTAINSCONTAINS
    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.

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

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

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial