Interface CfnDevicePoolProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDevicePoolProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:34.912Z")
@Stability(Stable)
public interface CfnDevicePoolProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.devicefarm.*;
CfnDevicePoolProps cfnDevicePoolProps = CfnDevicePoolProps.builder()
.name("name")
.projectArn("projectArn")
.rules(List.of(RuleProperty.builder()
.attribute("attribute")
.operator("operator")
.value("value")
.build()))
// the properties below are optional
.description("description")
.maxDevices(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDevicePoolPropsstatic final classAn implementation forCfnDevicePoolProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDevicePoolProps.Builderbuilder()default StringThe device pool's description.default NumberThe number of devices that Device Farm can add to your device pool.getName()The device pool's name.The ARN of the project for the device pool.getRules()The device pool's rules.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The device pool's name.- See Also:
-
getProjectArn
The ARN of the project for the device pool.- See Also:
-
getRules
The device pool's rules.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDevicePool.RuleProperty>- See Also:
-
getDescription
The device pool's description.- See Also:
-
getMaxDevices
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
rulesparameter. 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.
- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag in the guide .
- See Also:
-
builder
- Returns:
- a
CfnDevicePoolProps.BuilderofCfnDevicePoolProps
-