The CDK Construct Library for AWS::IoT
Project description
AWS IoT Construct Library
---All classes with the
Cfn
prefix in this module (CFN Resources) are always stable and safe to use.
The APIs of higher level constructs in this module are experimental and under active development. They are subject to non-backward compatible changes or removal in any future version. These are not subject to the Semantic Versioning model and breaking changes will be announced in the release notes. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.
AWS IoT Core lets you connect billions of IoT devices and route trillions of messages to AWS services without managing infrastructure.
Installation
Install the module:
$ npm i @aws-cdk/aws-iot
Import it into your code:
# Example automatically generated. See https://github.com/aws/jsii/issues/826
import aws_cdk.aws_iot as iot
TopicRule
The TopicRule
construct defined Rules that give your devices the ability to
interact with AWS services.
For example, to define a rule:
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
iot.TopicRule(stack, "MyTopicRule",
topic_rule_name="MyRuleName", # optional property
sql=iot.IotSql.from_string_as_ver20160323("SELECT topic(2) as device_id, temperature FROM 'device/+/data'")
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for aws-cdk.aws-iot-alpha-2.0.0a4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21d50bbfac3b9ae00e0a88903e95d411f8f363038227c3edb657127f5d267e60 |
|
MD5 | 015809ef0cd30d126ee44679ed7822b1 |
|
BLAKE2b-256 | 8818cf672d0d6849e3c679711c8977acaaab20974a993d3d604b217c01451b97 |
Hashes for aws_cdk.aws_iot_alpha-2.0.0a4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6043786146cbc887de2599e10f0b0e3590c93ae01bdfcb85c365ef41cfa2928c |
|
MD5 | 95d1153be34c49d72a051de630f73896 |
|
BLAKE2b-256 | ecfe391cfae6ccf796aefb1afcf334876c141d279fb99cf14b2bcd77e7d70889 |