View a markdown version of this page

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

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

Amazon Timestream InfluxDB 的操作、资源和条件键

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

参考:

亚马逊 Timestream 定义的 API 操作 InfluxDB

下表将 API 操作映射到它们授权的 IAM 操作。仅列出具有给定 API 和操作静态值的条件密钥;有关每个操作支持的全套条件密钥,请参阅 操作表。

操作 IAM 操作 条件键 可能的值 访问级别

CreateDbBackup

timestream-influxdb:CreateDbBackup

写入

timestream-influxdb:TagResource

标记、写入

CreateDbCluster

timestream-influxdb:CreateDbCluster

写入

timestream-influxdb:CreateDbInstance

写入

timestream-influxdb:CreateDbParameterGroup

写入

timestream-influxdb:TagResource

标记、写入

CreateDbInstance

timestream-influxdb:CreateDbInstance

写入

timestream-influxdb:TagResource

标记、写入

CreateDbParameterGroup

timestream-influxdb:CreateDbParameterGroup

写入

timestream-influxdb:TagResource

标记、写入

DeleteDbBackup

timestream-influxdb:DeleteDbBackup

写入

DeleteDbCluster

timestream-influxdb:DeleteDbCluster

写入

timestream-influxdb:DeleteDbInstance

写入

DeleteDbInstance

timestream-influxdb:DeleteDbInstance

写入

GetDbBackup

timestream-influxdb:GetDbBackup

读取

GetDbCluster

timestream-influxdb:GetDbCluster

读取

GetDbInstance

timestream-influxdb:GetDbInstance

读取

GetDbParameterGroup

timestream-influxdb:GetDbParameterGroup

读取

ListDbBackups

timestream-influxdb:ListDbBackups

列表

ListDbClusters

timestream-influxdb:ListDbClusters

列表

ListDbInstances

timestream-influxdb:ListDbInstances

列表

ListDbInstancesForCluster

timestream-influxdb:ListDbInstancesForCluster

读取

ListDbParameterGroups

timestream-influxdb:ListDbParameterGroups

列表

ListTagsForResource

timestream-influxdb:ListTagsForResource

读取

RebootDbCluster

timestream-influxdb:RebootDbCluster

写入

timestream-influxdb:RebootDbInstance

写入

RebootDbInstance

timestream-influxdb:RebootDbInstance

写入

RestoreFromDbBackup

timestream-influxdb:RestoreFromDbBackup

写入

TagResource

timestream-influxdb:TagResource

标记、写入

UntagResource

timestream-influxdb:UntagResource

标记、写入

UpdateDbCluster

timestream-influxdb:UpdateDbCluster

写入

timestream-influxdb:UpdateDbInstance

写入

UpdateDbInstance

timestream-influxdb:UpdateDbInstance

写入

Amazon Timestream InfluxDB 定义的操作

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

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

CreateDbBackup

授予为某项创建 Timestream InfluxDB 备份的权限 DbInstance 要么 DbCluster

db-backup*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

写入

CreateDbCluster

授予权限以创建新的 Timestream InfluxDB 集群

db-parameter-group

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

写入

CreateDbInstance

授予权限以创建新的 Timestream InfluxDB 实例

db-parameter-group

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

写入

CreateDbParameterGroup

授予权限以创建新的 Timestream InfluxDB 参数组

aws:RequestTag/${TagKey}

aws:TagKeys

写入

DeleteDbBackup

授予删除 Timestream InfluxDB 备份的权限

db-backup*

aws:ResourceTag/${TagKey}

写入

DeleteDbCluster

授予权限以删除 Timestream InfluxDB 集群

db-cluster*

aws:ResourceTag/${TagKey}

写入

DeleteDbInstance

授予权限以删除 Timestream InfluxDB 实例

db-instance*

aws:ResourceTag/${TagKey}

写入

GetDbBackup

授予获取有关 Timestream InfluxDB 备份信息的权限

db-backup*

aws:ResourceTag/${TagKey}

读取

GetDbCluster

授予权限以获取有关 Timestream InfluxDB 集群的信息

db-cluster*

