Class TaskDefinitionVolumeDockerVolumeConfiguration
Inheritance
System.Object
TaskDefinitionVolumeDockerVolumeConfiguration
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Ecs.Outputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class TaskDefinitionVolumeDockerVolumeConfiguration
Fields
View SourceAutoprovision
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.
Declaration
public readonly bool? Autoprovision
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
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.
Declaration
public readonly string Driver
Field Value
| Type | Description |
|---|---|
| System.String |
DriverOpts
A map of Docker driver specific options.
Declaration
public readonly ImmutableDictionary<string, string> DriverOpts
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableDictionary<System.String, System.String> |
Labels
A map of custom metadata to add to your Docker volume.
Declaration
public readonly ImmutableDictionary<string, string> Labels
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableDictionary<System.String, System.String> |
Scope
The 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.
Declaration
public readonly string Scope
Field Value
| Type | Description |
|---|---|
| System.String |