com.pulumi.awsnative.efs.kotlin.enums.FileSystemProtectionReplicationOverwriteProtection.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.efs.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The status of the file system's replication overwrite protection.
* + ``ENABLED`` – The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection is ``ENABLED`` by default.
* + ``DISABLED`` – The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication.
* + ``REPLICATING`` – The file system is being used as the destination file system in a replication configuration. The file system is read-only and is only modified only by EFS replication.
* If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled, the file system becomes writeable.
*/
public enum class FileSystemProtectionReplicationOverwriteProtection(
public val javaValue: com.pulumi.awsnative.efs.enums.FileSystemProtectionReplicationOverwriteProtection,
) :
ConvertibleToJava {
Disabled(com.pulumi.awsnative.efs.enums.FileSystemProtectionReplicationOverwriteProtection.Disabled),
Enabled(com.pulumi.awsnative.efs.enums.FileSystemProtectionReplicationOverwriteProtection.Enabled),
;
override fun toJava(): com.pulumi.awsnative.efs.enums.FileSystemProtectionReplicationOverwriteProtection = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.efs.enums.FileSystemProtectionReplicationOverwriteProtection): FileSystemProtectionReplicationOverwriteProtection =
FileSystemProtectionReplicationOverwriteProtection.values().first { it.javaValue == javaType }
}
}