updated to have a configuration class for the aws common class and pass that class into the definition class on construction