@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
96 lines (95 loc) • 4.24 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Resource Type definition for a Device Pool for a given Device Farm Project
*/
export declare class DevicePool extends pulumi.CustomResource {
/**
* Get an existing DevicePool resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DevicePool;
/**
* Returns true if the given object is an instance of DevicePool. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is DevicePool;
/**
* The Amazon Resource Name (ARN) of the device pool. See [Amazon resource names](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *General Reference guide* .
*/
readonly arn: pulumi.Output<string>;
/**
* The device pool's description.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* 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.
*/
readonly maxDevices: pulumi.Output<number | undefined>;
/**
* The device pool's name.
*/
readonly name: pulumi.Output<string>;
/**
* The ARN of the project for the device pool.
*/
readonly projectArn: pulumi.Output<string>;
/**
* The device pool's rules.
*/
readonly rules: pulumi.Output<outputs.devicefarm.DevicePoolRule[]>;
/**
* An array of key-value pairs to apply to this resource.
*
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) in the *guide* .
*/
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
/**
* Create a DevicePool resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: DevicePoolArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a DevicePool resource.
*/
export interface DevicePoolArgs {
/**
* The device pool's description.
*/
description?: pulumi.Input<string>;
/**
* 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.
*/
maxDevices?: pulumi.Input<number>;
/**
* The device pool's name.
*/
name?: pulumi.Input<string>;
/**
* The ARN of the project for the device pool.
*/
projectArn: pulumi.Input<string>;
/**
* The device pool's rules.
*/
rules: pulumi.Input<pulumi.Input<inputs.devicefarm.DevicePoolRuleArgs>[]>;
/**
* An array of key-value pairs to apply to this resource.
*
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) in the *guide* .
*/
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
}