函数命名规范
一个 Remotion Lambda 函数的命名规则如下:
🌐 A Remotion Lambda function has the following naming convention:
remotion-render-4-0-372-mem2048mb-disk2048mb-240sec
^^^^^^^ ^^^^ ^^^^ ^^^
| | | |-- Timeout in seconds
| | |--------- Disk size in MB
| |------------------- Memory size in MB
|----------------------------- Remotion version with dots replaced by dashes当你部署一个函数时,名称是硬编码的。这有两个作用:
🌐 When you deploy a function, the name is hardcoded. This has two functions:
speculateFunctionName()
来猜测函数名称,这样就不必获取你 AWS 账户中的函数列表。
另请参阅
🌐 See also