HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //proc/thread-self/root/lib/python3.6/site-packages/awscli/examples/redshift/modify-cluster.rst
Associate a Security Group with a Cluster
-----------------------------------------

This example shows how to associate a cluster security group with the specified cluster.

Command::

   aws redshift modify-cluster --cluster-identifier mycluster --cluster-security-groups mysecuritygroup


Modify the Maintenance Window for a Cluster
-------------------------------------------

This shows how to change the weekly preferred maintenance window for a cluster to be the minimum four hour window
starting Sundays at 11:15 PM, and ending Mondays at 3:15 AM.

Command::

   aws redshift modify-cluster --cluster-identifier mycluster --preferred-maintenance-window Sun:23:15-Mon:03:15

Change the Master Password for the Cluster
------------------------------------------

This example shows how to change the master password for a cluster.

Command::

   aws redshift modify-cluster --cluster-identifier mycluster --master-user-password A1b2c3d4