CfnInstanceProfileMixinProps
- class aws_cdk.mixins_preview.aws_devicefarm.mixins.CfnInstanceProfileMixinProps(*, description=None, exclude_app_packages_from_cleanup=None, name=None, package_cleanup=None, reboot_after_use=None, tags=None)
Bases:
objectProperties for CfnInstanceProfilePropsMixin.
- Parameters:
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 setpackageCleanuptotrue.name (
Optional[str]) – The name of the instance profile.package_cleanup (
Union[bool,IResolvable,None]) – When set totrue, Device Farm removes app packages after a test run. The default value isfalsefor private devices.reboot_after_use (
Union[bool,IResolvable,None]) – When set totrue, Device Farm reboots the instance after a test run. The default value istrue.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:
- 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.mixins_preview.aws_devicefarm import mixins as devicefarm_mixins cfn_instance_profile_mixin_props = devicefarm_mixins.CfnInstanceProfileMixinProps( description="description", exclude_app_packages_from_cleanup=["excludeAppPackagesFromCleanup"], name="name", package_cleanup=False, reboot_after_use=False, tags=[CfnTag( key="key", value="value" )] )
Attributes
- description
The description of the instance profile.
- 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
packageCleanuptotrue.
- name
The name of the instance profile.
- package_cleanup
When set to
true, Device Farm removes app packages after a test run.The default value is
falsefor private devices.
- reboot_after_use
When set to
true, Device Farm reboots the instance after a test run.The default value is
true.