interface CfnInstanceProfileProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.DeviceFarm.CfnInstanceProfileProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsdevicefarm#CfnInstanceProfileProps |
![]() | software.amazon.awscdk.services.devicefarm.CfnInstanceProfileProps |
![]() | aws_cdk.aws_devicefarm.CfnInstanceProfileProps |
![]() | 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
Name | Type | Description |
---|---|---|
name | string | The name of the instance profile. |
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. |
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. |
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:
Cfn
[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .