Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails - AWS Security Hub

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 AWS SDKs, see the following:

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.