Options
All
  • Public
  • Public/Protected
  • All
Menu

Provide storage methods to use AWS S3

Hierarchy

  • AWSS3Provider

Implements

Index

Constructors

constructor

Properties

Static Readonly CATEGORY

CATEGORY: "Storage" = "Storage"

Static Readonly PROVIDER_NAME

PROVIDER_NAME: "AWSS3" = "AWSS3"

Methods

configure

  • configure(config?: any): object

copy

get

getCategory

  • getCategory(): string

getProperties

getProviderName

  • getProviderName(): "AWSS3"

list

put

  • put<T>(key: string, object: PutObjectInput["Body"], config?: T, userAgentValue?: string): S3ProviderPutOutput<T>
  • Put a file in S3 bucket specified to configure method

    Type parameters

    Parameters

    • key: string

      key of the object

    • object: PutObjectInput["Body"]

      File to be put in Amazon S3 bucket

    • Optional config: T
    • Optional userAgentValue: string

      Optional string containing custom user agent value

    Returns S3ProviderPutOutput<T>

    an instance of AWSS3UploadTask or a promise that resolves to an object with the new object's key on success.

remove