We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 23, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 23, 2026 by Pulumi
Resource Type definition for a Device Farm Instance Profile
Using getInstanceProfile
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 getInstanceProfile(args: GetInstanceProfileArgs, opts?: InvokeOptions): Promise<GetInstanceProfileResult>
function getInstanceProfileOutput(args: GetInstanceProfileOutputArgs, opts?: InvokeOptions): Output<GetInstanceProfileResult>def get_instance_profile(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceProfileResult
def get_instance_profile_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceProfileResult]func LookupInstanceProfile(ctx *Context, args *LookupInstanceProfileArgs, opts ...InvokeOption) (*LookupInstanceProfileResult, error)
func LookupInstanceProfileOutput(ctx *Context, args *LookupInstanceProfileOutputArgs, opts ...InvokeOption) LookupInstanceProfileResultOutput> Note: This function is named LookupInstanceProfile in the Go SDK.
public static class GetInstanceProfile
{
public static Task<GetInstanceProfileResult> InvokeAsync(GetInstanceProfileArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceProfileResult> Invoke(GetInstanceProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInstanceProfileResult> getInstanceProfile(GetInstanceProfileArgs args, InvokeOptions options)
public static Output<GetInstanceProfileResult> getInstanceProfile(GetInstanceProfileArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:devicefarm:getInstanceProfile
arguments:
# arguments dictionaryThe following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
- Arn string
- The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
- arn String
- The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
- arn string
- The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
- arn str
- The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
- arn String
- The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
getInstanceProfile Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
- Description string
- The description of the instance profile.
- Exclude
App List<string>Packages From Cleanup 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
packageCleanuptotrue.- Name string
- The name of the instance profile.
- Package
Cleanup bool - When set to
true, Device Farm removes app packages after a test run. The default value isfalsefor private devices. - Reboot
After boolUse - When set to
true, Device Farm reboots the instance after a test run. The default value istrue. -
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 instance profile. See Amazon resource names in the General Reference guide .
- Description string
- The description of the instance profile.
- Exclude
App []stringPackages From Cleanup 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
packageCleanuptotrue.- Name string
- The name of the instance profile.
- Package
Cleanup bool - When set to
true, Device Farm removes app packages after a test run. The default value isfalsefor private devices. - Reboot
After boolUse - When set to
true, Device Farm reboots the instance after a test run. The default value istrue. - 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 instance profile. See Amazon resource names in the General Reference guide .
- description String
- The description of the instance profile.
- exclude
App List<String>Packages From Cleanup 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
packageCleanuptotrue.- name String
- The name of the instance profile.
- package
Cleanup Boolean - When set to
true, Device Farm removes app packages after a test run. The default value isfalsefor private devices. - reboot
After BooleanUse - When set to
true, Device Farm reboots the instance after a test run. The default value istrue. - 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 instance profile. See Amazon resource names in the General Reference guide .
- description string
- The description of the instance profile.
- exclude
App string[]Packages From Cleanup 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
packageCleanuptotrue.- name string
- The name of the instance profile.
- package
Cleanup boolean - When set to
true, Device Farm removes app packages after a test run. The default value isfalsefor private devices. - reboot
After booleanUse - When set to
true, Device Farm reboots the instance after a test run. The default value istrue. - 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 instance profile. See Amazon resource names in the General Reference guide .
- description str
- The description of the instance profile.
- exclude_
app_ Sequence[str]packages_ from_ cleanup 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
packageCleanuptotrue.- name str
- The name of the instance profile.
- package_
cleanup bool - When set to
true, Device Farm removes app packages after a test run. The default value isfalsefor private devices. - reboot_
after_ booluse - When set to
true, Device Farm reboots the instance after a test run. The default value istrue. - 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 instance profile. See Amazon resource names in the General Reference guide .
- description String
- The description of the instance profile.
- exclude
App List<String>Packages From Cleanup 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
packageCleanuptotrue.- name String
- The name of the instance profile.
- package
Cleanup Boolean - When set to
true, Device Farm removes app packages after a test run. The default value isfalsefor private devices. - reboot
After BooleanUse - When set to
true, Device Farm reboots the instance after a test run. The default value istrue. - List<Property Map>
An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
Supporting Types
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.
published on Monday, Mar 23, 2026 by Pulumi
