com.pulumi.awsnative.shield.kotlin.enums.ProtectionApplicationLayerAutomaticResponseConfigurationStatus.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.shield.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
*/
public enum class ProtectionApplicationLayerAutomaticResponseConfigurationStatus(
public val javaValue: com.pulumi.awsnative.shield.enums.ProtectionApplicationLayerAutomaticResponseConfigurationStatus,
) :
ConvertibleToJava {
Enabled(com.pulumi.awsnative.shield.enums.ProtectionApplicationLayerAutomaticResponseConfigurationStatus.Enabled),
Disabled(com.pulumi.awsnative.shield.enums.ProtectionApplicationLayerAutomaticResponseConfigurationStatus.Disabled),
;
override fun toJava(): com.pulumi.awsnative.shield.enums.ProtectionApplicationLayerAutomaticResponseConfigurationStatus = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.shield.enums.ProtectionApplicationLayerAutomaticResponseConfigurationStatus): ProtectionApplicationLayerAutomaticResponseConfigurationStatus =
ProtectionApplicationLayerAutomaticResponseConfigurationStatus.values().first { it.javaValue == javaType }
}
}