Here is the International Residential Code (IRC).
http://www.awc.org/codes-standards/code-adoption-map
Here are the links to deck building for both the 2009 and 2012 versions of the IRC.
http://www.awc.org/codes-standards/publications/dca6
These are wood decks only (not composite) as far as I can tell.