CfnUserGroupProps
- class aws_cdk.aws_elasticache.CfnUserGroupProps(*, engine, user_group_id, user_ids, tags=None)
Bases:
objectProperties for defining a
CfnUserGroup.- Parameters:
engine (
str) – The current supported values are valkey and redis.user_group_id (
str) – The ID of the user group.user_ids (
Sequence[str]) – The list of user IDs that belong to the user group. A user nameddefaultmust be included.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The list of tags.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_elasticache as elasticache cfn_user_group_props = elasticache.CfnUserGroupProps( engine="engine", user_group_id="userGroupId", user_ids=["userIds"], # the properties below are optional tags=[CfnTag( key="key", value="value" )] )
Attributes
- engine
The current supported values are valkey and redis.
- tags
The list of tags.
- user_group_id
The ID of the user group.
- user_ids
The list of user IDs that belong to the user group.
A user named
defaultmust be included.