Skip to content

InstanceProfile

Source code in docs_src/capo_device_farm/types/instance_profile.py
class InstanceProfile(TypedDict, closed=True):
    arn: NotRequired["capo_device_farm.types.amazon_resource_name.AmazonResourceName"]
    """<p>The Amazon Resource Name (ARN) of the instance profile.</p>"""
    package_cleanup: NotRequired["capo_device_farm.types.boolean.Boolean"]
    """<p>When set to <code>true</code>, Device Farm removes app packages after a test run. The default value is <code>false</code> for private devices.</p>"""
    exclude_app_packages_from_cleanup: NotRequired[
        "capo_device_farm.types.package_ids.PackageIds"
    ]
    """<p>An array of strings containing the list of app packages that should not be cleaned up from the device after a test run completes.</p> <p>The list of packages is considered only if you set <code>packageCleanup</code> to <code>true</code>.</p>"""
    reboot_after_use: NotRequired["capo_device_farm.types.boolean.Boolean"]
    """<p>When set to <code>true</code>, Device Farm reboots the instance after a test run. The default value is <code>true</code>.</p>"""
    name: NotRequired["capo_device_farm.types.name.Name"]
    """<p>The name of the instance profile.</p>"""
    description: NotRequired["capo_device_farm.types.message.Message"]
    """<p>The description of the instance profile.</p>"""

arn instance-attribute

arn: NotRequired[AmazonResourceName]

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

description instance-attribute

description: NotRequired[Message]

The description of the instance profile.

exclude_app_packages_from_cleanup instance-attribute

exclude_app_packages_from_cleanup: NotRequired[PackageIds]

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 instance-attribute

name: NotRequired[Name]

The name of the instance profile.

package_cleanup instance-attribute

package_cleanup: NotRequired[Boolean]

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

reboot_after_use instance-attribute

reboot_after_use: NotRequired[Boolean]

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