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

com.pulumi.awsnative.cloudformation.kotlin.enums.ResourceVersionVisibility.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.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 }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy