com.pulumi.awsnative.shield.kotlin.enums.ProtectionGroupPattern.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.shield.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.
*/
public enum class ProtectionGroupPattern(
public val javaValue: com.pulumi.awsnative.shield.enums.ProtectionGroupPattern,
) : ConvertibleToJava {
All(com.pulumi.awsnative.shield.enums.ProtectionGroupPattern.All),
Arbitrary(com.pulumi.awsnative.shield.enums.ProtectionGroupPattern.Arbitrary),
ByResourceType(com.pulumi.awsnative.shield.enums.ProtectionGroupPattern.ByResourceType),
;
override fun toJava(): com.pulumi.awsnative.shield.enums.ProtectionGroupPattern = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.shield.enums.ProtectionGroupPattern): ProtectionGroupPattern = ProtectionGroupPattern.values().first { it.javaValue == javaType }
}
}