Y =[ force per unit area/(change in length per unit original length)],so for same material of different thickness, i think "Y" , will not change . it only will differ from one material to another....as already commented before.