# s3_mount

> **Function** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/sandbox/_mounts/s3_mount)

Build an S3-backed sandbox mount specification.

## Signature

```python
s3_mount(
    *,
    id: str,
    mount_path: str,
    bucket: str,
    region: str = 'us-east-1',
    prefix: str | None = None,
    endpoint_url: str = 'https://s3.amazonaws.com',
    path_style: bool = False,
    read_only: bool | None = None,
    cache: MountCacheConfig | None = None,
) -> S3MountSpec
```

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/d6cd6082f09e7826a2d6afe444ae6119e61b82a6/python/langsmith/sandbox/_mounts.py#L196)