com.pulumi.awsnative.fms.kotlin.enums.PolicyFirewallDeploymentModel.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.fms.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Firewall deployment mode.
*/
public enum class PolicyFirewallDeploymentModel(
public val javaValue: com.pulumi.awsnative.fms.enums.PolicyFirewallDeploymentModel,
) : ConvertibleToJava {
Distributed(com.pulumi.awsnative.fms.enums.PolicyFirewallDeploymentModel.Distributed),
Centralized(com.pulumi.awsnative.fms.enums.PolicyFirewallDeploymentModel.Centralized),
;
override fun toJava(): com.pulumi.awsnative.fms.enums.PolicyFirewallDeploymentModel = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.fms.enums.PolicyFirewallDeploymentModel): PolicyFirewallDeploymentModel =
PolicyFirewallDeploymentModel.values().first { it.javaValue == javaType }
}
}