View a markdown version of this page

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

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

的操作、资源和条件键 Amazon IoT Analytics

Amazon 物联网分析(服务前缀: iotanalytics) 提供以下特定服务的操作、资源、操作和条件密钥,用于 IAM 权限策略。

参考:

动作定义为 Amazon IoT Analytics

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

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

BatchPutMessage

将一批消息放入指定的通道

channel*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

写入

CancelPipelineReprocessing

取消指定管道的重新处理

pipeline*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

写入

CreateChannel

创建通道

channel*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

写入

CreateDataset

创建数据集

dataset*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

写入

CreateDatasetContent

生成指定数据集的内容(通过执行数据集操作)

dataset*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

写入

CreateDatastore

创建数据存储

datastore*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

写入

CreatePipeline

创建管道

pipeline*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

写入

DeleteChannel

删除指定的通道

channel*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

写入

DeleteDataset

删除指定的数据集

dataset*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

写入

DeleteDatasetContent

删除指定的数据集的内容

dataset*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

写入

DeleteDatastore

删除指定的数据存储

datastore*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

写入

DeletePipeline

删除指定的管道

pipeline*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

写入

DescribeChannel

描述指定的通道

channel*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

读取

DescribeDataset

描述指定的数据集

dataset*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

读取

DescribeDatastore

描述指定的数据存储

datastore*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

读取

DescribeLoggingOptions

描述账户的日志记录选项

读取

DescribePipeline

描述指定的管道

pipeline*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

读取

GetDatasetContent

获取指定的数据集的内容

dataset*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

读取

ListChannels

列出账户的通道

列表

ListDatasetContents

列出有关已创建数据集内容的信息

dataset*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

列表

ListDatasets

列出账户的数据集

列表

ListDatastores

列出账户的数据存储

列表

ListPipelines

列出账户的管道

列表

ListTagsForResource

列出分配给资源的标签(元数据)

channel

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

读取

dataset

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

datastore

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

pipeline

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

PutLoggingOptions

放入账户的日志记录选项

写入

RunPipelineActivity

运行指定的管道活动

读取

SampleChannelData

列举指定通道的数据

channel*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

读取

StartPipelineReprocessing

开始指定管道的重新处理

pipeline*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

写入

TagResource

添加或修改给定资源的标签。标签是可用于管理资源的元数据

channel

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

标记、写入

dataset

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

datastore

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

pipeline

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

UntagResource

从资源中删除给定标签(元数据)

channel

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

标记、写入

dataset

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

datastore

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

pipeline

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

UpdateChannel

更新指定的通道

channel*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

写入

UpdateDataset

更新指定的数据集

dataset*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

写入

UpdateDatastore

更新指定的数据存储

datastore*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

写入

UpdatePipeline

更新指定的管道

pipeline*

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

写入

资源类型定义为 Amazon IoT Analytics

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

资源类型 ARN 条件键

channel

arn:${Partition}:iotanalytics:${Region}:${Account}:channel/${ChannelName}

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

dataset

arn:${Partition}:iotanalytics:${Region}:${Account}:dataset/${DatasetName}

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

datastore

arn:${Partition}:iotanalytics:${Region}:${Account}:datastore/${DatastoreName}

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

pipeline

arn:${Partition}:iotanalytics:${Region}:${Account}:pipeline/${PipelineName}

aws:RequestTag/${TagKey}

aws:TagKeys

iotanalytics:ResourceTag/${TagKey}

的条件密钥 Amazon IoT Analytics

Amazon IoT 分析定义了以下条件密钥,这些密钥可用于 Condition IAM 政策的元素。

条件键 描述 类型

aws:RequestTag/${TagKey}

根据在请求中传递的标签筛选访问

String

aws:TagKeys

根据在请求中是否具有标签键来筛选访问权限

ArrayOfString

iotanalytics:ResourceTag/${TagKey}

按附加到资源的标签键值对筛选访问权限

String