Skip to main content

AWS S3

The AWS S3 can be used as storage for StoryBooker.

Install

npm i @storybooker/aws @aws-sdk/client-s3

Usage

import { S3Client } from "@aws-sdk/client-s3";
import { AwsS3StorageService } from "@storybooker/aws/s3";

// Initialize the S3Client
const client = new S3Client(...);
// Create the service adapter
const storage = new AwsS3StorageService(client);

// use as `storage` in StoryBooker options.