Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateCacheClusterCommand

Creates a cluster. All nodes in the cluster run the same protocol-compliant cache engine software, either Memcached or Redis.

This operation is not supported for Redis (cluster mode enabled) clusters.

example

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

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

CreateCacheClusterCommandInput for command's input shape.

see

CreateCacheClusterCommandOutput for command's response shape.

see

config for ElastiCacheClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateCacheClusterCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions