Options
All
  • Public
  • Public/Protected
  • All
Menu

Class S3PersistenceAdapter

Implementation of PersistenceAdapter using AWS S3

Hierarchy

  • S3PersistenceAdapter

Implements

  • PersistenceAdapter

Index

Constructors

constructor

Properties

Protected bucketName

bucketName: string

Protected objectKeyGenerator

objectKeyGenerator: ObjectKeyGenerator

Protected pathPrefix

pathPrefix: string

Protected s3Client

s3Client: S3

Methods

deleteAttributes

  • deleteAttributes(requestEnvelope: RequestEnvelope): Promise<void>

getAttributes

  • getAttributes(requestEnvelope: RequestEnvelope): Promise<object>

saveAttributes

  • saveAttributes(requestEnvelope: RequestEnvelope, attributes: object): Promise<void>