aws elasticache redis 设置和获取

aws elasticache redis set and get

我是 AWS-SDK 的新手,我是 运行 EC2 实例上的 node.js 应用程序。

我正在尝试在 node.js 应用程序中使用 ElastiCache-Redis。但是,我找不到 ElastiCache 的 API 来进行基本的 Redis 调用。下面的url没有提供任何Redis命令。

http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/ElastiCache.html#addTagsToResource-property

如何在aws-sdk中向ElastiCache(Redis)发出Redis命令?

ElastiCache API 用于启动、停止和配置 Redis 和 Memcached 实例。它不用于与这些实例通信。
为了向 Redis 或 Memcached 发送命令,您需要使用普通客户端,这里是 Redis 的 Node.js 个客户端列表:http://redis.io/clients#nodejs