Skip to main content

topic_rule

Gets an individual topic_rule resource

Overview

Nametopic_rule
TypeResource
Descriptiontopic_rule
Idawscc.iot.topic_rule

Fields

NameDatatypeDescription
arnstring
rule_namestring
topic_rule_payloadobject
tagsarray
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
arn,
rule_name,
topic_rule_payload,
tags
FROM awscc.iot.topic_rule
WHERE data__Identifier = '<RuleName>';

Permissions

To operate on the topic_rule resource, the following permissions are required:

Read

iot:GetTopicRule,
iot:ListTagsForResource

Update

iam:PassRole,
iot:GetTopicRule,
iot:ListTagsForResource,
iot:ReplaceTopicRule,
iot:TagResource,
iot:UntagResource

Delete

iot:GetTopicRule,
iot:DeleteTopicRule