Capítulo 490 de 988

Chapter 490: Using a proxy with Remotion Lambda

Core Idea

Remotion Lambda supports using HTTP/HTTPS proxies for all AWS API calls by accepting a requestHandler option that allows you to pass a custom AWS SDK request handler.

Key Concepts

  • Setting up a proxy
  • 1. Install a proxy agent
  • 2. Create a request handler with proxy
  • 3. Use the request handler with Remotion Lambda functions
  • Supported functions
  • Example with authentication
  • TypeScript support
  • Environment-specific configuration

Code Examples

npm install https-proxy-agent
  • What it demonstrates: Usage pattern for Using a proxy with Remotion Lambda from the official docs.

Key Takeaways

  1. Understand setting up a proxy when working with Using a proxy with Remotion Lambda.
  2. Understand 1. install a proxy agent when working with Using a proxy with Remotion Lambda.
  3. Understand 2. create a request handler with proxy when working with Using a proxy with Remotion Lambda.
  4. Understand 3. use the request handler with remotion lambda functions when working with Using a proxy with Remotion Lambda.
  5. Understand supported functions when working with Using a proxy with Remotion Lambda.

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.