aws-cdk.aws-iot-alpha
The CDK Construct Library for AWS::IoT
Decision gist · record as of 2026-08-14
Yes, with conditions. Install if you are building IoT infrastructure with AWS CDK and need to define topic rules, logging, or audits programmatically. The package is actively maintained and has no known vulnerabilities. However, accept that APIs are experimental—review the release notes before upgrading, and avoid it in production systems where breaking changes pose high risk until the library reaches stable status.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Intended for use within an AWS CDK application context (self parameter).
- Low install friction with four runtime dependencies.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.
last release 2026-08-13 (1 days) · last repo commit 2026-08-14 · 12,868 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 309,303 downloads/mo, #7,756 on PyPI
Alternatives
Verify before relying
pip install aws-cdk-aws-iot-alpha
import aws_cdk.aws_iot as iot
topic_rule = iot.TopicRule(self, "TopicRule",
sql=iot.IotSql.from_string_as_ver20160323("SELECT * FROM 'device/+/data'")
)- Whether all audit check types and scheduled audit frequencies are fully documented in the package itself or require external AWS documentation.
- Performance characteristics when managing large numbers of topic rules or audit configurations.
- Compatibility guarantees with specific aws-cdk-lib versions beyond the runtime dependency.
What it is and what it does
This package provides high-level CDK constructs for AWS IoT Core, allowing you to define IoT infrastructure declaratively in Python. It wraps AWS IoT's core capabilities—topic rules that route device messages to AWS services, logging configuration for monitoring IoT activity, and Device Defender audits for security compliance—into reusable, composable objects that integrate with the broader AWS CDK ecosystem.
The library is explicitly marked as experimental and alpha-stage, meaning its APIs are actively evolving and may introduce breaking changes between releases without following semantic versioning. You use it by instantiating constructs like TopicRule, Logging, and AccountAuditConfiguration within a CDK stack, configuring them with SQL queries, actions, and audit checks, then synthesizing the stack into CloudFormation templates. It depends on aws-cdk-lib, constructs, jsii, and publication—all standard CDK infrastructure packages.
Use it for
- Define IoT topic rules that automatically invoke Lambda functions or write to CloudWatch Logs when devices publish to MQTT topics.
- Enable centralized logging and monitoring of AWS IoT activity across your account.
- Configure Device Defender audits to check for security drifts in device certificates, policies, and IAM role permissions.
- Set up scheduled audits (daily, weekly, monthly) to continuously validate IoT security posture.
- Route IoT device messages to multiple AWS services (SNS, S3, DynamoDB) based on topic patterns and SQL filters.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
Install if you are building IoT infrastructure with AWS CDK and need to define topic rules, logging, or audits programmatically. The package is actively maintained and has no known vulnerabilities. However, accept that APIs are experimental—review the release notes before upgrading, and avoid it in production systems where breaking changes pose high risk until the library reaches stable status.
Install
aws-cdk-aws-iot-alpha on PyPI
Before you install
Low install friction with four runtime dependencies. Actively maintained with a release 1 day old. Marked as experimental/alpha—APIs are subject to breaking changes without semantic versioning guarantees, so expect potential updates when upgrading.
Requires Python 3.10 or later. Intended for use within an AWS CDK application context (self parameter).
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install aws-cdk-aws-iot-alpha
import aws_cdk.aws_iot as iot
topic_rule = iot.TopicRule(self, "TopicRule",
sql=iot.IotSql.from_string_as_ver20160323("SELECT * FROM 'device/+/data'")
)
Verify before relying
- Whether all audit check types and scheduled audit frequencies are fully documented in the package itself or require external AWS documentation.
- Performance characteristics when managing large numbers of topic rules or audit configurations.
- Compatibility guarantees with specific aws-cdk-lib versions beyond the runtime dependency.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesaws-cdk-libconstructsjsiipublication |
| Maintenance | Actively maintained 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 309,303 / month, #7,756 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | 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 |
Evidence: aws_cdk_aws_iot_alpha-2.265.0a0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “AWS IoT CDK constructs”
- aws-cdk.aws-iot-alphaProvides AWS CDK constructs for defining AWS IoT Core resources—topic…
- aws-cdk.aws-iot-actions-alphaProvides AWS CDK constructs that define actions for AWS IoT Rules,…
- aws-cdk.aws-signerProvides AWS CDK constructs for defining code-signing infrastructure…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also aws-cdk.aws-iot-actions-alpha · awsiotsdk · aws-cdk.aws-neptune-alpha · aws-cdk.aws-sam · aws-cdk.aws-events · aws-cdk.aws-logs · aws-solutions-constructs.core · aws-cdk.core · aws-cdk.aws-lambda · aws-cdk.aws-codestar-alpha