Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateUserGroupCommand

For Redis engine version 6.0 onwards: Creates a Redis user group. For more information, see Using Role Based Access Control (RBAC)

example

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

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

CreateUserGroupCommandInput for command's input shape.

see

CreateUserGroupCommandOutput for command's response shape.

see

config for ElastiCacheClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateUserGroupCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<CreateUserGroupCommandInput, CreateUserGroupCommandOutput>

Methods

Static getEndpointParameterInstructions