Class Scope
The scope for the Docker volume that determines its lifecycle.
Inheritance
System.Object
Scope
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public sealed class Scope : Enum
Syntax (vb)
Public NotInheritable Class Scope
Inherits
Enum
Remarks
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.
Synopsis
Fields
SHARED | Docker volumes that are scoped as shared persist after the task stops. |
TASK | Docker volumes that are scoped to a task are automatically provisioned when the task starts and destroyed when the task stops. |
value__ |
Fields
SHARED
Docker volumes that are scoped as shared persist after the task stops.
public const Scope SHARED
Field Value
Type | Description |
---|---|
Scope |
TASK
Docker volumes that are scoped to a task are automatically provisioned when the task starts and destroyed when the task stops.
public const Scope TASK
Field Value
Type | Description |
---|---|
Scope |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |