All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.cloudformation.kotlin.outputs.GetResourceDefaultVersionResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@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),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy