com.pulumi.awsnative.cloudformation.kotlin.outputs.GetResourceDefaultVersionResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cloudformation.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property arn The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion
* @property typeName The name of the type being registered.
* We recommend that type names adhere to the following pattern: company_or_organization::service::type.
* @property typeVersionArn The Amazon Resource Name (ARN) of the type version.
* @property versionId The ID of an existing version of the resource to set as the default.
*/
public data class GetResourceDefaultVersionResult(
public val arn: String? = null,
public val typeName: String? = null,
public val typeVersionArn: String? = null,
public val versionId: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cloudformation.outputs.GetResourceDefaultVersionResult): GetResourceDefaultVersionResult = GetResourceDefaultVersionResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
typeName = javaType.typeName().map({ args0 -> args0 }).orElse(null),
typeVersionArn = javaType.typeVersionArn().map({ args0 -> args0 }).orElse(null),
versionId = javaType.versionId().map({ args0 -> args0 }).orElse(null),
)
}
}