How to instantiate a custom sized object?

I’ve already successfully instantiated objects based on a prefab.But the size of the object is fixed in the prefab.How can I create different sized cubes?

Change the scale of the cubes’ transforms.