Jenkins will be ok to run on Amazon Linux 2023 moving forward.
The Amazon Linux 2023 FAQ says:
Starting with AL2023, a new major version of Amazon Linux is released every two years, includes minor quarterly releases, and comes with five years of long-term support.
Amazon Linux 2023 installation is regularly tested from the Jenkins packaging repository.