For those on Bionic/18.04, it looks like the fix hasn't made it back to bionic yet so there's no package to install for Bionic at the moment.
Depending on how you're using Amazon Linux and/or ECS, you may be able to work around the issue by temporarily rebuilding a base image outside of ECS with a different kernel version, making sure to install libc6 in that base image, and using that image for any builds that occur under an Amazon Linux kernel.
For those on Bionic/18.04, it looks like the fix hasn't made it back to bionic yet so there's no package to install for Bionic at the moment.
Depending on how you're using Amazon Linux and/or ECS, you may be able to work around the issue by temporarily rebuilding a base image outside of ECS with a different kernel version, making sure to install libc6 in that base image, and using that image for any builds that occur under an Amazon Linux kernel.