skillfed

aws-cdk.aws-iot-actions-alpha

Receipt rule actions for AWS IoT

aws-cdk-aws-iot-actions-alpha v2.265.0a0 313.3K downloads/30d#7,718 on PyPI12,868
Permissive license Apache-2.0 Active released

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 on this page — 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

aws-cdk-aws-iot-actions-alpha on PyPI

pip

pip install aws-cdk-aws-iot-actions-alpha

uv

uv add aws-cdk-aws-iot-actions-alpha

poetry

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 the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 6 — aws-cdk-lib, aws-cdk.aws-iot-alpha, aws-cdk.aws-iotevents-alpha, constructs, jsii, publication
Maintenance actively maintained — 1 days since the last release
Last repo commit
First released
Downloads 313,344/month — #7,718 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: aws_cdk_aws_iot_actions_alpha-2.265.0a0-py3-none-any.whl

Development Status :: 4 - BetaFramework :: AWS CDKFramework :: AWS CDK :: 2Intended Audience :: DevelopersLicense :: OSI ApprovedOperating System :: OS IndependentProgramming Language :: JavaScriptProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed

Tags

AWS IoT rule actionsIoT data routing CDKMQTT topic rule integrationIoT to AWS servicesCDK IoT actions constructs
iot-integrationaws-cdkinfrastructure-as-code

More Application Frameworks packages

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

textual

Textual is a Python framework for building…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

mcp

Build and connect to Model Context Protocol…

permissive · top 1,000 on PyPI

Werkzeug

Werkzeug is a WSGI utility library providing…

permissive · top 1,000 on PyPI

aws-cdk.aws-iot-alpha

Provides AWS CDK constructs for defining AWS…

permissive · top 15,000 on PyPI

aws-cdk.aws-kinesisfirehose-alpha

Provides AWS CDK constructs for defining Amazon…

permissive · top 15,000 on PyPI

aws-cdk.aws-kinesisfirehose-destinations-alpha

Provides AWS CDK constructs for configuring…

permissive · top 15,000 on PyPI

aws-cdk.aws-kinesisanalytics-flink-alpha

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-logs

Provides AWS CDK constructs for creating and…

permissive · top 15,000 on PyPI

aws-cdk.aws-events

Provides AWS CDK constructs for defining Amazon…

permissive · top 15,000 on PyPI

aws-cdk.aws-cloudwatch

Defines CloudWatch metrics, alarms, and…

permissive · top 15,000 on PyPI

aws-cdk.aws-sqs

Provides AWS CDK constructs for defining Amazon…

permissive · top 15,000 on PyPI

aws-cdk.aws-sns

Provides AWS CDK constructs for defining Amazon…

permissive · top 15,000 on PyPI

aws-cdk.aws-kinesis

Defines AWS Kinesis data streams as…

permissive · top 15,000 on PyPI