---
title: "ObservabilityS3DestinationConfig"
---

## Fields

| Field                                                                                                                                                                         | Type                                                                                                                                                                          | Required                                                                                                                                                                      | Description                                                                                                                                                                   |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `access_key_id`                                                                                                                                                               | *str*                                                                                                                                                                         | :heavy_check_mark:                                                                                                                                                            | N/A                                                                                                                                                                           |
| `bucket_name`                                                                                                                                                                 | *str*                                                                                                                                                                         | :heavy_check_mark:                                                                                                                                                            | N/A                                                                                                                                                                           |
| `endpoint`                                                                                                                                                                    | *Optional[str]*                                                                                                                                                               | :heavy_minus_sign:                                                                                                                                                            | Only for S3-compatible services like Cloudflare R2 (https://account-id.r2.cloudflarestorage.com) or MinIO. Leave blank for standard AWS S3.                                   |
| `headers`                                                                                                                                                                     | Dict[str, *str*]                                                                                                                                                              | :heavy_minus_sign:                                                                                                                                                            | Custom HTTP headers to include in requests to this destination.                                                                                                               |
| `path_template`                                                                                                                                                               | *Optional[str]*                                                                                                                                                               | :heavy_minus_sign:                                                                                                                                                            | Template for S3 object path. The filename (\{traceId}-\{timestamp}.json) is automatically appended. Available variables: \{prefix}, \{date}, \{year}, \{month}, \{day}, \{apiKeyName} |
| `prefix`                                                                                                                                                                      | *Optional[str]*                                                                                                                                                               | :heavy_minus_sign:                                                                                                                                                            | N/A                                                                                                                                                                           |
| `region`                                                                                                                                                                      | *Optional[str]*                                                                                                                                                               | :heavy_minus_sign:                                                                                                                                                            | N/A                                                                                                                                                                           |
| `secret_access_key`                                                                                                                                                           | *str*                                                                                                                                                                         | :heavy_check_mark:                                                                                                                                                            | N/A                                                                                                                                                                           |
| `session_token`                                                                                                                                                               | *Optional[str]*                                                                                                                                                               | :heavy_minus_sign:                                                                                                                                                            | N/A                                                                                                                                                                           |