
com.pulumi.awsnative.sns.kotlin.enums.TopicLoggingConfigProtocol.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.sns.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Indicates one of the supported protocols for the Amazon SNS topic.
* > At least one of the other three `LoggingConfig` properties is recommend along with `Protocol` .
*/
public enum class TopicLoggingConfigProtocol(
public val javaValue: com.pulumi.awsnative.sns.enums.TopicLoggingConfigProtocol,
) : ConvertibleToJava {
Https(com.pulumi.awsnative.sns.enums.TopicLoggingConfigProtocol.Https),
Sqs(com.pulumi.awsnative.sns.enums.TopicLoggingConfigProtocol.Sqs),
Lambda(com.pulumi.awsnative.sns.enums.TopicLoggingConfigProtocol.Lambda),
Firehose(com.pulumi.awsnative.sns.enums.TopicLoggingConfigProtocol.Firehose),
Application(com.pulumi.awsnative.sns.enums.TopicLoggingConfigProtocol.Application),
;
override fun toJava(): com.pulumi.awsnative.sns.enums.TopicLoggingConfigProtocol = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.sns.enums.TopicLoggingConfigProtocol): TopicLoggingConfigProtocol =
TopicLoggingConfigProtocol.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy