AWS::DeviceFarm::DevicePool - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::DeviceFarm::DevicePool

Represents a request to the create device pool operation.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::DeviceFarm::DevicePool", "Properties" : { "Description" : String, "MaxDevices" : Integer, "Name" : String, "ProjectArn" : String, "Rules" : [ Rule, ... ], "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::DeviceFarm::DevicePool Properties: Description: String MaxDevices: Integer Name: String ProjectArn: String Rules: - Rule Tags: - Tag

Properties

Description

The device pool's description.

Required: No

Type: String

Minimum: 1

Maximum: 16384

Update requires: No interruption

MaxDevices

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.

Required: No

Type: Integer

Update requires: No interruption

Name

The device pool's name.

Required: Yes

Type: String

Minimum: 1

Maximum: 256

Update requires: No interruption

ProjectArn

The ARN of the project for the device pool.

Required: Yes

Type: String

Pattern: ^arn:.+

Minimum: 32

Maximum: 1011

Update requires: Replacement

Rules

The device pool's rules.

Required: Yes

Type: Array of Rule

Update requires: No interruption

Tags

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

For more information, see Tag in the Amazon CloudFormation resource type reference guide.

Required: No

Type: Array of Tag

Update requires: No interruption

Return values

Ref

Not supported for this resource.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

Arn

The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide.