aws-cdk-lib.aws_devicefarm.CfnInstanceProfileProps

interface CfnInstanceProfileProps

LanguageType name
.NETAmazon.CDK.AWS.DeviceFarm.CfnInstanceProfileProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdevicefarm#CfnInstanceProfileProps
Javasoftware.amazon.awscdk.services.devicefarm.CfnInstanceProfileProps
Pythonaws_cdk.aws_devicefarm.CfnInstanceProfileProps
TypeScript aws-cdk-lib » aws_devicefarm » CfnInstanceProfileProps

Properties for defining a CfnInstanceProfile.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devicefarm as devicefarm } from 'aws-cdk-lib';
const cfnInstanceProfileProps: devicefarm.CfnInstanceProfileProps = {
  name: 'name',

  // the properties below are optional
  description: 'description',
  excludeAppPackagesFromCleanup: ['excludeAppPackagesFromCleanup'],
  packageCleanup: false,
  rebootAfterUse: false,
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
namestringThe name of the instance profile.
description?stringThe description of the instance profile.
excludeAppPackagesFromCleanup?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.
packageCleanup?boolean | IResolvableWhen set to true , Device Farm removes app packages after a test run.
rebootAfterUse?boolean | IResolvableWhen set to true , Device Farm reboots the instance after a test run.
tags?CfnTag[]An array of key-value pairs to apply to this resource.

name

Type: string

The name of the instance profile.


description?

Type: string (optional)

The description of the instance profile.


excludeAppPackagesFromCleanup?

Type: string[] (optional)

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 .


packageCleanup?

Type: boolean | IResolvable (optional)

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

The default value is false for private devices.


rebootAfterUse?

Type: boolean | IResolvable (optional)

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

The default value is true .


tags?

Type: CfnTag[] (optional)

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

For more information, see Tag in the guide .