com.pulumi.awsnative.ssm.kotlin.enums.PatchBaselineRuleComplianceLevel.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.ssm.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* A compliance severity level for all approved patches in a patch baseline. Valid compliance severity levels include the following: `UNSPECIFIED` , `CRITICAL` , `HIGH` , `MEDIUM` , `LOW` , and `INFORMATIONAL` .
*/
public enum class PatchBaselineRuleComplianceLevel(
public val javaValue: com.pulumi.awsnative.ssm.enums.PatchBaselineRuleComplianceLevel,
) : ConvertibleToJava {
Critical(com.pulumi.awsnative.ssm.enums.PatchBaselineRuleComplianceLevel.Critical),
High(com.pulumi.awsnative.ssm.enums.PatchBaselineRuleComplianceLevel.High),
Informational(com.pulumi.awsnative.ssm.enums.PatchBaselineRuleComplianceLevel.Informational),
Low(com.pulumi.awsnative.ssm.enums.PatchBaselineRuleComplianceLevel.Low),
Medium(com.pulumi.awsnative.ssm.enums.PatchBaselineRuleComplianceLevel.Medium),
Unspecified(com.pulumi.awsnative.ssm.enums.PatchBaselineRuleComplianceLevel.Unspecified),
;
override fun toJava(): com.pulumi.awsnative.ssm.enums.PatchBaselineRuleComplianceLevel = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ssm.enums.PatchBaselineRuleComplianceLevel): PatchBaselineRuleComplianceLevel =
PatchBaselineRuleComplianceLevel.values().first { it.javaValue == javaType }
}
}