AWS Fundamentals Logo
AWS Fundamentals
L1 Construct

CfnInstanceProfile

Creates a profile that can be applied to one or more private fleet device instances.

Import

import { CfnInstanceProfile } from 'aws-cdk-lib/aws-devicefarm';

Or use the module namespace:

import * as devicefarm from 'aws-cdk-lib/aws-devicefarm';
// devicefarm.CfnInstanceProfile

Properties

Configuration passed to the constructor as CfnInstanceProfileProps.

nameRequired
string

The name of the instance profile.

descriptionOptional
string

The description of the instance profile.

excludeAppPackagesFromCleanupOptional
string[]

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` .

packageCleanupOptional
boolean | IResolvable

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

rebootAfterUseOptional
boolean | IResolvable

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

tagsOptional
CfnTag[]

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* .

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-devicefarm
Properties6

External Links