TaskDefinitionVolumeDockerVolumeConfigurationArgs

data class TaskDefinitionVolumeDockerVolumeConfigurationArgs(val autoprovision: Output<Boolean>? = null, val driver: Output<String>? = null, val driverOpts: Output<Map<String, String>>? = null, val labels: Output<Map<String, String>>? = null, val scope: Output<String>? = null) : ConvertibleToJava<TaskDefinitionVolumeDockerVolumeConfigurationArgs>

Constructors

fun TaskDefinitionVolumeDockerVolumeConfigurationArgs(autoprovision: Output<Boolean>? = null, driver: Output<String>? = null, driverOpts: Output<Map<String, String>>? = null, labels: Output<Map<String, String>>? = null, scope: Output<String>? = null)

Functions

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

Properties

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

If this value is true, the Docker volume is created if it does not already exist. Note: This field is only used if the scope is shared.

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

Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement.

Link copied to clipboard
val driverOpts: Output<Map<String, String>>? = null

Map of Docker driver specific options.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Map of custom metadata to add to your Docker volume.

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

Scope for the Docker volume, which determines its lifecycle, either task or shared. Docker volumes that are scoped to a task are automatically provisioned when the task starts and destroyed when the task stops. Docker volumes that are scoped as shared persist after the task stops.