Skip to main content

getRegions()

Gets an array of all supported AWS regions of this release of Remotion Lambda.

Example

tsx
const regions = getRegions();
// ["eu-central-1", "us-east-1"]
tsx
const regions = 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.

See also