AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Represents the instance profile.

Inheritance Hierarchy

System.Object
  Amazon.DeviceFarm.Model.InstanceProfile

Namespace: Amazon.DeviceFarm.Model
Assembly: AWSSDK.DeviceFarm.dll
Version: 3.x.y.z

Syntax

C#
public class InstanceProfile

The InstanceProfile type exposes the following members

Constructors

NameDescription
Public Method InstanceProfile()

Properties

NameTypeDescription
Public Property Arn System.String

Gets and sets the property Arn.

The Amazon Resource Name (ARN) of the instance profile.

Public Property Description System.String

Gets and sets the property Description.

The description of the instance profile.

Public Property ExcludeAppPackagesFromCleanup System.Collections.Generic.List<System.String>

Gets and sets the property ExcludeAppPackagesFromCleanup.

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.

Public Property Name System.String

Gets and sets the property Name.

The name of the instance profile.

Public Property PackageCleanup System.Boolean

Gets and sets the property PackageCleanup.

When set to true, Device Farm removes app packages after a test run. The default value is false for private devices.

Public Property RebootAfterUse System.Boolean

Gets and sets the property RebootAfterUse.

When set to true, Device Farm reboots the instance after a test run. The default value is true.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5