interface UserGroupAttributes
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ElastiCache.Alpha.UserGroupAttributes |
![]() | github.com/aws/aws-cdk-go/awscdkelasticachealpha/v2#UserGroupAttributes |
![]() | software.amazon.awscdk.services.elasticache.alpha.UserGroupAttributes |
![]() | aws_cdk.aws_elasticache_alpha.UserGroupAttributes |
![]() | @aws-cdk/aws-elasticache-alpha ยป UserGroupAttributes |
Attributes that can be specified when importing a UserGroup.
Example
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
Name | Type | Description |
---|---|---|
engine? | User | The engine type for the user group. |
user | string | The ARN of the user group. |
user | string | The name of the user group. |
users? | IUser [] | List of users in the user group. |
engine?
Type:
User
(optional, default: engine type is unknown)
The engine type for the user group.
userGroupArn?
Type:
string
(optional, default: derived from userGroupName)
The ARN of the user group.
One of userGroupName
or userGroupArn
is required.
userGroupName?
Type:
string
(optional, default: derived from userGroupArn)
The name of the user group.
One of userGroupName
or userGroupArn
is required.
users?
Type:
IUser
[]
(optional, default: users are unknown)
List of users in the user group.