topic_rule
Gets an individual topic_rule
resource
Overview
Name | topic_rule |
Type | Resource |
Description | topic_rule |
Id | awscc.iot.topic_rule |
Fields
Name | Datatype | Description |
---|---|---|
arn | string | |
rule_name | string | |
topic_rule_payload | object | |
tags | array | |
region | string | AWS 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