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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:devicefarm:getInstanceProfile
arguments:
# arguments dictionary
The 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
packageCleanup
totrue
.- 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 isfalse
for 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
packageCleanup
totrue
.- 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 isfalse
for 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
packageCleanup
totrue
.- 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 isfalse
for 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
packageCleanup
totrue
.- 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 isfalse
for 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
packageCleanup
totrue
.- 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 isfalse
for 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
packageCleanup
totrue
.- 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 isfalse
for 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.