How to Revoke super user privileges from a Redshift database user

You can revoke the super user privileges previously granted to a database user by running the below sql command where username is the name of the user.

alter user username nocreateuser;
commit;                          

See also  How to create an AMI of an EC2 Instance from AWS CLI