Capítulo 474 de 988

Chapter 474: getRolePolicy()

Core Idea

Returns an inline JSON policy to be assigned to the 'remotion-lambda-role' role that needs to be created in your AWS account.

Key Concepts

  • Example
  • API
  • partition?<AvailableFrom v="4.0.510" />
  • See also

Code Examples

console.log(getRolePolicy()); /* `
{
  "Version": "2012-10-17",
  "Statements": [
    // ...
  ]
}
` */
  • What it demonstrates: Usage pattern for getRolePolicy() from the official docs.

Key Takeaways

  1. Understand example when working with getRolePolicy().
  2. Understand api when working with getRolePolicy().
  3. Understand partition?<availablefrom v="4.0.510" /> when working with getRolePolicy().
  4. Understand see also when working with getRolePolicy().

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.