Does Amazon Linux 2 support to package get installed through Nexus Yum Proxy repo

Hi,

Thanks a lot for your reply.

However the same way we had tried then getting below error while installing any packages-
failure: repodata/repomd.xml from nexus_repo: [Errno 256] No more mirrors to try.
http://10.12.0.49:8081/repository/yum-proxy-he/repodata/repomd.xml?instance_id=i-0bce7171ebe3d2655&region=us-east-2: [Errno 14] HTTP Error 404 - Not Found

Nexus yum proxy configuration-

/etc/yum.repos.d/nexus.repo
[nexus_repo]
name=Nexus Repo
#mirrorlist=http://10.12.0.49:8081/repository/yum-proxy-he/$releasever/$product/$target/$basearch/mirror.list
baseurl=http://10.12.0.49:8081/repository/yum-proxy-he/
priority=10
gpgcheck=0
enabled=1
report_instanceid=yes
plugins=0

=======================================================
All the installing package have conflict while reinstalling and not able to connect nexus yum repo.
All the new installing package are coming through the Nexus Yum repo. If we disable the internet on the box then yum command failed to connect.