Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Params

Index

Properties

Optional Bucket

Bucket: string

The S3 bucket to which the form should upload an attached file.

Optional Conditions

Conditions: ({} | [string, any, any])[]

An array of conditions that must be met for the form upload to be accepted by S3.

Optional Expires

Expires: number

The number of seconds for which the POST form's signed policy should be valid. Defaults to 3600 (one hour).

Optional Fields

Fields: {}

A hash of form fields to include in the presigned POST form. All fields (except 'key') will be included as exact match conditions in the presigned policy.

Type declaration

  • [key: string]: any

Generated using TypeDoc