com.pulumi.awsnative.ssm.kotlin.enums.AssociationSyncCompliance.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
/**
* The mode for generating association compliance. You can specify `AUTO` or `MANUAL` . In `AUTO` mode, the system uses the status of the association execution to determine the compliance status. If the association execution runs successfully, then the association is `COMPLIANT` . If the association execution doesn't run successfully, the association is `NON-COMPLIANT` .
* In `MANUAL` mode, you must specify the `AssociationId` as a parameter for the `PutComplianceItems` API action. In this case, compliance data is not managed by State Manager. It is managed by your direct call to the `PutComplianceItems` API action.
* By default, all associations use `AUTO` mode.
*/
public enum class AssociationSyncCompliance(
public val javaValue: com.pulumi.awsnative.ssm.enums.AssociationSyncCompliance,
) : ConvertibleToJava {
Auto(com.pulumi.awsnative.ssm.enums.AssociationSyncCompliance.Auto),
Manual(com.pulumi.awsnative.ssm.enums.AssociationSyncCompliance.Manual),
;
override fun toJava(): com.pulumi.awsnative.ssm.enums.AssociationSyncCompliance = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ssm.enums.AssociationSyncCompliance): AssociationSyncCompliance =
AssociationSyncCompliance.values().first { it.javaValue == javaType }
}
}