是否可以通过 AWS App Sync 直接查询 ElastiCache (Redis)

问题描述 投票:0回答:1

AWS AppSync 允许直接从 DynamoDB 查询。 ElastiCache (Redis) 也一样吗

如果我需要从 ElastiCache 获取数据,因为它没有任何进一步的业务逻辑,对于客户端(比如 Android 应用程序)来说,通过 REST 服务(出于安全原因等)读取是唯一的方法,或者可以使用 AWS App Sync .

根据参考 AWS 博客(日期为 2019 年),AWS App Sync 无法直接从 Elasti Cache 读取。 https://aws.amazon.com/blogs/mobile/integrating-aws-appsync-neptune-elasticache/。想确认最近是否有变化。

aws-appsync amazon-elasticache
1个回答
0
投票

AppSync 不直接支持 ElastiCache (Redis) 作为数据源。但是,如果您为 elasticache 实例配置 HTTP 端点,则可以在 AppSync 中使用 HTTP 解析器从 Elasticache 进行查询。

AppSync HTTP 解析器参考:https://docs.aws.amazon.com/appsync/latest/devguide/tutorial-http-resolvers.html

Elasticache HTTP 查询 API 指南:https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ProgrammingGuide.QueryAPI.html

© www.soinside.com 2019 - 2024. All rights reserved.