![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.cloudformation.kotlin.outputs.GetHookVersionResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cloudformation.kotlin.outputs
import com.pulumi.awsnative.cloudformation.kotlin.enums.HookVersionVisibility
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property arn The Amazon Resource Name (ARN) of the type, here the HookVersion. This is used to uniquely identify a HookVersion resource
* @property isDefaultVersion Indicates if this type version is the current default version
* @property typeArn The Amazon Resource Name (ARN) of the type without the versionID.
* @property versionId The ID of the version of the type represented by this hook instance.
* @property visibility The scope at which the type is visible and usable in CloudFormation operations.
* Valid values include:
* PRIVATE: The type is only visible and usable within the account in which it is registered. Currently, AWS CloudFormation marks any types you register as PRIVATE.
* PUBLIC: The type is publically visible and usable within any Amazon account.
*/
public data class GetHookVersionResult(
public val arn: String? = null,
public val isDefaultVersion: Boolean? = null,
public val typeArn: String? = null,
public val versionId: String? = null,
public val visibility: HookVersionVisibility? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cloudformation.outputs.GetHookVersionResult): GetHookVersionResult = GetHookVersionResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
isDefaultVersion = javaType.isDefaultVersion().map({ args0 -> args0 }).orElse(null),
typeArn = javaType.typeArn().map({ args0 -> args0 }).orElse(null),
versionId = javaType.versionId().map({ args0 -> args0 }).orElse(null),
visibility = javaType.visibility().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.cloudformation.kotlin.enums.HookVersionVisibility.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy