--- id: aws-cdk-aws-iot-actions-alpha version: "2.265.0a0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # aws-cdk.aws-iot-actions-alpha — Receipt rule actions for AWS IoT License: permissive · Maintenance: active · Downloads: 313.3K/mo ## What it is and what it does This is an AWS CDK library providing integration classes that define actions for AWS IoT Rules. When an IoT Rule matches incoming MQTT data, it can trigger one or more of these actions to send data to AWS services. The library currently supports routing to Lambda functions, S3 buckets, CloudWatch Logs and metrics, CloudWatch alarms, Kinesis streams, Firehose delivery streams, SQS queues, SNS topics, DynamoDB tables, IoT Events inputs, and HTTPS endpoints. Each action class encapsulates the configuration needed to connect an IoT Rule to its target service. The module is marked as experimental and under active development, meaning its APIs are subject to non-backward-compatible changes in future releases. It is designed for developers building IoT data pipelines using AWS CDK, where infrastructure is defined in Python code. The package depends on aws-cdk-lib and related alpha modules, and requires Python 3.10 or later. Use it for: - Route temperature sensor data from MQTT topics to S3 for long-term storage and analysis. - Trigger Lambda functions in response to specific IoT device events or state changes. - Stream device metrics to CloudWatch for real-time monitoring and alarming. - Send IoT events to Kinesis or Firehose for downstream processing and analytics. - Republish filtered or transformed MQTT messages to other topics for multi-subscriber scenarios. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides AWS CDK constructs that define actions for AWS IoT Rules, enabling rules to route MQTT data to Lambda, S3, CloudWatch, Kinesis, SQS, SNS, DynamoDB, and other AWS services. Yes, if you are building AWS IoT infrastructure with CDK and need to route MQTT data to AWS services. The package is actively maintained, has no known vulnerabilities, and uses a permissive license. Be aware that it is in alpha status, so expect potential breaking changes in future releases; review the release notes before upgrading. ## Install pip install aws-cdk-aws-iot-actions-alpha uv add aws-cdk-aws-iot-actions-alpha poetry add aws-cdk-aws-iot-actions-alpha ## Installing aws-cdk.aws-iot-actions-alpha Before you install: Active maintenance with a release 1 day old. Low install friction as a pure Python wheel. Depends on aws-cdk-lib and related alpha modules, which are standard for CDK infrastructure-as-code projects. License in practice: Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions. Quickstart: from aws_cdk import aws_iot as iot from aws_cdk_aws_iot_actions_alpha import actions iot.TopicRule(self, "TopicRule", sql=iot.IotSql.from_string_as_ver20160323("SELECT * FROM 'device/+/data'"), actions=[actions.S3PutObjectAction(bucket)] ) Requires aws-cdk-lib and aws-cdk.aws-iot-alpha to be installed; Python 3.10 or later. Verify before relying: - Whether all listed action types (Republish, Lambda, S3, CloudWatch Logs, CloudWatch metrics, CloudWatch alarm state, Kinesis, Firehose, SQS, SNS, DynamoDB, IoT Events, HTTPS) are fully production-ready or remain experimental. - Stability guarantees for the alpha module beyond the stated non-backward-compatible change policy. ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 313.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags AWS IoT rule actions, IoT data routing CDK, MQTT topic rule integration, IoT to AWS services, CDK IoT actions constructs, iot-integration, aws-cdk, infrastructure-as-code [View on SkillFed](https://skillfed.io/packages/aws-cdk-aws-iot-actions-alpha) · [View on PyPI](https://pypi.org/project/aws-cdk-aws-iot-actions-alpha/)