@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)
57 lines (56 loc) • 2.5 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Resource Type definition for a Device Farm Instance Profile
*/
export declare function getInstanceProfile(args: GetInstanceProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceProfileResult>;
export interface GetInstanceProfileArgs {
/**
* The Amazon Resource Name (ARN) of the instance profile. See [Amazon resource names](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *General Reference guide* .
*/
arn: string;
}
export interface GetInstanceProfileResult {
/**
* The Amazon Resource Name (ARN) of the instance profile. See [Amazon resource names](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *General Reference guide* .
*/
readonly arn?: string;
/**
* The description of the instance profile.
*/
readonly description?: string;
/**
* An array of strings containing the list of app packages that should not be cleaned up from the device after a test run completes.
*
* The list of packages is considered only if you set `packageCleanup` to `true` .
*/
readonly excludeAppPackagesFromCleanup?: string[];
/**
* The name of the instance profile.
*/
readonly name?: string;
/**
* When set to `true` , Device Farm removes app packages after a test run. The default value is `false` for private devices.
*/
readonly packageCleanup?: boolean;
/**
* When set to `true` , Device Farm reboots the instance after a test run. The default value is `true` .
*/
readonly rebootAfterUse?: boolean;
/**
* 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?: outputs.Tag[];
}
/**
* Resource Type definition for a Device Farm Instance Profile
*/
export declare function getInstanceProfileOutput(args: GetInstanceProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstanceProfileResult>;
export interface GetInstanceProfileOutputArgs {
/**
* The Amazon Resource Name (ARN) of the instance profile. See [Amazon resource names](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *General Reference guide* .
*/
arn: pulumi.Input<string>;
}