What is actually happening under the hood when a Lambda function is given permission for an action? I’m basically asking how IAM works under the hood.
For example, suppose that a lambda function is given permission to put events into an event bus, i.e.,
How does the eventbridge really know that the caller has the appropriate permissions? At the end putEvents is nothing but an HTTP call.