Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModifyClusterCommand

Modifies the settings for a cluster.

You can also change node type and the number of nodes to scale up or down the cluster. When resizing a cluster, you must specify both the number of nodes and the node type even if one of the parameters does not change.

You can add another security or parameter group, or change the admin user password. Resetting a cluster password or modifying the security groups associated with a cluster do not need a reboot. However, modifying a parameter group requires a reboot for parameters to take effect. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

example

Use a bare-bones client and the command you need to make an API call.

import { RedshiftClient, ModifyClusterCommand } from "@aws-sdk/client-redshift"; // ES Modules import
// const { RedshiftClient, ModifyClusterCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
const client = new RedshiftClient(config);
const command = new ModifyClusterCommand(input);
const response = await client.send(command);
see

ModifyClusterCommandInput for command's input shape.

see

ModifyClusterCommandOutput for command's response shape.

see

config for RedshiftClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ModifyClusterCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<ModifyClusterCommandInput, ModifyClusterCommandOutput>

Methods

Static getEndpointParameterInstructions