-
Notifications
You must be signed in to change notification settings - Fork 4.4k
(iot): L2 support for TopicRule #16602
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-iotRelated to AWS IoTRelated to AWS IoTeffort/largeLarge work item – several weeks of effortLarge work item – several weeks of effortfeature-requestA feature should be added or improved.A feature should be added or improved.feature/coverage-gapGaps in CloudFormation coverage by L2 constructsGaps in CloudFormation coverage by L2 constructsin-progressThis issue is being actively worked on.This issue is being actively worked on.p1
Description
Currently there's only L1 resources in CfnTopicRule of aws-iot.
Let's create L2 construct support.
Use Case
It is to use AWS IoT Rule.
Proposed Solution
There is pseudocode as following:
const topicRule = new TopicRule(stack, 'MyTopicRule', {
topicRulePayload: {
sql: "SELECT topic(2) as device_id, temperature FROM 'device/+/data'",
},
});
topicRule.addAction(new HttpAction('http://example.com'));
topicRule.addAction(new CloudwatchLogsAction());
topicRule.addAction(new RepublishAction('republished-topic'));Other
Associate with #6835
- 👋 I may be able to implement this feature request
-
⚠️ This feature might incur a breaking change
This is a 🚀 Feature Request
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-iotRelated to AWS IoTRelated to AWS IoTeffort/largeLarge work item – several weeks of effortLarge work item – several weeks of effortfeature-requestA feature should be added or improved.A feature should be added or improved.feature/coverage-gapGaps in CloudFormation coverage by L2 constructsGaps in CloudFormation coverage by L2 constructsin-progressThis issue is being actively worked on.This issue is being actively worked on.p1