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

com.pulumi.awsnative.rds.kotlin.enums.DbProxyEndpointTargetRole.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: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.rds.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.
 */
public enum class DbProxyEndpointTargetRole(
    public val javaValue: com.pulumi.awsnative.rds.enums.DbProxyEndpointTargetRole,
) : ConvertibleToJava {
    ReadWrite(com.pulumi.awsnative.rds.enums.DbProxyEndpointTargetRole.ReadWrite),
    ReadOnly(com.pulumi.awsnative.rds.enums.DbProxyEndpointTargetRole.ReadOnly),
    ;

    override fun toJava(): com.pulumi.awsnative.rds.enums.DbProxyEndpointTargetRole = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.rds.enums.DbProxyEndpointTargetRole): DbProxyEndpointTargetRole =
            DbProxyEndpointTargetRole.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy