Wash the sweet pumpkin thoroughly, remove the seeds, and cut into bite-sized pieces.
Steam the sweet pumpkin for 15 minutes.
Peel the cooked sweet pumpkin and mash it.
Finely chop the onion and cucumber.
Mix the mashed sweet pumpkin with boiled egg, onion, cucumber, mayonnaise, and salt.
Transfer to a bowl and serve.