[{"data":1,"prerenderedAt":64},["ShallowReactive",2],{"pattern-iot-timestream-cdk":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":13,"deploy":15,"description":18,"extension":19,"framework":20,"gitHub":21,"highlight":6,"introBox":27,"language":33,"level":34,"meta":35,"patternArch":36,"resources":50,"s3URL":6,"services":6,"stem":58,"testing":59,"videoId":6,"__hash__":63},"patterns\u002Fpatterns\u002Fiot-timestream-cdk.json","IoT rule to Timestream",null,{"headline":8,"text":9},"Cleanup",[10,11,12],"1. Delete the stack: \u003Ccode>npx cdk destroy\u003C\u002Fcode>.","2. Confirm the stack has been deleted: \u003Ccode>aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus\"\u003C\u002Fcode>.","3. You see a message confirming DELETE_COMPLETE.",[14],"content\u002Fcontributors\u002Fashu-joshi.json",{"text":16},[17],"cdk deploy","Create an IoT Rule to ingest data to Timestream.","json","AWS CDK",{"template":22},{"projectFolder":23,"repoURL":24,"templateURL":25,"templateFile":26},"iot-timestream-cdk","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fiot-timestream-cdk","serverless-patterns\u002Fiot-timestream-cdk","iot-timestream\u002Fbin\u002Fiot-timestream.ts",{"headline":28,"text":29},"How it works",[30,31,32],"This pattern contains a sample AWS CDK stack to create an IoT Rule with a Timestream action. ","When a message is published to the IoT topic defined in the IoT Rule, this message will be delivered to the specified Timestream database and table in the IoT Rule.","This pattern deploys one Timestream database, table, one IoT Rule.","Node.js","200",{},{"icon1":37,"icon2":42,"line1":46},{"x":38,"y":39,"service":40,"label":41},20,50,"iot","IoT",{"x":43,"y":39,"service":44,"label":45},80,"timestream","Amazon Timestream",{"from":47,"to":48,"label":49},"icon1","icon2","",{"bullets":51},[52,55],{"text":53,"link":54},"Amazon Timestream IoT Rule Action","https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot\u002Flatest\u002Fdeveloperguide\u002Ftimestream-rule-action.html",{"text":56,"link":57},"Amazon Timestream and AWS IoT Core","https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002FIOT-Core.html","patterns\u002Fiot-timestream-cdk",{"headline":60,"text":61},"Testing",[62],"See the GitHub repo for detailed testing instructions.","eaVnoKQ7JkN7PsBq4oIN8WjZ7AaLUWS6b5LTNlhRVqo",1778846885685]