With Amazon Linux 2 I would automatically apply security updates using yum-cron and something like:
# turn on automatic security updates
set -ex
sudo yum update -y
sudo yum install yum-cron -y
sudo sed -i 's/update_cmd = default/update_cmd = security/' /etc/yum/yum-cron.conf
sudo sed -i "s/apply_updates = no/apply_updates = yes/" /etc/yum/yum-cron.conf
sudo service yum-cron start
sudo systemctl enable yum-cron
yum-cron is intentionally not available on al2023 and it sounds like automatic security updates are not a thing either? How should 0-day exploits be fixed? We do not have the resources to monitor and rebuild every system from a fresh AMI every month.