com.pulumi.awsnative.ssm.kotlin.enums.PatchBaselineApprovedPatchesComplianceLevel.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
/**
* Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. The default value is UNSPECIFIED.
*/
public enum class PatchBaselineApprovedPatchesComplianceLevel(
public val javaValue: com.pulumi.awsnative.ssm.enums.PatchBaselineApprovedPatchesComplianceLevel,
) : ConvertibleToJava {
Critical(com.pulumi.awsnative.ssm.enums.PatchBaselineApprovedPatchesComplianceLevel.Critical),
High(com.pulumi.awsnative.ssm.enums.PatchBaselineApprovedPatchesComplianceLevel.High),
Medium(com.pulumi.awsnative.ssm.enums.PatchBaselineApprovedPatchesComplianceLevel.Medium),
Low(com.pulumi.awsnative.ssm.enums.PatchBaselineApprovedPatchesComplianceLevel.Low),
Informational(com.pulumi.awsnative.ssm.enums.PatchBaselineApprovedPatchesComplianceLevel.Informational),
Unspecified(com.pulumi.awsnative.ssm.enums.PatchBaselineApprovedPatchesComplianceLevel.Unspecified),
;
override fun toJava(): com.pulumi.awsnative.ssm.enums.PatchBaselineApprovedPatchesComplianceLevel = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ssm.enums.PatchBaselineApprovedPatchesComplianceLevel): PatchBaselineApprovedPatchesComplianceLevel =
PatchBaselineApprovedPatchesComplianceLevel.values().first { it.javaValue == javaType }
}
}