aws-cdk-lib.aws_elasticache.CfnUserGroupProps

interface CfnUserGroupProps

LanguageType name
.NETAmazon.CDK.AWS.ElastiCache.CfnUserGroupProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awselasticache#CfnUserGroupProps
Javasoftware.amazon.awscdk.services.elasticache.CfnUserGroupProps
Pythonaws_cdk.aws_elasticache.CfnUserGroupProps
TypeScript aws-cdk-lib » aws_elasticache » CfnUserGroupProps

Properties for defining a CfnUserGroup.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticache as elasticache } from 'aws-cdk-lib';
const cfnUserGroupProps: elasticache.CfnUserGroupProps = {
  engine: 'engine',
  userGroupId: 'userGroupId',
  userIds: ['userIds'],

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
enginestringThe current supported value is redis.
userGroupIdstringThe ID of the user group.
userIdsstring[]The list of user IDs that belong to the user group.
tags?CfnTag[]AWS::ElastiCache::UserGroup.Tags.

engine

Type: string

The current supported value is redis.


userGroupId

Type: string

The ID of the user group.


userIds

Type: string[]

The list of user IDs that belong to the user group.

A user named default must be included.


tags?

Type: CfnTag[] (optional)

AWS::ElastiCache::UserGroup.Tags.