# DockerVolumeConsistency

Supported Docker volume consistency types.

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

- Source: [`core/lib/bundling.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/core/lib/bundling.ts#L512)

## Members

| Member | Description |
| --- | --- |
| `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. |

## Referenced by

- [`DockerVolume`](/v2/docs/aws-cdk-lib.DockerVolume).consistency
