aws-cdk-lib.aws_devicefarm.CfnDevicePoolProps

interface CfnDevicePoolProps

LanguageType name
.NETAmazon.CDK.AWS.DeviceFarm.CfnDevicePoolProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdevicefarm#CfnDevicePoolProps
Javasoftware.amazon.awscdk.services.devicefarm.CfnDevicePoolProps
Pythonaws_cdk.aws_devicefarm.CfnDevicePoolProps
TypeScript aws-cdk-lib » aws_devicefarm » CfnDevicePoolProps

Properties for defining a CfnDevicePool.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devicefarm as devicefarm } from 'aws-cdk-lib';
const cfnDevicePoolProps: devicefarm.CfnDevicePoolProps = {
  name: 'name',
  projectArn: 'projectArn',
  rules: [{
    attribute: 'attribute',
    operator: 'operator',
    value: 'value',
  }],

  // the properties below are optional
  description: 'description',
  maxDevices: 123,
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
namestringThe device pool's name.
projectArnstringThe ARN of the project for the device pool.
rulesIResolvable | IResolvable | RuleProperty[]The device pool's rules.
description?stringThe device pool's description.
maxDevices?numberThe number of devices that Device Farm can add to your device pool.
tags?CfnTag[]An array of key-value pairs to apply to this resource.

name

Type: string

The device pool's name.


projectArn

Type: string

The ARN of the project for the device pool.


rules

Type: IResolvable | IResolvable | RuleProperty[]

The device pool's rules.


description?

Type: string (optional)

The device pool's description.


maxDevices?

Type: number (optional)

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.


tags?

Type: CfnTag[] (optional)

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

For more information, see Tag in the guide .