1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. devicefarm
  5. getInstanceProfile

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.devicefarm.getInstanceProfile

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

AWS::DeviceFarm::InstanceProfile creates a new 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>
Copy
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]
Copy
func LookupInstanceProfile(ctx *Context, args *LookupInstanceProfileArgs, opts ...InvokeOption) (*LookupInstanceProfileResult, error)
func LookupInstanceProfileOutput(ctx *Context, args *LookupInstanceProfileOutputArgs, opts ...InvokeOption) LookupInstanceProfileResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetInstanceProfileResult> getInstanceProfile(GetInstanceProfileArgs args, InvokeOptions options)
public static Output<GetInstanceProfileResult> getInstanceProfile(GetInstanceProfileArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:devicefarm:getInstanceProfile
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Arn This property is required. string
The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
Arn This property is required. string
The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
arn This property is required. String
The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
arn This property is required. string
The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
arn This property is required. str
The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
arn This property is required. 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.
ExcludeAppPackagesFromCleanup List<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 .

Name string
The name of the instance profile.
PackageCleanup bool
When set to true , Device Farm removes app packages after a test run. The default value is false for private devices.
RebootAfterUse bool
When set to true , Device Farm reboots the instance after a test run. The default value is true .
Tags List<Pulumi.AwsNative.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.
ExcludeAppPackagesFromCleanup []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 .

Name string
The name of the instance profile.
PackageCleanup bool
When set to true , Device Farm removes app packages after a test run. The default value is false for private devices.
RebootAfterUse bool
When set to true , Device Farm reboots the instance after a test run. The default value is true .
Tags 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.
excludeAppPackagesFromCleanup List<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 .

name String
The name of the instance profile.
packageCleanup Boolean
When set to true , Device Farm removes app packages after a test run. The default value is false for private devices.
rebootAfterUse Boolean
When set to true , Device Farm reboots the instance after a test run. The default value is true .
tags 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.
excludeAppPackagesFromCleanup 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 .

name string
The name of the instance profile.
packageCleanup boolean
When set to true , Device Farm removes app packages after a test run. The default value is false for private devices.
rebootAfterUse boolean
When set to true , Device Farm reboots the instance after a test run. The default value is true .
tags 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_packages_from_cleanup Sequence[str]

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 .

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 is false for private devices.
reboot_after_use bool
When set to true , Device Farm reboots the instance after a test run. The default value is true .
tags 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.
excludeAppPackagesFromCleanup List<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 .

name String
The name of the instance profile.
packageCleanup Boolean
When set to true , Device Farm removes app packages after a test run. The default value is false for private devices.
rebootAfterUse Boolean
When set to true , Device Farm reboots the instance after a test run. The default value is true .
tags 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

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the 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.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi