I doubt there will be a custom taylored image that happen to have exactly the components and versions you are looking for.
It almost looks like you plan to run an ide in the container and use it for development. Because if you would tailor an image for builds, to be used in a ci/cd pipeline, the image would only need the right java and maven version and should fetch everything as maven dependency when building your project.
Have you considered to use AWS CodePipeline and/or CodeBuild to build your project? The official build images come with Java 8/11 and maven (and lots more) preinstalled.