com.pulumi.awsnative.cloudformation.kotlin.enums.ResourceVersionVisibility.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.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* 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 enum class ResourceVersionVisibility(
public val javaValue: com.pulumi.awsnative.cloudformation.enums.ResourceVersionVisibility,
) : ConvertibleToJava {
Public(com.pulumi.awsnative.cloudformation.enums.ResourceVersionVisibility.Public),
Private(com.pulumi.awsnative.cloudformation.enums.ResourceVersionVisibility.Private),
;
override fun toJava(): com.pulumi.awsnative.cloudformation.enums.ResourceVersionVisibility =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cloudformation.enums.ResourceVersionVisibility): ResourceVersionVisibility =
ResourceVersionVisibility.values().first { it.javaValue == javaType }
}
}