Skip to content

@venturekit/storage API

FunctionDescription
createS3Config(options)Create S3 bucket configuration
buildS3Config(config)Build S3 infrastructure config
TypeDescription
S3OutputsS3 deployment outputs (bucket name, CDN URL)
S3InfraConfigS3 infrastructure configuration

Storage-related types are also exported from ./types/index.js, including bucket configuration, lifecycle policies, CDN settings, and CORS configuration.

ConstantDescription
DEFAULT_S3_CONFIGDefault S3 configuration