1. Packages
  2. AWS Native
  3. API Docs
  4. devicefarm
  5. InstanceProfile

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi

aws-native.devicefarm.InstanceProfile

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi

    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

    The InstanceProfile resource accepts the following input properties:

    Description string
    The description of the instance profile.
    ExcludeAppPackagesFromCleanup List<string>

    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 .

    Name string
    The name of the instance profile.
    PackageCleanup bool
    When set to true , Device Farm removes app packages after a test run. The default value is false for private devices.
    RebootAfterUse bool
    When set to true , Device Farm reboots the instance after a test run. The default value is true .
    Tags List<Pulumi.AwsNative.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.
    ExcludeAppPackagesFromCleanup []string

    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 .

    Name string
    The name of the instance profile.
    PackageCleanup bool
    When set to true , Device Farm removes app packages after a test run. The default value is false for private devices.
    RebootAfterUse bool
    When set to true , Device Farm reboots the instance after a test run. The default value is true .
    Tags TagArgs

    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.
    excludeAppPackagesFromCleanup List<String>

    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 .

    name String
    The name of the instance profile.
    packageCleanup Boolean
    When set to true , Device Farm removes app packages after a test run. The default value is false for private devices.
    rebootAfterUse Boolean
    When set to true , Device Farm reboots the instance after a test run. The default value is true .
    tags 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.
    excludeAppPackagesFromCleanup string[]

    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 .

    name string
    The name of the instance profile.
    packageCleanup boolean
    When set to true , Device Farm removes app packages after a test run. The default value is false for private devices.
    rebootAfterUse boolean
    When set to true , Device Farm reboots the instance after a test run. The default value is true .
    tags 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_packages_from_cleanup Sequence[str]

    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 .

    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 is false for private devices.
    reboot_after_use bool
    When set to true , Device Farm reboots the instance after a test run. The default value is true .
    tags Sequence[TagArgs]

    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.
    excludeAppPackagesFromCleanup List<String>

    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 .

    name String
    The name of the instance profile.
    packageCleanup Boolean
    When set to true , Device Farm removes app packages after a test run. The default value is false for private devices.
    rebootAfterUse Boolean
    When set to true , Device Farm reboots the instance after a test run. The default value is true .
    tags 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

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi