aws-cdk.aws-cloudwatch
The CDK Construct Library for AWS::CloudWatch
Decision gist · record as of 2026-08-14
No—this is AWS CDK v1, which reached end-of-support on 2023-06-01 and is no longer being updated. New projects should use AWS CDK v2 instead. Existing v1 users should plan a migration to v2 as soon as feasible. Install only if you are maintaining a legacy CDK v1 codebase with no near-term migration path.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires AWS CDK v1 environment; v1 is end-of-support as of 2023-06-01 and users should migrate to AWS CDK v2.
- Low install friction with a wheel distribution.
- However, this is AWS CDK v1, which reached end-of-support on 2023-06-01 and is no longer being updated—users should migrate to AWS CDK v2 instead.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and open-source projects with minimal restrictions.
last release 2023-06-19 (1152 days) · last repo commit 2026-08-14 · 12,868 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 189,840 downloads/mo, #9,922 on PyPI
Alternatives
Verify before relying
pip install aws-cdk.aws-cloudwatch
import aws_cdk.aws_cloudwatch as cloudwatch
metric = cloudwatch.Metric(
namespace="MyNamespace",
metric_name="MyMetric",
dimensions_map={"ProcessingStep": "Download"}
)- Whether existing CDK v1 projects can coexist safely with v2 during migration.
- Availability and completeness of CloudWatch feature parity in AWS CDK v2 equivalent.
What it is and what it does
This package provides AWS CDK v1 constructs for defining CloudWatch monitoring infrastructure—metrics, alarms, and dashboards—as Python code. It allows you to instantiate Metric objects to represent CloudWatch metrics (either from AWS services or custom applications), compose them using MathExpression for calculations, and create alarms with thresholds and actions. Metrics can be account and region aware, and the library supports search expressions and cross-account/cross-region monitoring.
However, this is a v1 package that reached end-of-support on 2023-06-01 and is no longer maintained. The package depends on aws-cdk.core, aws-cdk.aws-iam, constructs, jsii, publication, and typeguard. New projects should use AWS CDK v2 instead; existing v1 users should plan a migration.
Use it for
- Define CloudWatch alarms on Lambda error metrics programmatically within a CDK stack.
- Create custom metrics for application-specific monitoring using Metric objects with custom namespaces.
- Build metric math expressions to combine multiple metrics (e.g., error rate as errors/invocations).
- Set up cross-account or cross-region alarms by attaching metrics to constructs with account/region context.
- Search for and aggregate metrics across multiple resources using search expressions in MathExpression.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—this is AWS CDK v1, which reached end-of-support on 2023-06-01 and is no longer being updated.
New projects should use AWS CDK v2 instead. Existing v1 users should plan a migration to v2 as soon as feasible. Install only if you are maintaining a legacy CDK v1 codebase with no near-term migration path.
Install
aws-cdk-aws-cloudwatch on PyPI
Before you install
Low install friction with a wheel distribution. However, this is AWS CDK v1, which reached end-of-support on 2023-06-01 and is no longer being updated—users should migrate to AWS CDK v2 instead.
Requires AWS CDK v1 environment; v1 is end-of-support as of 2023-06-01 and users should migrate to AWS CDK v2.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and open-source projects with minimal restrictions.
Quickstart
pip install aws-cdk.aws-cloudwatch
import aws_cdk.aws_cloudwatch as cloudwatch
metric = cloudwatch.Metric(
namespace="MyNamespace",
metric_name="MyMetric",
dimensions_map={"ProcessingStep": "Download"}
)
Verify before relying
- Whether existing CDK v1 projects can coexist safely with v2 during migration.
- Availability and completeness of CloudWatch feature parity in AWS CDK v2 equivalent.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release ~=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesaws-cdk.aws-iamaws-cdk.coreconstructsjsiipublicationtypeguard |
| Maintenance | Actively maintained 1,152 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 189,840 / month, #9,922 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 7 - InactiveFramework :: AWS CDKFramework :: AWS CDK :: 1Intended Audience :: DevelopersLicense :: OSI ApprovedOperating System :: OS IndependentProgramming Language :: JavaScriptProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Typing :: Typed |
Evidence: aws_cdk.aws_cloudwatch-1.204.0-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 › “cloudwatch metrics as code”
- aws-cdk.aws-cloudwatchDefines CloudWatch metrics, alarms, and dashboards as code using AWS…
- aws-embedded-metricsGenerates CloudWatch metrics embedded within structured log events,…
- aws-cdk.aws-logsProvides AWS CDK constructs for creating and managing CloudWatch Logs…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also aws-cdk.aws-logs · aws-embedded-metrics · aws-cdk.aws-lambda · aws-cdk.aws-autoscaling · aws-cdk.aws-applicationautoscaling · aws-cdk.aws-events · aws-cdk.aws-sns · cdk-nag · aws-cdk.aws-codecommit · datadog-cdk-constructs-v2