Resource: awsDevicefarmInstanceProfile
Provides a resource to manage AWS Device Farm Instance Profiles. ∂ \~> NOTE: AWS currently has limited regional support for Device Farm (e.g., usWest2
). See AWS Device Farm endpoints and quotas for information on supported regions.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.devicefarmInstanceProfile.DevicefarmInstanceProfile(this, "example", {
name: "example",
});
Argument Reference
description
- (Optional) The description of the instance profile.excludeAppPackagesFromCleanup
- (Optional) An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run.name
- (Required) The name for the instance profile.packageCleanup
- (Optional) When set totrue
, Device Farm removes app packages after a test run. The default value isfalse
for private devices.rebootAfterUse
- (Optional) When set totrue
, Device Farm reboots the instance after a test run. The default value istrue
.tags
- (Optional) A map of tags to assign to the resource. If configured with a providerdefaultTags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
arn
- The Amazon Resource Name of this instance profile.tagsAll
- A map of tags assigned to the resource, including those inherited from the providerdefaultTags
configuration block.
Import
DeviceFarm Instance Profiles can be imported by their arn: