ServerlessFunction
Description
Creates an AWS Lambda function, an AWS Identity and Access Management (IAM) execution role, and event source mappings that trigger the function.
Resources
AWS::Serverless::Function
There must be a circuit panel with the same name as the user id of this resource which define the logic of a lambda function.
AWS::IAM::Role
Lambda function execution role.
Least-privilege IAM policy statements required for executing a lambda function are automatically included in the IAM role by Coreograph.