Skip to main content

getRegions()

获取此版本 Remotion Lambda 支持的所有 AWS 区域的数组。

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

示例

🌐 Example


const regions = getRegions();
// ["eu-central-1", "us-east-1"]

应用编程接口

🌐 API

该函数接收一个可选对象,具有以下选项:

🌐 The function takes an optional object, with the following options:

enabledByDefaultOnly

从 v3.3.11 起可用

🌐 available from v3.3.11

只返回在新 AWS 账户中默认启用的区域

🌐 Only return the regions which are enabled by default in a new AWS account.

返回值

🌐 Return value

此版本的 Remotion Lambda 支持的区域数组。

🌐 An array of supported regions by this release of Remotion Lambda.

另请参阅

🌐 See also