View a markdown version of this page

Amazon Neptune 的操作、资源和条件键 - 服务授权参考
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)。

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

Amazon Neptune 的操作、资源和条件键

亚马逊 Neptune(服务前缀: neptune-db) 提供以下特定服务的操作、资源、操作和条件密钥,用于 IAM 权限策略。

参考:

Amazon Neptune 定义的操作

您可以在 IAM 策略语句的 Action 元素中指定以下操作。对于每个操作,该表列出了该操作支持的资源类型和条件键。可以使用策略授予在 Amazon中执行操作的权限。您在策略中使用一项操作时,通常使用相同的名称允许或拒绝对 API 操作或 CLI 命令的访问。但在某些情况下,单一动作可控制对多项操作的访问。还有某些操作需要多种不同的动作。

操作 说明 资源类型(* 为必需) 条件键 访问级别

CancelLoaderJob

授予权限以取消加载程序任务

database*

写入

CancelMLDataProcessingJob

授予权限以取消 ML 数据处理任务

database*

写入

CancelMLModelTrainingJob

授予权限以取消 ML 模型训练任务

database*

写入

CancelMLModelTransformJob

授予权限以取消 ML 模型转换任务

database*

写入

CancelQuery

授予权限以取消查询

database*

写入

CreateMLEndpoint

授予权限以创建 ML 端点

database*

写入

DeleteDataViaQuery

授予权限以通过数据库上的查询 API 运行删除数据

database*

neptune-db:QueryLanguage

写入

DeleteMLEndpoint

授予权限以删除 ML 端点

database*

写入

DeleteStatistics

授予权限以删除数据库中的所有统计数据

database*

写入

GetEngineStatus

授予权限以检查 Neptune 引擎的状态

database*

读取

GetGraphSummary

授予权限以从数据库获取图形摘要

database*

读取

GetLoaderJobStatus

授予权限以检查加载程序任务的状态

database*

读取

GetMLDataProcessingJobStatus

授予权限以检查 ML 数据处理任务的状态

database*

读取

GetMLEndpointStatus

授予权限以检查 ML 端点的状态

database*

读取

GetMLModelTrainingJobStatus

授予权限以检查 ML 模型训练任务的状态

database*

读取

GetMLModelTransformJobStatus

授予权限以检查 ML 模型转换任务的状态

database*

读取

GetQueryStatus

授予权限以检查所有活动查询的状态

database*

neptune-db:QueryLanguage

读取

GetStatisticsStatus

授予权限以检查数据库统计数据的状态

database*

读取

GetStreamRecords

授予权限以取回来自 Neptune 的流记录

database*

neptune-db:QueryLanguage

读取

ListLoaderJobs

授予权限以列出所有加载程序任务

database*

列表

ListMLDataProcessingJobs

授予权限以列出所有 ML 数据处理任务

database*

列表

ListMLEndpoints

授予权限以列出所有 ML 端点

database*

列表

ListMLModelTrainingJobs

授予权限以列出所有 ML 模型训练任务

database*

列表

ListMLModelTransformJobs

授予权限以列出所有 ML 模型转换任务

database*

列表

ManageStatistics

授予权限以管理数据库中的统计数据

database*

写入

ReadDataViaQuery

授予权限以通过数据库上的查询 API 运行读取数据

database*

neptune-db:QueryLanguage

读取

ResetDatabase

授予权限以获取重置所需的令牌,并重置 Neptune 数据库

database*

写入

StartLoaderJob

授予权限以启动加载程序任务

database*

写入

StartMLDataProcessingJob

授予权限以启动 ML 数据处理任务

database*

写入

StartMLModelTrainingJob

授予权限以启动 ML 模型训练任务

database*

写入

StartMLModelTransformJob

授予权限以启动 ML 模型转换任务

database*

写入

WriteDataViaQuery

授予权限以通过数据库上的查询 API 运行写入数据

database*

neptune-db:QueryLanguage

写入

connect

授予 1.2.0.0 版之前的引擎版本所有数据访问操作的权限

database*

写入

Amazon Neptune 定义的资源类型

以下资源类型是由该服务定义的,可以在 IAM 权限策略语句的 Resource 元素中使用这些资源类型。

资源类型 ARN 条件键

database

arn:${Partition}:neptune-db:${Region}:${Account}:${ClusterResourceId}/*

Amazon Neptune 的条件键

Amazon Neptune 定义以下可以在 IAM policy 的 Condition 元素中使用的条件键。

条件键 描述 类型

neptune-db:QueryLanguage

按图表模型筛选访问权限

String