UserBaseProps

class aws_cdk.aws_elasticache_alpha.UserBaseProps(*, access_control, user_id, engine=None)

Bases: object

(experimental) Properties for defining an ElastiCache base user.

Parameters:
  • access_control (AccessControl) – (experimental) Access control configuration for the user.

  • user_id (str) – (experimental) The ID of the user.

  • engine (Optional[UserEngine]) – (experimental) The engine type for the user. Enum options: UserEngine.VALKEY, UserEngine.REDIS. Default: UserEngine.VALKEY.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_elasticache_alpha as elasticache_alpha

# access_control: elasticache_alpha.AccessControl

user_base_props = elasticache_alpha.UserBaseProps(
    access_control=access_control,
    user_id="userId",

    # the properties below are optional
    engine=elasticache_alpha.UserEngine.VALKEY
)

Attributes

access_control

(experimental) Access control configuration for the user.

Stability:

experimental

engine

(experimental) The engine type for the user.

Enum options: UserEngine.VALKEY, UserEngine.REDIS.

Default:

UserEngine.VALKEY.

Stability:

experimental

user_id

(experimental) The ID of the user.

Stability:

experimental