Chapter 476: getUserPolicy()
Core Idea
Returns an inline JSON policy to be assigned to the AWS user whose credentials are being used for excuting CLI commands or calling Node. JS functions.
Key Concepts
- Example
- API
- partition?<AvailableFrom v="4.0.510" />
- See also
Code Examples
console.log(getUserPolicy()); /* `
{
"Version": "2012-10-17",
"Statements": [
// ...
]
}
` */
- What it demonstrates: Usage pattern for getUserPolicy() from the official docs.
Key Takeaways
- Understand example when working with getUserPolicy().
- Understand api when working with getUserPolicy().
- Understand partition?<availablefrom v="4.0.510" /> when working with getUserPolicy().
- Understand see also when working with getUserPolicy().
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.