TaskDefinitionVolumeArgs

data class TaskDefinitionVolumeArgs(val configureAtLaunch: Output<Boolean>? = null, val dockerVolumeConfiguration: Output<TaskDefinitionVolumeDockerVolumeConfigurationArgs>? = null, val efsVolumeConfiguration: Output<TaskDefinitionVolumeEfsVolumeConfigurationArgs>? = null, val fsxWindowsFileServerVolumeConfiguration: Output<TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs>? = null, val hostPath: Output<String>? = null, val name: Output<String>) : ConvertibleToJava<TaskDefinitionVolumeArgs>

Constructors

Link copied to clipboard
constructor(configureAtLaunch: Output<Boolean>? = null, dockerVolumeConfiguration: Output<TaskDefinitionVolumeDockerVolumeConfigurationArgs>? = null, efsVolumeConfiguration: Output<TaskDefinitionVolumeEfsVolumeConfigurationArgs>? = null, fsxWindowsFileServerVolumeConfiguration: Output<TaskDefinitionVolumeFsxWindowsFileServerVolumeConfigurationArgs>? = null, hostPath: Output<String>? = null, name: Output<String>)

Properties

Link copied to clipboard
val configureAtLaunch: Output<Boolean>? = null

Whether the volume should be configured at launch time. This is used to create Amazon EBS volumes for standalone tasks or tasks created as part of a service. Each task definition revision may only have one volume configured at launch in the volume configuration.

Link copied to clipboard

Configuration block to configure a docker volume. Detailed below.

Link copied to clipboard

Configuration block for an EFS volume. Detailed below.

Link copied to clipboard

Configuration block for an FSX Windows File Server volume. Detailed below.

Link copied to clipboard
val hostPath: Output<String>? = null

Path on the host container instance that is presented to the container. If not set, ECS will create a nonpersistent data volume that starts empty and is deleted after the task has finished.

Link copied to clipboard
val name: Output<String>

Name of the volume. This name is referenced in the sourceVolume parameter of container definition in the mountPoints section.

Functions

Link copied to clipboard
open override fun toJava(): TaskDefinitionVolumeArgs