CfnInstanceProfileProps

class aws_cdk.aws_devicefarm.CfnInstanceProfileProps(*, name, description=None, exclude_app_packages_from_cleanup=None, package_cleanup=None, reboot_after_use=None, tags=None)

Bases: object

Properties for defining a CfnInstanceProfile.

Parameters:
  • name (str) – The name of the instance profile.

  • description (Optional[str]) – The description of the instance profile.

  • exclude_app_packages_from_cleanup (Optional[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 .

  • package_cleanup (Union[bool, IResolvable, None]) – When set to true , Device Farm removes app packages after a test run. The default value is false for private devices.

  • reboot_after_use (Union[bool, IResolvable, None]) – When set to true , Device Farm reboots the instance after a test run. The default value is true .

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to this resource. For more information, see Tag in the guide .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-instanceprofile.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devicefarm as devicefarm

cfn_instance_profile_props = devicefarm.CfnInstanceProfileProps(
    name="name",

    # the properties below are optional
    description="description",
    exclude_app_packages_from_cleanup=["excludeAppPackagesFromCleanup"],
    package_cleanup=False,
    reboot_after_use=False,
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

The description of the instance profile.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-instanceprofile.html#cfn-devicefarm-instanceprofile-description

exclude_app_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 to true .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-instanceprofile.html#cfn-devicefarm-instanceprofile-excludeapppackagesfromcleanup

name

The name of the instance profile.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-instanceprofile.html#cfn-devicefarm-instanceprofile-name

package_cleanup

When set to true , Device Farm removes app packages after a test run.

The default value is false for private devices.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-instanceprofile.html#cfn-devicefarm-instanceprofile-packagecleanup

reboot_after_use

When set to true , Device Farm reboots the instance after a test run.

The default value is true .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-instanceprofile.html#cfn-devicefarm-instanceprofile-rebootafteruse

tags

An array of key-value pairs to apply to this resource.

For more information, see Tag in the guide .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-instanceprofile.html#cfn-devicefarm-instanceprofile-tags