com.pulumi.awsnative.redshift.kotlin.enums.EventSubscriptionStatus.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.redshift.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The status of the Amazon Redshift event notification subscription.
*/
public enum class EventSubscriptionStatus(
public val javaValue: com.pulumi.awsnative.redshift.enums.EventSubscriptionStatus,
) : ConvertibleToJava {
Active(com.pulumi.awsnative.redshift.enums.EventSubscriptionStatus.Active),
NoPermission(com.pulumi.awsnative.redshift.enums.EventSubscriptionStatus.NoPermission),
TopicNotExist(com.pulumi.awsnative.redshift.enums.EventSubscriptionStatus.TopicNotExist),
;
override fun toJava(): com.pulumi.awsnative.redshift.enums.EventSubscriptionStatus = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.redshift.enums.EventSubscriptionStatus): EventSubscriptionStatus =
EventSubscriptionStatus.values().first { it.javaValue == javaType }
}
}