Chapter 468: getCompositionsOnLambda()
Core Idea
<AvailableFrom v="3. 3.
Key Concepts
- Example
- Arguments
- functionName
- region
- serveUrl
- inputProps
- envVariables?
- timeoutInMilliseconds?
Code Examples
const compositions = await getCompositionsOnLambda({
region: 'us-east-1',
functionName: 'remotion-render-bds9aab',
serveUrl: 'https://remotionlambda-qg35eyp1s1.s3.eu-central-1.amazonaws.com/sites/bf2jrbfkw',
inputProps: {},
});
console.log(compositions); // See below for an example value
- What it demonstrates: Usage pattern for getCompositionsOnLambda() from the official docs.
Key Takeaways
- Understand example when working with getCompositionsOnLambda().
- Understand arguments when working with getCompositionsOnLambda().
- Understand functionname when working with getCompositionsOnLambda().
- Understand region when working with getCompositionsOnLambda().
- Understand serveurl when working with getCompositionsOnLambda().
Connects To
- api: related page in the Lambda (@remotion/lambda) section.
- Approuterwebhook: related page in the Lambda (@remotion/lambda) section.
- Authentication: related page in the Lambda (@remotion/lambda) section.