The amulet of which you speak has never been gleaned into Dungeons and Dragons by TSR or WoTC. Not only because the presence of a legal issue is difficult to discern, but because it would anger the gods... No one would be so foolish!
That being said, although it is not your main concern, I can offer you a template on the properties of the Amulet of Yendor when considering how to implement it into Dungeons and Dragons. Keep in mind it has always been a strange burden and privilege to carry or bear the Amulet of Yendor.
DnD stat and the justification for it:
When carrying the Amulet you know the terrain and position of objects and creatures within 30' but you do not know their quality or type. i.e. you sense a bottle, but do not gain knowledge of the contents or sense a creature but do not sense its specie. In NetHack(and other roguelikes) you have clairvoyance in a 19x11 region centered on you, the average is 30' radius approximately.
You cannot place the Amulet of Yendor in any container. The Amulet of Yendor is stubborn and demands the dignity of being worn because it has power beyond mortal comprehension.
There are forgeries in existence, but even for the Amulet of Yendor these are exceptionally rare for the Amulet of Yendor is elusive, unique, and mysterious even to the most ancient of beings.
The Amulet of Yendor bestows a kind of detect magic for gates and portals to whomever wears it because it gets warmer in the vicinity of magical portals: 60' warm, 40' very warm, 15' hot.
The Amulet of Yendor increases metabolism and requires anyone carrying it consume twice as much food; therefore, regular rations would be counted as half-rations for the purpose of exhaustion in 5e.
High ranking ancient creatures of power such as demon lords, ancient dragons, and the like can sense the presence of the Amulet of Yendor and cannot be surprised by one who enters their domain. They will not recognize exactly what it is; however, they will desire to possess it and their deity may inform them as they desire for it as well.
You must cast spells using the next higher spell slot. Cantrips require a level 1 spell slot. In NetHack there was an increase in spell cost.
Teleportation on the current plane of existence by spell fails 33% of the time. Teleportation by spell to other planes is impossible for the possessor, except by a wish spell. You may walk through a magical portal created by another or use Well of Many Worlds. Not a bad way to nullify Banishment.
Attempting to leave the outer plane of Gehenna with the amulet has a 75% of success, unless using a wish spell. Using a portal has a chance to teleport you to a random location within 5 miles of the portal.
Offering the Amulet of Yendor on the 'high alter' of your god in the astral plane grants you true immortality and great favor with your patron deity.
Because you are likely to be pursued by beings and things wherever you go once found out and because the Amulet of Yendor is such a great burden, it is ill advised to bestow this quest on anyone who does not have loyal friends to help whom are of sufficient level.
The rest of the Amulet of Yendor's properties from roguelike games do not translate to DnD or are superfluous in the context of DnD.