Using the Amazon Command Line Interface - Amazon MemoryDB for Redis
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Using the Amazon Command Line Interface

This feature is in preview release for MemoryDB for Redis and is subject to change.

To create a vector search enabled MemoryDB cluster, you can use the MemoryDB create-cluster command by passing an immutable parameter group default.memorydb-redis7.search.preview to enable the preview mode for vector search capabilities.

aws memorydb create-cluster \ --cluster-name <value> \ --node-type <value> \ --engine redis \ --engine-version 7.1 \ --num-shards 1 \ --acl-name <value> \ --parameter-group-name default.memorydb-redis7.search.preview