@xtandard/audit/sinks/s3
S3-compatible archive sink: s3Sink() writes one JSONL object per batch at
an idempotent key (AWS S3, R2, MinIO, …). Requires the optional peer
aws4fetch unless you pass your own signing client.
import { … } from "@xtandard/audit/sinks/s3";Functions
Section titled “Functions”| Name | Summary |
|---|---|
s3ObjectKeys |
The object keys a batch is written to (exported for tooling and tests). |
s3Sink |
Create an S3-compatible archive sink. |
Interfaces
Section titled “Interfaces”| Name | Summary |
|---|---|
S3Client |
A SigV4-signing client: aws4fetch’s AwsClient or anything with the same fetch. |
S3SinkOptions |
Options for s3Sink. |
Re-exports
Section titled “Re-exports”| Name | Documented on |
|---|---|
SinkHttpError |
@xtandard/audit/sinks/datadog |