TaskDefinitionVolumeDockerVolumeConfiguration class

Constructors

TaskDefinitionVolumeDockerVolumeConfiguration({Input<bool?>? autoprovision, Input<String?>? driver, Input<Map<String, String>?>? driverOpts, Input<Map<String, String>?>? labels, Input<String?>? scope})
Creates a new TaskDefinitionVolumeDockerVolumeConfiguration. autoprovision 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. driver Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement. driverOpts Map of Docker driver specific options. labels Map of custom metadata to add to your Docker volume. scope 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.
const
TaskDefinitionVolumeDockerVolumeConfiguration.fromMap(Map<String, dynamic> map)
factory

Properties

autoprovision → Input<bool?>?
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.
final
driver → Input<String?>?
Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement.
final
driverOpts → Input<Map<String, String>?>?
Map of Docker driver specific options.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>?>?
Map of custom metadata to add to your Docker volume.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope → Input<String?>?
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited