Capítulo 468 de 988

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

  1. Understand example when working with getCompositionsOnLambda().
  2. Understand arguments when working with getCompositionsOnLambda().
  3. Understand functionname when working with getCompositionsOnLambda().
  4. Understand region when working with getCompositionsOnLambda().
  5. 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.