Starting today, Amazon Aurora MySQL-Compatible Edition 2 (with MySQL 5.7 compatibility) will support MySQL 5.7.40. In addition to several security enhancements and bug fixes, this release is fully compatible with MySQL 5.7.40. Previous Aurora MySQL 2.x versions were compatible with MySQL 5.7.12. For more details, refer to the Aurora MySQL 2 and MySQL 5.7.40 release notes.
Source:: Amazon AWS