1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. devicefarm
  5. getInstanceProfile

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.devicefarm.getInstanceProfile

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    AWS::DeviceFarm::InstanceProfile creates a new Device Farm Instance Profile

    Using getInstanceProfile

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getInstanceProfile(args: GetInstanceProfileArgs, opts?: InvokeOptions): Promise<GetInstanceProfileResult>
    function getInstanceProfileOutput(args: GetInstanceProfileOutputArgs, opts?: InvokeOptions): Output<GetInstanceProfileResult>
    def get_instance_profile(arn: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetInstanceProfileResult
    def get_instance_profile_output(arn: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetInstanceProfileResult]
    func LookupInstanceProfile(ctx *Context, args *LookupInstanceProfileArgs, opts ...InvokeOption) (*LookupInstanceProfileResult, error)
    func LookupInstanceProfileOutput(ctx *Context, args *LookupInstanceProfileOutputArgs, opts ...InvokeOption) LookupInstanceProfileResultOutput

    > Note: This function is named LookupInstanceProfile in the Go SDK.

    public static class GetInstanceProfile 
    {
        public static Task<GetInstanceProfileResult> InvokeAsync(GetInstanceProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetInstanceProfileResult> Invoke(GetInstanceProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInstanceProfileResult> getInstanceProfile(GetInstanceProfileArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:devicefarm:getInstanceProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
    Arn string
    The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
    arn String
    The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
    arn string
    The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
    arn str
    The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .
    arn String
    The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference guide .

    getInstanceProfile Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference 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 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.Outputs.Tag>

    An array of key-value pairs to apply to this resource.

    For more information, see Tag in the guide .

    Arn string
    The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference 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 Tag

    An array of key-value pairs to apply to this resource.

    For more information, see Tag in the guide .

    arn String
    The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference 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 .

    arn string
    The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference 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 .

    arn str
    The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference 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[root_Tag]

    An array of key-value pairs to apply to this resource.

    For more information, see Tag in the guide .

    arn String
    The Amazon Resource Name (ARN) of the instance profile. See Amazon resource names in the General Reference 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 .

    Supporting Types

    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 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

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi