Class DockerVolumeConsistency
Supported Docker volume consistency types.
Inheritance
Namespace: Amazon.CDK
Assembly: Amazon.CDK.dll
Syntax (csharp)
public sealed class DockerVolumeConsistency : Enum
Syntax (vb)
Public NotInheritable Class DockerVolumeConsistency
Inherits
Enum
Remarks
Only valid on macOS due to the way file storage works on Mac
Synopsis
Fields
CACHED | Read/write operations on mounted Docker volumes are first applied on the host machine and then synchronized to the container. |
CONSISTENT | Read/write operations inside the Docker container are applied immediately on the mounted host machine volumes. |
DELEGATED | Read/write operations on mounted Docker volumes are first written inside the container and then synchronized to the host machine. |
value__ |
Fields
CACHED
Read/write operations on mounted Docker volumes are first applied on the host machine and then synchronized to the container.
public const DockerVolumeConsistency CACHED
Field Value
Type | Description |
---|---|
DockerVolumeConsistency |
CONSISTENT
Read/write operations inside the Docker container are applied immediately on the mounted host machine volumes.
public const DockerVolumeConsistency CONSISTENT
Field Value
Type | Description |
---|---|
DockerVolumeConsistency |
DELEGATED
Read/write operations on mounted Docker volumes are first written inside the container and then synchronized to the host machine.
public const DockerVolumeConsistency DELEGATED
Field Value
Type | Description |
---|---|
DockerVolumeConsistency |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |