
com.pulumi.awsnative.efs.kotlin.inputs.FileSystemReplicationDestinationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.efs.kotlin.inputs
import com.pulumi.awsnative.efs.inputs.FileSystemReplicationDestinationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Describes the destination file system in the replication configuration.
* @property availabilityZoneName For One Zone file systems, the replication configuration must specify the Availability Zone in which the destination file system is located.
* Use the format ``us-east-1a`` to specify the Availability Zone. For more information about One Zone file systems, see [EFS file system types](https://docs.aws.amazon.com/efs/latest/ug/storage-classes.html) in the *Amazon EFS User Guide*.
* One Zone file system type is not available in all Availability Zones in AWS-Regions where Amazon EFS is available.
* @property fileSystemId The ID of the destination Amazon EFS file system.
* @property kmsKeyId The ID of an kms-key-long used to protect the encrypted file system.
* @property region The AWS-Region in which the destination file system is located.
* For One Zone file systems, the replication configuration must specify the AWS-Region in which the destination file system is located.
*/
public data class FileSystemReplicationDestinationArgs(
public val availabilityZoneName: Output? = null,
public val fileSystemId: Output? = null,
public val kmsKeyId: Output? = null,
public val region: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.efs.inputs.FileSystemReplicationDestinationArgs =
com.pulumi.awsnative.efs.inputs.FileSystemReplicationDestinationArgs.builder()
.availabilityZoneName(availabilityZoneName?.applyValue({ args0 -> args0 }))
.fileSystemId(fileSystemId?.applyValue({ args0 -> args0 }))
.kmsKeyId(kmsKeyId?.applyValue({ args0 -> args0 }))
.region(region?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FileSystemReplicationDestinationArgs].
*/
@PulumiTagMarker
public class FileSystemReplicationDestinationArgsBuilder internal constructor() {
private var availabilityZoneName: Output? = null
private var fileSystemId: Output? = null
private var kmsKeyId: Output? = null
private var region: Output? = null
/**
* @param value For One Zone file systems, the replication configuration must specify the Availability Zone in which the destination file system is located.
* Use the format ``us-east-1a`` to specify the Availability Zone. For more information about One Zone file systems, see [EFS file system types](https://docs.aws.amazon.com/efs/latest/ug/storage-classes.html) in the *Amazon EFS User Guide*.
* One Zone file system type is not available in all Availability Zones in AWS-Regions where Amazon EFS is available.
*/
@JvmName("pkqdfalytjbjolog")
public suspend fun availabilityZoneName(`value`: Output) {
this.availabilityZoneName = value
}
/**
* @param value The ID of the destination Amazon EFS file system.
*/
@JvmName("ntpeuvcowewnhoyd")
public suspend fun fileSystemId(`value`: Output) {
this.fileSystemId = value
}
/**
* @param value The ID of an kms-key-long used to protect the encrypted file system.
*/
@JvmName("oikprrjoffmugntj")
public suspend fun kmsKeyId(`value`: Output) {
this.kmsKeyId = value
}
/**
* @param value The AWS-Region in which the destination file system is located.
* For One Zone file systems, the replication configuration must specify the AWS-Region in which the destination file system is located.
*/
@JvmName("gepsowvmmlpmaxhh")
public suspend fun region(`value`: Output) {
this.region = value
}
/**
* @param value For One Zone file systems, the replication configuration must specify the Availability Zone in which the destination file system is located.
* Use the format ``us-east-1a`` to specify the Availability Zone. For more information about One Zone file systems, see [EFS file system types](https://docs.aws.amazon.com/efs/latest/ug/storage-classes.html) in the *Amazon EFS User Guide*.
* One Zone file system type is not available in all Availability Zones in AWS-Regions where Amazon EFS is available.
*/
@JvmName("ilexurcafxnsfigc")
public suspend fun availabilityZoneName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.availabilityZoneName = mapped
}
/**
* @param value The ID of the destination Amazon EFS file system.
*/
@JvmName("tuvutibseayoshlm")
public suspend fun fileSystemId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fileSystemId = mapped
}
/**
* @param value The ID of an kms-key-long used to protect the encrypted file system.
*/
@JvmName("iagamydterslixba")
public suspend fun kmsKeyId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.kmsKeyId = mapped
}
/**
* @param value The AWS-Region in which the destination file system is located.
* For One Zone file systems, the replication configuration must specify the AWS-Region in which the destination file system is located.
*/
@JvmName("vmnhhcchqjqbckmh")
public suspend fun region(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.region = mapped
}
internal fun build(): FileSystemReplicationDestinationArgs = FileSystemReplicationDestinationArgs(
availabilityZoneName = availabilityZoneName,
fileSystemId = fileSystemId,
kmsKeyId = kmsKeyId,
region = region,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy