We recommend new projects start with resources from the AWS provider.
aws-native.devicefarm.getDevicePool
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS::DeviceFarm::DevicePool creates a new Device Pool for a given DF Project
Using getDevicePool
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDevicePool(args: GetDevicePoolArgs, opts?: InvokeOptions): Promise<GetDevicePoolResult>
function getDevicePoolOutput(args: GetDevicePoolOutputArgs, opts?: InvokeOptions): Output<GetDevicePoolResult>
def get_device_pool(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDevicePoolResult
def get_device_pool_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDevicePoolResult]
func LookupDevicePool(ctx *Context, args *LookupDevicePoolArgs, opts ...InvokeOption) (*LookupDevicePoolResult, error)
func LookupDevicePoolOutput(ctx *Context, args *LookupDevicePoolOutputArgs, opts ...InvokeOption) LookupDevicePoolResultOutput
> Note: This function is named LookupDevicePool
in the Go SDK.
public static class GetDevicePool
{
public static Task<GetDevicePoolResult> InvokeAsync(GetDevicePoolArgs args, InvokeOptions? opts = null)
public static Output<GetDevicePoolResult> Invoke(GetDevicePoolInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDevicePoolResult> getDevicePool(GetDevicePoolArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:devicefarm:getDevicePool
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide .
- Arn string
- The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide .
- arn String
- The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide .
- arn string
- The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide .
- arn str
- The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide .
- arn String
- The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide .
getDevicePool Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide .
- Description string
- The device pool's description.
- Max
Devices int 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.
- Name string
- The device pool's name.
- Rules
List<Pulumi.
Aws Native. Device Farm. Outputs. Device Pool Rule> - The device pool's rules.
- List<Pulumi.
Aws Native. Outputs. Tag> An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
- Arn string
- The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide .
- Description string
- The device pool's description.
- Max
Devices int 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.
- Name string
- The device pool's name.
- Rules
[]Device
Pool Rule - The device pool's rules.
- Tag
An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
- arn String
- The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide .
- description String
- The device pool's description.
- max
Devices Integer 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.
- name String
- The device pool's name.
- rules
List<Device
Pool Rule> - The device pool's rules.
- List<Tag>
An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
- arn string
- The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide .
- description string
- The device pool's description.
- max
Devices number 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.
- name string
- The device pool's name.
- rules
Device
Pool Rule[] - The device pool's rules.
- Tag[]
An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
- arn str
- The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide .
- description str
- The device pool's description.
- max_
devices int 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.
- name str
- The device pool's name.
- rules
Sequence[Device
Pool Rule] - The device pool's rules.
- Sequence[root_Tag]
An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
- arn String
- The Amazon Resource Name (ARN) of the device pool. See Amazon resource names in the General Reference guide .
- description String
- The device pool's description.
- max
Devices Number 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.
- name String
- The device pool's name.
- rules List<Property Map>
- The device pool's rules.
- List<Property Map>
An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
Supporting Types
DevicePoolRule
- Attribute
Pulumi.
Aws Native. Device Farm. Device Pool Rule Attribute - The rule's stringified attribute.
- Operator
Pulumi.
Aws Native. Device Farm. Device Pool Rule Operator - Specifies how Device Farm compares the rule's attribute to the value.
- Value string
- The rule's value.
- Attribute
Device
Pool Rule Attribute - The rule's stringified attribute.
- Operator
Device
Pool Rule Operator - Specifies how Device Farm compares the rule's attribute to the value.
- Value string
- The rule's value.
- attribute
Device
Pool Rule Attribute - The rule's stringified attribute.
- operator
Device
Pool Rule Operator - Specifies how Device Farm compares the rule's attribute to the value.
- value String
- The rule's value.
- attribute
Device
Pool Rule Attribute - The rule's stringified attribute.
- operator
Device
Pool Rule Operator - Specifies how Device Farm compares the rule's attribute to the value.
- value string
- The rule's value.
- attribute
Device
Pool Rule Attribute - The rule's stringified attribute.
- operator
Device
Pool Rule Operator - Specifies how Device Farm compares the rule's attribute to the value.
- value str
- The rule's value.
- attribute "ARN" | "PLATFORM" | "FORM_FACTOR" | "MANUFACTURER" | "REMOTE_ACCESS_ENABLED" | "REMOTE_DEBUG_ENABLED" | "APPIUM_VERSION" | "INSTANCE_ARN" | "INSTANCE_LABELS" | "FLEET_TYPE" | "OS_VERSION" | "MODEL" | "AVAILABILITY"
- The rule's stringified attribute.
- operator "EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS" | "GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "IN" | "NOT_IN" | "CONTAINS"
- Specifies how Device Farm compares the rule's attribute to the value.
- value String
- The rule's value.
DevicePoolRuleAttribute
DevicePoolRuleOperator
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.