AWS::IoT::TopicRuleResource Type definition for AWS::IoT::TopicRule
3 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
TopicRulePayload | TopicRulePayload | Required |
RuleName | string | Create-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::IoT::TopicRule
Resources:
MyResource:
Type: AWS::IoT::TopicRule
Properties:
TopicRulePayload: "value"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
iam:PassRoleiot:CreateTopicRuleiot:GetTopicRuleiot:TagResourceiot:ListTagsForResourceiot:GetTopicRuleiot:ListTagsForResourceiam:PassRoleiot:GetTopicRuleiot:ListTagsForResourceiot:ReplaceTopicRuleiot:TagResourceiot:UntagResourceiot:GetTopicRuleiot:DeleteTopicRuleiot:ListTopicRulesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterRuleNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
RuleName