AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This parameter is specified when you're using Docker volumes. Docker volumes are only
supported when you're using the EC2 launch type. Windows containers only support the
use of the local
driver. To use bind mounts, specify a host
instead.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z
public class DockerVolumeConfiguration
The DockerVolumeConfiguration type exposes the following members
Name | Description | |
---|---|---|
![]() |
DockerVolumeConfiguration() |
Name | Type | Description | |
---|---|---|---|
![]() |
Autoprovision | System.Boolean |
Gets and sets the property Autoprovision.
If this value is
This field is only used if the |
![]() |
Driver | System.String |
Gets and sets the property Driver.
The Docker volume driver to use. The driver value must match the driver name provided
by Docker because it is used for task placement. If the driver was installed using
the Docker plugin CLI, use |
![]() |
DriverOpts | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property DriverOpts.
A map of Docker driver-specific options passed through. This parameter maps to |
![]() |
Labels | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property Labels.
Custom metadata to add to your Docker volume. This parameter maps to |
![]() |
Scope | Amazon.ECS.Scope |
Gets and sets the property Scope.
The scope for the Docker volume that determines its lifecycle. Docker volumes that
are scoped to a |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5