interface UserBaseProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ElastiCache.Alpha.UserBaseProps |
![]() | github.com/aws/aws-cdk-go/awscdkelasticachealpha/v2#UserBaseProps |
![]() | software.amazon.awscdk.services.elasticache.alpha.UserBaseProps |
![]() | aws_cdk.aws_elasticache_alpha.UserBaseProps |
![]() | @aws-cdk/aws-elasticache-alpha ยป UserBaseProps |
Properties for defining an ElastiCache base user.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as elasticache_alpha from '@aws-cdk/aws-elasticache-alpha';
declare const accessControl: elasticache_alpha.AccessControl;
const userBaseProps: elasticache_alpha.UserBaseProps = {
accessControl: accessControl,
userId: 'userId',
// the properties below are optional
engine: elasticache_alpha.UserEngine.VALKEY,
};
Properties
Name | Type | Description |
---|---|---|
access | Access | Access control configuration for the user. |
user | string | The ID of the user. |
engine? | User | The engine type for the user. |
accessControl
Type:
Access
Access control configuration for the user.
userId
Type:
string
The ID of the user.
engine?
Type:
User
(optional, default: UserEngine.VALKEY.)
The engine type for the user.
Enum options: UserEngine.VALKEY, UserEngine.REDIS.