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

com.pulumi.awsnative.sns.kotlin.enums.TopicLoggingConfigProtocol.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.24.0.0
Show newest version
@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