For security, there are some of the best options available in Lambda.
One can use Identity Access and Management. This would be beneficial when it comes to controlling the access to resources.
Privilege is another option that basically opens up the permissions. Access can be restricted to hosts that are not trusted or unauthorized.
There are rules in the security group that can be reviewed with time to keep up the pace simply.
Hope you got the answer.