aws-cdk-lib.DockerVolumeConsistency

enum DockerVolumeConsistency

LanguageType name
.NETAmazon.CDK.DockerVolumeConsistency
Gogithub.com/aws/aws-cdk-go/awscdk/v2#DockerVolumeConsistency
Javasoftware.amazon.awscdk.DockerVolumeConsistency
Pythonaws_cdk.DockerVolumeConsistency
TypeScript (source)aws-cdk-lib » DockerVolumeConsistency

Supported Docker volume consistency types.

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

Members

NameDescription
CONSISTENTRead/write operations inside the Docker container are applied immediately on the mounted host machine volumes.
DELEGATEDRead/write operations on mounted Docker volumes are first written inside the container and then synchronized to the host machine.
CACHEDRead/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.


CACHED

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