interface CfnInstanceProfileMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.DeviceFarm.Mixins.CfnInstanceProfileMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdevicefarm/mixins#CfnInstanceProfileMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.devicefarm.mixins.CfnInstanceProfileMixinProps |
Python | aws_cdk.mixins_preview.aws_devicefarm.mixins.CfnInstanceProfileMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_devicefarm » mixins » CfnInstanceProfileMixinProps |
Properties for CfnInstanceProfilePropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as devicefarm_mixins } from '@aws-cdk/mixins-preview/aws-devicefarm';
const cfnInstanceProfileMixinProps: devicefarm_mixins.CfnInstanceProfileMixinProps = {
description: 'description',
excludeAppPackagesFromCleanup: ['excludeAppPackagesFromCleanup'],
name: 'name',
packageCleanup: false,
rebootAfterUse: false,
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| description? | string | The description of the instance profile. |
| exclude | 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. |
| name? | string | The name of the instance profile. |
| package | boolean | IResolvable | When set to true , Device Farm removes app packages after a test run. |
| reboot | boolean | IResolvable | When set to true , Device Farm reboots the instance after a test run. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
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 .
name?
Type:
string
(optional)
The name of the instance profile.
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:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .

.NET
Go
Java
Python
TypeScript