Jim*_*ggs 6 amazon-web-services redis aws-cloudformation
我需要公开我的 Redis ReplicationGroup 的读取器端点,以便它可以被依赖的 CloudFormation 堆栈使用。
我之前使用过主要端点,该端点可用作 CloudFormation 返回值,但现在我需要使用 Reader Endpoint,于 2019 年 6 月推出 [ https://aws.amazon.com/about-aws/whats-new /2019/06/amazon-elasticache-launches-reader-endpoint-for-redis/]。
但是,Reader Endpoint 没有出现在 CloudFormation 文档 [ https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html]的返回值中
我的堆栈输出定义为:
MyReplicationGroup.PrimaryEndPoint.Address
MyReplicationGroup.PrimaryEndPoint.Port
Run Code Online (Sandbox Code Playgroud)
Reader Endpoint 是否可用,但尚未记录?也许以下就是我所需要的?
MyReplicationGroup.ReaderEndPoint.Address
MyReplicationGroup.ReaderEndPoint.Port
Run Code Online (Sandbox Code Playgroud)
我宁愿不使用 ReadEndPoint.Addresses 和 ReadEndPoint.Ports,因为它们是副本列表,然后我需要以编程方式选择要连接到哪个 - Reader Endpoint 将为我完成所有这些工作(这就是它的全部意义所在)。
| 归档时间: |
|
| 查看次数: |
712 次 |
| 最近记录: |