Creates a Config with the specified configData parameters.
Config
configData
Only one type of configData can be specified.