The cool thing about serverless infrastructure is that it does not really concern you. As long as you are on a maintained version of the underlying platform your provider will take care of the updates.
If your software runs on a unmaintained platform there won't be any security fixes and that's why amazon forces you to upgrade at some point.
If your software runs on a unmaintained platform there won't be any security fixes and that's why amazon forces you to upgrade at some point.