aws:ResourceTag/${TagKey}

读取

GetDbInstance

授予权限以获取有关 Timestream InfluxDB 实例的信息

db-instance*

aws:ResourceTag/${TagKey}

读取

GetDbParameterGroup

授予权限以获取有关 Timestream InfluxDB 参数组的信息

db-parameter-group*

aws:ResourceTag/${TagKey}

读取

ListDbBackups

授予列出账户中所有 Timestream InfluxDB 备份信息的权限

列表

ListDbClusters

授予权限以列出有关账户中所有 Timestream InfluxDB 集群的信息

列表

ListDbInstances

授予权限以列出有关账户中所有 Timestream InfluxDB 实例的信息

列表

ListDbInstancesForCluster

授予权限以列出有关属于集群的所有 Timestream InfluxDB 实例的信息

db-cluster*

aws:ResourceTag/${TagKey}

读取

ListDbParameterGroups

授予权限以列出有关所有 Timestream InfluxDB 参数组的信息

列表

ListTagsForResource

授予权限以列出 Timestream InfluxDB 资源的标签

db-backup

aws:ResourceTag/${TagKey}

读取

db-cluster

aws:ResourceTag/${TagKey}

db-instance

aws:ResourceTag/${TagKey}

db-parameter-group

aws:ResourceTag/${TagKey}

RebootDbCluster

授予重启 Timestream InfluxDB 集群的权限

db-cluster*

aws:ResourceTag/${TagKey}

写入

db-instance

aws:ResourceTag/${TagKey}

RebootDbInstance

授予重启 Timestream InfluxDB 实例的权限

db-instance*

aws:ResourceTag/${TagKey}

写入

RestoreFromDbBackup

授予从 Timestream InfluxDB 备份中恢复的权限

db-backup*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

timestream-influxdb:RestoreMode

写入

TagResource

授予权限以标记 Timestream InfluxDB 资源

db-backup

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

标记、写入

db-cluster

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

db-instance

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

db-parameter-group

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

授予权限以取消标记 Timestream InfluxDB 资源

db-backup

aws:ResourceTag/${TagKey}

aws:TagKeys

标记、写入

db-cluster

aws:ResourceTag/${TagKey}

aws:TagKeys

db-instance

aws:ResourceTag/${TagKey}

aws:TagKeys

db-parameter-group

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateDbCluster

授予权限以更新 Timestream InfluxDB 集群

db-cluster*

aws:ResourceTag/${TagKey}

写入

db-parameter-group

aws:ResourceTag/${TagKey}

UpdateDbInstance

授予权限以更新 Timestream InfluxDB 实例

db-instance*

aws:ResourceTag/${TagKey}

写入

db-parameter-group

aws:ResourceTag/${TagKey}

Amazon Timestream InfluxDB 定义的资源类型

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

资源类型 ARN 条件键

db-backup

arn:${Partition}:timestream-influxdb:${Region}:${Account}:db-backup/${DbBackupId}

aws:ResourceTag/${TagKey}

db-cluster

arn:${Partition}:timestream-influxdb:${Region}:${Account}:db-cluster/${DbClusterId}

aws:ResourceTag/${TagKey}

db-instance

arn:${Partition}:timestream-influxdb:${Region}:${Account}:db-instance/${DbInstanceIdentifier}

aws:ResourceTag/${TagKey}

db-parameter-group

arn:${Partition}:timestream-influxdb:${Region}:${Account}:db-parameter-group/${DbParameterGroupIdentifier}

aws:ResourceTag/${TagKey}

Amazon Timestream InfluxDB 的条件键

Amazon Timestream InfluxDB 定义以下条件键,可在 IAM 策略的 Condition 元素中使用。

条件键 描述 类型

aws:RequestTag/${TagKey}

按请求中允许的标签键值对筛选访问

String

aws:ResourceTag/${TagKey}

按某个资源的标签键值对筛选访问

String

aws:TagKeys

按请求中允许的标签键列表筛选访问

ArrayOfString

timestream-influxdb:RestoreMode

按请求中指定的还原模式筛选访问权限

String