We recommend new projects start with resources from the AWS provider.
aws-native.devicefarm.InstanceProfile
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS::DeviceFarm::InstanceProfile creates a new Device Farm Instance Profile
Create InstanceProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InstanceProfile(name: string, args?: InstanceProfileArgs, opts?: CustomResourceOptions);
@overload
def InstanceProfile(resource_name: str,
args: Optional[InstanceProfileArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def InstanceProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
exclude_app_packages_from_cleanup: Optional[Sequence[str]] = None,
name: Optional[str] = None,
package_cleanup: Optional[bool] = None,
reboot_after_use: Optional[bool] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewInstanceProfile(ctx *Context, name string, args *InstanceProfileArgs, opts ...ResourceOption) (*InstanceProfile, error)
public InstanceProfile(string name, InstanceProfileArgs? args = null, CustomResourceOptions? opts = null)
public InstanceProfile(String name, InstanceProfileArgs args)
public InstanceProfile(String name, InstanceProfileArgs args, CustomResourceOptions options)
type: aws-native:devicefarm:InstanceProfile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args InstanceProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args InstanceProfileArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args InstanceProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceProfileArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
InstanceProfile Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The InstanceProfile resource accepts the following input properties:
- Description string
- The description of the instance profile.
- Exclude
App List<string>Packages From Cleanup 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
.- Name string
- The name of the instance profile.
- Package
Cleanup bool - When set to
true
, Device Farm removes app packages after a test run. The default value isfalse
for private devices. - Reboot
After boolUse - When set to
true
, Device Farm reboots the instance after a test run. The default value istrue
. - List<Pulumi.
Aws Native. Inputs. Tag> An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
- Description string
- The description of the instance profile.
- Exclude
App []stringPackages From Cleanup 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
.- Name string
- The name of the instance profile.
- Package
Cleanup bool - When set to
true
, Device Farm removes app packages after a test run. The default value isfalse
for private devices. - Reboot
After boolUse - When set to
true
, Device Farm reboots the instance after a test run. The default value istrue
. - Tag
Args An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
- description String
- The description of the instance profile.
- exclude
App List<String>Packages From Cleanup 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
.- name String
- The name of the instance profile.
- package
Cleanup Boolean - When set to
true
, Device Farm removes app packages after a test run. The default value isfalse
for private devices. - reboot
After BooleanUse - When set to
true
, Device Farm reboots the instance after a test run. The default value istrue
. - List<Tag>
An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
- description string
- The description of the instance profile.
- exclude
App string[]Packages From Cleanup 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
.- name string
- The name of the instance profile.
- package
Cleanup boolean - When set to
true
, Device Farm removes app packages after a test run. The default value isfalse
for private devices. - reboot
After booleanUse - When set to
true
, Device Farm reboots the instance after a test run. The default value istrue
. - Tag[]
An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
- description str
- The description of the instance profile.
- exclude_
app_ Sequence[str]packages_ from_ cleanup 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
.- name str
- The name of the instance profile.
- package_
cleanup bool - When set to
true
, Device Farm removes app packages after a test run. The default value isfalse
for private devices. - reboot_
after_ booluse - When set to
true
, Device Farm reboots the instance after a test run. The default value istrue
. - Sequence[Tag
Args] An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
- description String
- The description of the instance profile.
- exclude
App List<String>Packages From Cleanup 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
.- name String
- The name of the instance profile.
- package
Cleanup Boolean - When set to
true
, Device Farm removes app packages after a test run. The default value isfalse
for private devices. - reboot
After BooleanUse - When set to
true
, Device Farm reboots the instance after a test run. The default value istrue
. - List<Property Map>
An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
Outputs
All input properties are implicitly available as output properties. Additionally, the InstanceProfile resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
- Id string
- The provider-assigned unique ID for this managed resource.
- Arn string
- The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
- Id string
- The provider-assigned unique ID for this managed resource.
- arn String
- The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
- id String
- The provider-assigned unique ID for this managed resource.
- arn string
- The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
- id string
- The provider-assigned unique ID for this managed resource.
- arn str
- The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
- id str
- The provider-assigned unique ID for this managed resource.
- arn String
- The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.