com.pulumi.aws.ecs.kotlin.inputs.TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs.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.ecs.kotlin.inputs
import com.pulumi.aws.ecs.inputs.TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property authorizationConfig Configuration block for authorization for the Amazon FSx for Windows File Server file system detailed below.
* @property fileSystemId The Amazon FSx for Windows File Server file system ID to use.
* @property rootDirectory The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host.
*/
public data class TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs(
public val authorizationConfig: Output,
public val fileSystemId: Output,
public val rootDirectory: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.ecs.inputs.TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs =
com.pulumi.aws.ecs.inputs.TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs.builder()
.authorizationConfig(
authorizationConfig.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.fileSystemId(fileSystemId.applyValue({ args0 -> args0 }))
.rootDirectory(rootDirectory.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs].
*/
@PulumiTagMarker
public class TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgsBuilder internal constructor() {
private var authorizationConfig:
Output? =
null
private var fileSystemId: Output? = null
private var rootDirectory: Output? = null
/**
* @param value Configuration block for authorization for the Amazon FSx for Windows File Server file system detailed below.
*/
@JvmName("aettyqthjgtymjjr")
public suspend fun authorizationConfig(`value`: Output) {
this.authorizationConfig = value
}
/**
* @param value The Amazon FSx for Windows File Server file system ID to use.
*/
@JvmName("fwcubwbuunmnqcnw")
public suspend fun fileSystemId(`value`: Output) {
this.fileSystemId = value
}
/**
* @param value The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host.
*/
@JvmName("bxjlngwlircpyxpn")
public suspend fun rootDirectory(`value`: Output) {
this.rootDirectory = value
}
/**
* @param value Configuration block for authorization for the Amazon FSx for Windows File Server file system detailed below.
*/
@JvmName("ilrwdnhfkmlojspt")
public suspend fun authorizationConfig(`value`: TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.authorizationConfig = mapped
}
/**
* @param argument Configuration block for authorization for the Amazon FSx for Windows File Server file system detailed below.
*/
@JvmName("hmaejgaiphklykrk")
public suspend fun authorizationConfig(argument: suspend TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgsBuilder.() -> Unit) {
val toBeMapped =
TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationAuthorizationConfigArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.authorizationConfig = mapped
}
/**
* @param value The Amazon FSx for Windows File Server file system ID to use.
*/
@JvmName("lptogqtiaqcbbvsh")
public suspend fun fileSystemId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.fileSystemId = mapped
}
/**
* @param value The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host.
*/
@JvmName("dxktyvkrrusiosoi")
public suspend fun rootDirectory(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.rootDirectory = mapped
}
internal fun build(): TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs =
TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs(
authorizationConfig = authorizationConfig ?: throw PulumiNullFieldException("authorizationConfig"),
fileSystemId = fileSystemId ?: throw PulumiNullFieldException("fileSystemId"),
rootDirectory = rootDirectory ?: throw PulumiNullFieldException("rootDirectory"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy