All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.ssm.kotlin.enums.AssociationSyncCompliance.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@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 }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy