CfnDevicePoolMixinProps
- class aws_cdk.mixins_preview.aws_devicefarm.mixins.CfnDevicePoolMixinProps(*, description=None, max_devices=None, name=None, project_arn=None, rules=None, tags=None)
Bases:
objectProperties for CfnDevicePoolPropsMixin.
- Parameters:
description (
Optional[str]) – The device pool’s description.max_devices (
Union[int,float,None]) – 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 therulesparameter. 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 (
Optional[str]) – The device pool’s name.project_arn (
Optional[str]) – The ARN of the project for the device pool.rules (
Union[IResolvable,Sequence[Union[IResolvable,RuleProperty,Dict[str,Any]]],None]) – The device pool’s rules.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – An array of key-value pairs to apply to this resource. For more information, see Tag in the guide .
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_devicefarm import mixins as devicefarm_mixins cfn_device_pool_mixin_props = devicefarm_mixins.CfnDevicePoolMixinProps( description="description", max_devices=123, name="name", project_arn="projectArn", rules=[devicefarm_mixins.CfnDevicePoolPropsMixin.RuleProperty( attribute="attribute", operator="operator", value="value" )], tags=[CfnTag( key="key", value="value" )] )
Attributes
- description
The device pool’s description.
- max_devices
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.
- name
The device pool’s name.
- project_arn
The ARN of the project for the device pool.
- rules
The device pool’s rules.