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
engineUserEngineengineUserEngineengineUserEngineEngineUserEngineEngineUserEngine= engine type is unknown#The engine type for the user group.
userGroupArnstringuser_group_arnstruserGroupArnStringUserGroupArnstringUserGroupArn*string= derived from userGroupName#The ARN of the user group.
One of userGroupName or userGroupArn is required.
userGroupNamestringuser_group_namestruserGroupNameStringUserGroupNamestringUserGroupName*string= derived from userGroupArn#The name of the user group.
One of userGroupName or userGroupArn is required.