com.pulumi.awsnative.wafv2.kotlin.enums.RuleGroupScope.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.wafv2.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Use CLOUDFRONT for CloudFront RuleGroup, use REGIONAL for Application Load Balancer and API Gateway.
*/
public enum class RuleGroupScope(
public val javaValue: com.pulumi.awsnative.wafv2.enums.RuleGroupScope,
) : ConvertibleToJava {
Cloudfront(com.pulumi.awsnative.wafv2.enums.RuleGroupScope.Cloudfront),
Regional(com.pulumi.awsnative.wafv2.enums.RuleGroupScope.Regional),
;
override fun toJava(): com.pulumi.awsnative.wafv2.enums.RuleGroupScope = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.wafv2.enums.RuleGroupScope): RuleGroupScope =
RuleGroupScope.values().first { it.javaValue == javaType }
}
}