AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails - Amazon Security Hub
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails

Information about a Docker volume.

Contents

Autoprovision

Whether to create the Docker volume automatically if it does not already exist.

Type: Boolean

Required: No

Driver

The Docker volume driver to use.

Type: String

Pattern: .*\S.*

Required: No

DriverOpts

A map of Docker driver-specific options that are passed through.

Type: String to string map

Key Pattern: .*\S.*

Value Pattern: .*\S.*

Required: No

Labels

Custom metadata to add to the Docker volume.

Type: String to string map

Key Pattern: .*\S.*

Value Pattern: .*\S.*

Required: No

Scope

The scope for the Docker volume that determines its lifecycle. Docker volumes that are scoped to a task are provisioned automatically when the task starts and destroyed when the task stops. Docker volumes that are shared persist after the task stops. Valid values are shared or task.

Type: String

Pattern: .*\S.*

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: