S3

@thotnr-aws-accl/custom-app-api / Exports / S3

Class: S3

Utility APIs for S3

Table of contents

Methods

Methods

getCurrentS3BrowserConfig

Static getCurrentS3BrowserConfig(): Promise<S3BrowserConfig>

Get the S3 browser configuration

Returns

Promise<S3BrowserConfig>

A Promise that resolves to the S3BrowserConfig object containing the S3 browser configuration.


getS3BrowserEntryPoint

Static getS3BrowserEntryPoint(): Promise<string>

Get the entry point URL for the S3 browser.

Returns

Promise<string>

A Promise that resolves to the S3 Browser Entry Point URL as a string.


listS3Objects

Static listS3Objects(key): Promise<S3ObjectInfo[]>

Get the listing of all objects present in the S3 bucket at a given path

Parameters

Name
Type

key

string

Returns

Promise<S3ObjectInfo[]>

A Promise that resolves to an array of S3ObjectInfo containing the list of all the S3 objects present at a given level.

Last updated