@venturekit/storage API
Functions
Section titled “Functions”| Function | Description |
|---|---|
createS3Config(options) | Create S3 bucket configuration |
buildS3Config(config) | Build S3 infrastructure config |
| Type | Description |
|---|---|
S3Outputs | S3 deployment outputs (bucket name, CDN URL) |
S3InfraConfig | S3 infrastructure configuration |
Storage-related types are also exported from ./types/index.js, including bucket configuration, lifecycle policies, CDN settings, and CORS configuration.
Constants
Section titled “Constants”| Constant | Description |
|---|---|
DEFAULT_S3_CONFIG | Default S3 configuration |