GetTaskDefinitionVolumeDockerVolumeConfiguration

data class GetTaskDefinitionVolumeDockerVolumeConfiguration(val autoprovision: Boolean, val driver: String, val driverOpts: Map<String, String>, val labels: Map<String, String>, val scope: String)

Constructors

constructor(autoprovision: Boolean, driver: String, driverOpts: Map<String, String>, labels: Map<String, String>, scope: String)

Types

Link copied to clipboard
object Companion

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

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

Map of Docker driver specific options.

Link copied to clipboard

Map of custom metadata to add to your Docker volume.

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.