We recommend new projects start with resources from the AWS provider.
aws-native.devicefarm.getInstanceProfile
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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>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.
- ExcludeApp 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 - packageCleanupto- 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 isfalsefor private devices.
- RebootAfter 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.
- ExcludeApp []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 - packageCleanupto- 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 isfalsefor private devices.
- RebootAfter 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.
- excludeApp 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 - packageCleanupto- 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 isfalsefor private devices.
- rebootAfter 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.
- excludeApp 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 - packageCleanupto- 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 isfalsefor private devices.
- rebootAfter 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 - packageCleanupto- 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 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.
- excludeApp 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 - packageCleanupto- 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 isfalsefor private devices.
- rebootAfter 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.