getRegions()
Gets an array of all supported AWS regions of this release of Remotion Lambda.
Example
tsx
constregions =getRegions ();// ["eu-central-1", "us-east-1"]
tsx
constregions =getRegions ();// ["eu-central-1", "us-east-1"]
API
The function takes an optional object, with the following options:
enabledByDefaultOnly
available from v3.3.11
Only return the regions which are enabled by default in a new AWS account.
Return value
An array of supported regions by this release of Remotion Lambda.