![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.datasync.kotlin.LocationEfsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.datasync.kotlin
import com.pulumi.awsnative.datasync.LocationEfsArgs.builder
import com.pulumi.awsnative.datasync.kotlin.enums.LocationEfsInTransitEncryption
import com.pulumi.awsnative.datasync.kotlin.inputs.LocationEfsEc2ConfigArgs
import com.pulumi.awsnative.datasync.kotlin.inputs.LocationEfsEc2ConfigArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::DataSync::LocationEFS.
* @property accessPointArn The Amazon Resource Name (ARN) for the Amazon EFS Access point that DataSync uses when accessing the EFS file system.
* @property ec2Config Specifies the subnet and security groups DataSync uses to connect to one of your Amazon EFS file system's [mount targets](https://docs.aws.amazon.com/efs/latest/ug/accessing-fs.html) .
* @property efsFilesystemArn The Amazon Resource Name (ARN) for the Amazon EFS file system.
* @property fileSystemAccessRoleArn The Amazon Resource Name (ARN) of the AWS IAM role that the DataSync will assume when mounting the EFS file system.
* @property inTransitEncryption Protocol that is used for encrypting the traffic exchanged between the DataSync Agent and the EFS file system.
* @property subdirectory A subdirectory in the location's path. This subdirectory in the EFS file system is used to read data from the EFS source location or write data to the EFS destination.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class LocationEfsArgs(
public val accessPointArn: Output? = null,
public val ec2Config: Output? = null,
public val efsFilesystemArn: Output? = null,
public val fileSystemAccessRoleArn: Output? = null,
public val inTransitEncryption: Output? = null,
public val subdirectory: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.datasync.LocationEfsArgs =
com.pulumi.awsnative.datasync.LocationEfsArgs.builder()
.accessPointArn(accessPointArn?.applyValue({ args0 -> args0 }))
.ec2Config(ec2Config?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.efsFilesystemArn(efsFilesystemArn?.applyValue({ args0 -> args0 }))
.fileSystemAccessRoleArn(fileSystemAccessRoleArn?.applyValue({ args0 -> args0 }))
.inTransitEncryption(
inTransitEncryption?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.subdirectory(subdirectory?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [LocationEfsArgs].
*/
@PulumiTagMarker
public class LocationEfsArgsBuilder internal constructor() {
private var accessPointArn: Output? = null
private var ec2Config: Output? = null
private var efsFilesystemArn: Output? = null
private var fileSystemAccessRoleArn: Output? = null
private var inTransitEncryption: Output? = null
private var subdirectory: Output? = null
private var tags: Output>? = null
/**
* @param value The Amazon Resource Name (ARN) for the Amazon EFS Access point that DataSync uses when accessing the EFS file system.
*/
@JvmName("unksahjqyxcgmpnf")
public suspend fun accessPointArn(`value`: Output) {
this.accessPointArn = value
}
/**
* @param value Specifies the subnet and security groups DataSync uses to connect to one of your Amazon EFS file system's [mount targets](https://docs.aws.amazon.com/efs/latest/ug/accessing-fs.html) .
*/
@JvmName("fredhgojyikcyovn")
public suspend fun ec2Config(`value`: Output) {
this.ec2Config = value
}
/**
* @param value The Amazon Resource Name (ARN) for the Amazon EFS file system.
*/
@JvmName("qxfqxlnyanheawue")
public suspend fun efsFilesystemArn(`value`: Output) {
this.efsFilesystemArn = value
}
/**
* @param value The Amazon Resource Name (ARN) of the AWS IAM role that the DataSync will assume when mounting the EFS file system.
*/
@JvmName("qdwyfvqwbpkwaxxs")
public suspend fun fileSystemAccessRoleArn(`value`: Output) {
this.fileSystemAccessRoleArn = value
}
/**
* @param value Protocol that is used for encrypting the traffic exchanged between the DataSync Agent and the EFS file system.
*/
@JvmName("hysbrieiakqoqxky")
public suspend fun inTransitEncryption(`value`: Output) {
this.inTransitEncryption = value
}
/**
* @param value A subdirectory in the location's path. This subdirectory in the EFS file system is used to read data from the EFS source location or write data to the EFS destination.
*/
@JvmName("fwgppggwlpibyify")
public suspend fun subdirectory(`value`: Output) {
this.subdirectory = value
}
/**
* @param value An array of key-value pairs to apply to this resource.
*/
@JvmName("gjedrpubtmcrirvr")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("bwyvbufsscictjca")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs to apply to this resource.
*/
@JvmName("bkfxmkwknygiewuo")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy