This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
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 Amazon 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:StringExcludeAppPackagesFromCleanup:- StringName:StringPackageCleanup:BooleanRebootAfterUse:BooleanTags:- Tag
Properties
- Description
- 
                    The description of the instance profile. Required: No Type: String Minimum: 1Maximum: 16384Update 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 packageCleanuptotrue.Required: No Type: Array of String Minimum: 1Maximum: 256Update requires: No interruption 
- Name
- 
                    The name of the instance profile. Required: Yes Type: String Minimum: 1Maximum: 256Update requires: No interruption 
- PackageCleanup
- 
                    When set to true, Device Farm removes app packages after a test run. The default value isfalsefor 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 Amazon 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.