{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-device-farm/refs/heads/main/json-structure/amazon-device-farm-instance-profile-structure.json",
"description": "Represents the instance profile.",
"type": "object",
"properties": {
"arn": {
"allOf": [
{
"$ref": "#/components/schemas/AmazonResourceName"
},
{
"description": "The Amazon Resource Name (ARN) of the instance profile."
}
]
},
"packageCleanup": {
"allOf": [
{
"$ref": "#/components/schemas/Boolean"
},
{
"description": "When set to true, Device Farm removes app packages after a test run. The default value is false for private devices."
}
]
},
"excludeAppPackagesFromCleanup": {
"allOf": [
{
"$ref": "#/components/schemas/PackageIds"
},
{
"description": "
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.
true, Device Farm reboots the instance after a test run. The default value is true."
}
]
},
"name": {
"allOf": [
{
"$ref": "#/components/schemas/Name"
},
{
"description": "The name of the instance profile."
}
]
},
"description": {
"allOf": [
{
"$ref": "#/components/schemas/Message"
},
{
"description": "The description of the instance profile."
}
]
}
},
"name": "InstanceProfile"
}