以编程方式连接到 Amazon Keyspaces - Amazon Keyspaces(Apache Cassandra 兼容)
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

以编程方式连接到 Amazon Keyspaces

本主题概述了以编程方式连接 Amazon Keyspaces 所需的步骤。它会指导您创建 IAM 凭证并列出可用的 Amazon 服务终端节点。最后一部分介绍了如何使用 cqlsh 连接 Amazon Keyspaces。有关使用不同的 Apache Cassandra 驱动程序连接到 Amazon Keyspaces 的 step-by-step 教程,请参阅。使用 Cassandra 客户端驱动程序以编程方式访问 Amazon Keyspaces有关展示如何从 Amazon VPC 终端节点连接到 Amazon Keyspaces 的 step-by-step 教程,请参阅。教程:使用接口 VPC 端点连接到 Amazon Keyspaces

注意

为了帮助您入门,您可以在上的 Amazon Keyspaces end-to-end 代码示例存储库中找到使用各种 Cassandra 客户端驱动程序连接亚马逊密钥空间的代码示例。GitHub

Amazon Keyspaces 支持与 Apache Cassandra 3.11.2 兼容的驱动程序和客户端。它假设您已经完成了中的 Amazon 设置说明访问 Amazon Keyspaces(Apache Cassandra 兼容)

如果您已有 Amazon Web Services 账户,请参阅以下主题,了解如何使用 cqlsh 以编程方式访问 Amazon Keyspaces: