Task Definition Volume Docker Volume Configuration Args
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
Properties
Link copied to clipboard
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
Map of Docker driver specific options.
Link copied to clipboard
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.