Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateClusterCommand

Creates a new cluster with the specified parameters.

To create a cluster in Virtual Private Cloud (VPC), you must provide a cluster subnet group name. The cluster subnet group identifies the subnets of your VPC that Amazon Redshift uses when creating the cluster. 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, CreateClusterCommand } from "@aws-sdk/client-redshift"; // ES Modules import
// const { RedshiftClient, CreateClusterCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
const client = new RedshiftClient(config);
const command = new CreateClusterCommand(input);
const response = await client.send(command);
see

CreateClusterCommandInput for command's input shape.

see

CreateClusterCommandOutput for command's response shape.

see

config for RedshiftClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateClusterCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<CreateClusterCommandInput, CreateClusterCommandOutput>

Methods

Static getEndpointParameterInstructions