Class CfnDevicePoolProps
Properties for defining a CfnDevicePool
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DeviceFarm
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDevicePoolProps : Object, ICfnDevicePoolProps
Syntax (vb)
Public Class CfnDevicePoolProps
Inherits Object
Implements ICfnDevicePoolProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DeviceFarm;
var cfnDevicePoolProps = new CfnDevicePoolProps {
Name = "name",
ProjectArn = "projectArn",
Rules = new [] { new RuleProperty {
Attribute = "attribute",
Operator = "operator",
Value = "value"
} },
// the properties below are optional
Description = "description",
MaxDevices = 123,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnDevicePoolProps() |
Properties
Description | The device pool's description. |
MaxDevices | The number of devices that Device Farm can add to your device pool. |
Name | The device pool's name. |
ProjectArn | The ARN of the project for the device pool. |
Rules | The device pool's rules. |
Tags | An array of key-value pairs to apply to this resource. |
Constructors
CfnDevicePoolProps()
public CfnDevicePoolProps()
Properties
Description
The device pool's description.
public string Description { get; set; }
Property Value
System.String
Remarks
MaxDevices
The number of devices that Device Farm can add to your device pool.
public Nullable<double> MaxDevices { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
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
The device pool's name.
public string Name { get; set; }
Property Value
System.String
Remarks
ProjectArn
The ARN of the project for the device pool.
public string ProjectArn { get; set; }
Property Value
System.String
Remarks
Rules
The device pool's rules.
public object Rules { get; set; }
Property Value
System.Object
Remarks
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
For more information, see Tag in the guide .