How do I summon 1 shot entitys

this s my current summon command

execute at @e[type=armor_stand,tag=ChestSpawn] run summon pig ~ ~1 ~ {Invulnerable:1b,Tags:["ChestHitbox"],NoAI:1B}

Continue to help post