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

com.pulumi.awsnative.efs.kotlin.enums.FileSystemProtectionReplicationOverwriteProtection.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: 0.122.0.0
Show newest version
@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 }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy