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
- Understand example when working with getRolePolicy().
- Understand api when working with getRolePolicy().
- Understand partition?<availablefrom v="4.0.510" /> when working with getRolePolicy().
- 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.