com.pulumi.aws.efs.kotlin.inputs.AccessPointRootDirectoryArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.efs.kotlin.inputs
import com.pulumi.aws.efs.inputs.AccessPointRootDirectoryArgs.builder
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.jvm.JvmName
/**
*
* @property creationInfo POSIX IDs and permissions to apply to the access point's Root Directory. See Creation Info below.
* @property path Path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide `creation_info`.
*/
public data class AccessPointRootDirectoryArgs(
public val creationInfo: Output? = null,
public val path: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.efs.inputs.AccessPointRootDirectoryArgs =
com.pulumi.aws.efs.inputs.AccessPointRootDirectoryArgs.builder()
.creationInfo(creationInfo?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.path(path?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AccessPointRootDirectoryArgs].
*/
@PulumiTagMarker
public class AccessPointRootDirectoryArgsBuilder internal constructor() {
private var creationInfo: Output? = null
private var path: Output? = null
/**
* @param value POSIX IDs and permissions to apply to the access point's Root Directory. See Creation Info below.
*/
@JvmName("tooktevqtskusyyb")
public suspend fun creationInfo(`value`: Output) {
this.creationInfo = value
}
/**
* @param value Path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide `creation_info`.
*/
@JvmName("wwxkvogbrkclepdi")
public suspend fun path(`value`: Output) {
this.path = value
}
/**
* @param value POSIX IDs and permissions to apply to the access point's Root Directory. See Creation Info below.
*/
@JvmName("xdsavxsfhjooacij")
public suspend fun creationInfo(`value`: AccessPointRootDirectoryCreationInfoArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.creationInfo = mapped
}
/**
* @param argument POSIX IDs and permissions to apply to the access point's Root Directory. See Creation Info below.
*/
@JvmName("jqmduebanysjopmk")
public suspend fun creationInfo(argument: suspend AccessPointRootDirectoryCreationInfoArgsBuilder.() -> Unit) {
val toBeMapped = AccessPointRootDirectoryCreationInfoArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.creationInfo = mapped
}
/**
* @param value Path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide `creation_info`.
*/
@JvmName("yvpsdwxxmsfdfqxo")
public suspend fun path(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.path = mapped
}
internal fun build(): AccessPointRootDirectoryArgs = AccessPointRootDirectoryArgs(
creationInfo = creationInfo,
path = path,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy