Creates a profile that can be applied to one or more private fleet device instances.
import { CfnInstanceProfile } from 'aws-cdk-lib/aws-devicefarm';Or use the module namespace:
import * as devicefarm from 'aws-cdk-lib/aws-devicefarm';
// devicefarm.CfnInstanceProfileConfiguration passed to the constructor as CfnInstanceProfileProps.
nameRequiredstringThe name of the instance profile.
descriptionOptionalstringThe description of the instance profile.
excludeAppPackagesFromCleanupOptionalstring[]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` .
packageCleanupOptionalboolean | IResolvableWhen set to `true` , Device Farm removes app packages after a test run. The default value is `false` for private devices.
rebootAfterUseOptionalboolean | IResolvableWhen set to `true` , Device Farm reboots the instance after a test run. The default value is `true` .
tagsOptionalCfnTag[]An array of key-value pairs to apply to this resource. For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) in the *guide* .
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-devicefarm