interface CfnInstanceProfileMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.DeviceFarm.CfnInstanceProfileMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsdevicefarm#CfnInstanceProfileMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.devicefarm.CfnInstanceProfileMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_devicefarm.CfnInstanceProfileMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_devicefarm » 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 { aws_devicefarm as devicefarm } from '@aws-cdk/cfn-property-mixins';
const cfnInstanceProfileMixinProps: devicefarm.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