![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.devicefarm.kotlin.outputs.GetInstanceProfileResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.devicefarm.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The Amazon Resource Name (ARN) of the instance profile. See [Amazon resource names](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *General Reference guide* .
* @property description The description of the instance profile.
* @property 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 `packageCleanup` to `true` .
* @property name The name of the instance profile.
* @property packageCleanup When set to `true` , Device Farm removes app packages after a test run. The default value is `false` for private devices.
* @property rebootAfterUse When set to `true` , Device Farm reboots the instance after a test run. The default value is `true` .
* @property tags An array of key-value pairs to apply to this resource.
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) in the *guide* .
*/
public data class GetInstanceProfileResult(
public val arn: String? = null,
public val description: String? = null,
public val excludeAppPackagesFromCleanup: List? = null,
public val name: String? = null,
public val packageCleanup: Boolean? = null,
public val rebootAfterUse: Boolean? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.devicefarm.outputs.GetInstanceProfileResult): GetInstanceProfileResult = GetInstanceProfileResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
excludeAppPackagesFromCleanup = javaType.excludeAppPackagesFromCleanup().map({ args0 -> args0 }),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
packageCleanup = javaType.packageCleanup().map({ args0 -> args0 }).orElse(null),
rebootAfterUse = javaType.rebootAfterUse().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy