AWS::DeviceFarm::InstanceProfile
Creates a profile that can be applied to one or more private fleet device instances.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::DeviceFarm::InstanceProfile", "Properties" : { "Description" :
String
, "ExcludeAppPackagesFromCleanup" :[ String, ... ]
, "Name" :String
, "PackageCleanup" :Boolean
, "RebootAfterUse" :Boolean
, "Tags" :[ Tag, ... ]
} }
YAML
Type: AWS::DeviceFarm::InstanceProfile Properties: Description:
String
ExcludeAppPackagesFromCleanup:- String
Name:String
PackageCleanup:Boolean
RebootAfterUse:Boolean
Tags:- Tag
Properties
Description
-
The description of the instance profile.
Required: No
Type: String
Minimum:
1
Maximum:
16384
Update requires: No interruption
ExcludeAppPackagesFromCleanup
-
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
totrue
.Required: No
Type: Array of String
Minimum:
1
Maximum:
256
Update requires: No interruption
Name
-
The name of the instance profile.
Required: Yes
Type: String
Minimum:
1
Maximum:
256
Update requires: No interruption
PackageCleanup
-
When set to
true
, Device Farm removes app packages after a test run. The default value isfalse
for private devices.Required: No
Type: Boolean
Update requires: No interruption
RebootAfterUse
-
When set to
true
, Device Farm reboots the instance after a test run. The default value istrue
.Required: No
Type: Boolean
Update requires: No interruption
-
An array of key-value pairs to apply to this resource.
For more information, see Tag in the AWS CloudFormation resource type reference guide.
Required: No
Type: Array of Tag
Update requires: No interruption
Return values
Ref
Not supported for this resource.
Fn::GetAtt
The Fn::GetAtt
intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt
intrinsic function, see Fn::GetAtt
.
Arn
-
The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide.