Lambda function policy vs. execute role.

--

function policy vs. execute role

Function Policy

It simplifies defines which AWS resources are allowed to invoke your lambda function.

Example: Added s3 as a trigger, lambda will automatically add function policy.

Execute Role

It determines what resources the function role has access to when the function is being run.

Nadtakan Futhoem — Sr. Software Engineer

--

--

Nadtakan Futhoem
Nadtakan Futhoem

No responses yet