How to rename a group in Redshift database

Below is the syntax to rename a group in Redshift database:

ALTER GROUP groupname   
RENAME TO new_groupname;
See also  How to create AMI of an EC2 Instance