Experimental
@aws-cdk/aws-elasticache-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
UserGroupAttributes Struct
Attributes that can be specified when importing a UserGroup.
Example
ts
const stack = new Stack();
const importedIamUser = elasticache.IamUser.fromUserId(this, 'ImportedIamUser', 'my-iam-user-id');
const importedPasswordUser = elasticache.PasswordUser.fromUserAttributes(stack, 'ImportedPasswordUser', {
userId: 'my-password-user-id',
});
const importedNoPasswordUser = elasticache.NoPasswordUser.fromUserAttributes(stack, 'ImportedNoPasswordUser', {
userId: 'my-no-password-user-id',
});
const importedUserGroup = elasticache.UserGroup.fromUserGroupAttributes(this, 'ImportedUserGroup', {
userGroupName: 'my-user-group-name'
});
Properties
engineoptionalUserEngineengineoptionalUserEngineengineoptionalUserEngineEngineoptionalUserEngineEngineoptionalUserEngine#The engine type for the user group.
Default: engine type is unknown
userGroupArnoptionalstringuser_group_arnoptionalstruserGroupArnoptionalStringUserGroupArnoptionalstringUserGroupArnoptional*string#The ARN of the user group.
Default: derived from userGroupName
One of userGroupName or userGroupArn is required.
userGroupNameoptionalstringuser_group_nameoptionalstruserGroupNameoptionalStringUserGroupNameoptionalstringUserGroupNameoptional*string#The name of the user group.
Default: derived from userGroupArn
One of userGroupName or userGroupArn is required.