Minecraft wiki entry for Snow_farming, associated text: Two snow blocks
One carved pumpkin
One block that is not broken quickly with a shovel and which can have snow layers placed on it, such as stone or cobblestone.
Additional blocks to confine the golem and protect it from rain, depending on the farm location.