Yes, you can choose voltage and shape.
Fixing it to the heatsink is strongly recommended, better if you can use some sealer with known thermal properties - this way you will solve heat, vibration and waterproof problems at once.