AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::ElastiCache::UserGroup

CfnUserGroup

For Valkey 7.2 and onwards, or Redis OSS 6.0 and onwards: Creates a user group. For more information, see [Using Role Based Access Control (RBAC)](https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Clusters.RBAC.html).

Import

import { CfnUserGroup } from 'aws-cdk-lib/aws-elasticache';

Or use the module namespace:

import * as elasticache from 'aws-cdk-lib/aws-elasticache';
// elasticache.CfnUserGroup

Properties

Configuration passed to the constructor as CfnUserGroupProps.

engineRequired
string

The current supported values are valkey and redis.

userGroupIdRequired
string

The ID of the user group.

userIdsRequired
string[]

The list of user IDs that belong to the user group. A user named `default` must be included.

tagsOptional
CfnTag[]

The list of tags.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter