Set opacity for layer?

Can I set the opacity for a layer so that everything in every frame of that layer is at X opacity percentage?