Class CfnDevicePool
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.devicefarm.CfnDevicePool
- All Implemented Interfaces:
IInspectable,IDevicePoolRef,IEnvironmentAware,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:34.143Z")
@Stability(Stable)
public class CfnDevicePool
extends CfnResource
implements IInspectable, IDevicePoolRef, ITaggable
Represents a request to the create device pool operation.
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.*;
CfnDevicePool cfnDevicePool = CfnDevicePool.Builder.create(this, "MyCfnDevicePool")
.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 TypeClassDescriptionstatic final classA fluent builder forCfnDevicePool.static interfaceRepresents a condition for a device pool.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.devicefarm.IDevicePoolRef
IDevicePoolRef.Jsii$Default, IDevicePoolRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnDevicePool(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDevicePool(software.amazon.jsii.JsiiObjectRef objRef) CfnDevicePool(software.constructs.Construct scope, String id, CfnDevicePoolProps props) Create a newAWS::DeviceFarm::DevicePool. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForDevicePool(IDevicePoolRef resource) The Amazon Resource Name (ARN) of the device pool.The device pool's description.A reference to a DevicePool resource.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()Tag Manager which manages the tags for this resource.An array of key-value pairs to apply to this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnDevicePool.renderProperties(Map<String, Object> props) voidsetDescription(String value) The device pool's description.voidsetMaxDevices(Number value) The number of devices that Device Farm can add to your device pool.voidThe device pool's name.voidsetProjectArn(String value) The ARN of the project for the device pool.voidThe device pool's rules.voidsetRules(IResolvable value) The device pool's rules.voidsetTagsRaw(List<CfnTag> value) An array of key-value pairs to apply to this resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnDevicePool
protected CfnDevicePool(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDevicePool
protected CfnDevicePool(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDevicePool
@Stability(Stable) public CfnDevicePool(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDevicePoolProps props) Create a newAWS::DeviceFarm::DevicePool.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForDevicePool
- Parameters:
resource- This parameter is required.
-
isCfnDevicePool
Checks whether the given object is a CfnDevicePool.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the device pool.See Amazon resource names in the General Reference guide .
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getDevicePoolRef
A reference to a DevicePool resource.- Specified by:
getDevicePoolRefin interfaceIDevicePoolRef
-
getTags
Tag Manager which manages the tags for this resource. -
getName
The device pool's name. -
setName
The device pool's name. -
getProjectArn
The ARN of the project for the device pool. -
setProjectArn
The ARN of the project for the device pool. -
getRules
The device pool's rules.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDevicePool.RuleProperty> -
setRules
The device pool's rules. -
setRules
The device pool's rules. -
getDescription
The device pool's description. -
setDescription
The device pool's description. -
getMaxDevices
The number of devices that Device Farm can add to your device pool. -
setMaxDevices
The number of devices that Device Farm can add to your device pool. -
getTagsRaw
An array of key-value pairs to apply to this resource. -
setTagsRaw
An array of key-value pairs to apply to this resource.
-