Interface CfnDevicePoolProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDevicePoolProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-12T12:32:00.823Z")
@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 class
A builder forCfnDevicePoolProps
static final class
An implementation forCfnDevicePoolProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDevicePoolProps.Builder
builder()
default String
The device pool's description.default Number
The 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.- 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
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.
- 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.Builder
ofCfnDevicePoolProps
-