DockerVolumeConsistency

class aws_cdk.core.DockerVolumeConsistency

Bases: enum.Enum

Supported Docker volume consistency types.

Only valid on macOS due to the way file storage works on Mac

Attributes

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.

Attributes

CACHED = 'CACHED'

Read/write operations on mounted Docker volumes are first applied on the host machine and then synchronized to the container.

CONSISTENT = 'CONSISTENT'

Read/write operations inside the Docker container are applied immediately on the mounted host machine volumes.

DELEGATED = 'DELEGATED'

Read/write operations on mounted Docker volumes are first written inside the container and then synchronized to the host machine.