
com.pulumi.awsnative.ecs.kotlin.outputs.TaskDefinitionFSxWindowsFileServerVolumeConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.ecs.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* This parameter is specified when you're using [Amazon FSx for Windows File Server](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/what-is.html) file system for task storage.
* For more information and the input format, see [Amazon FSx for Windows File Server volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html) in the *Amazon Elastic Container Service Developer Guide*.
* @property authorizationConfig The authorization configuration details for the Amazon FSx for Windows File Server file system.
* @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 TaskDefinitionFSxWindowsFileServerVolumeConfiguration(
public val authorizationConfig: TaskDefinitionFSxAuthorizationConfig? = null,
public val fileSystemId: String,
public val rootDirectory: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ecs.outputs.TaskDefinitionFSxWindowsFileServerVolumeConfiguration): TaskDefinitionFSxWindowsFileServerVolumeConfiguration =
TaskDefinitionFSxWindowsFileServerVolumeConfiguration(
authorizationConfig = javaType.authorizationConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ecs.kotlin.outputs.TaskDefinitionFSxAuthorizationConfig.Companion.toKotlin(args0)
})
}).orElse(null),
fileSystemId = javaType.fileSystemId(),
rootDirectory = javaType.rootDirectory(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy