/*global module */
module.exports = function validAuthType(type) {
	'use strict';
	var authTypes = ['AWS_IAM', 'NONE', 'CUSTOM'];
	return (authTypes.indexOf(type) >= 0);
};

/*global module */
module.exports = function validAuthType(type) {
	'use strict';
	var authTypes = ['AWS_IAM', 'NONE', 'CUSTOM', 'COGNITO_USER_POOLS'];
	return (authTypes.indexOf(type) >= 0);
};

Allow cognito user pool authorization
Allow cognito user pool authorization