aws-cdk.aws-codeguruprofiler
The CDK Construct Library for AWS::CodeGuruProfiler
What it is and what it does
This package provides CDK constructs for Amazon CodeGuru Profiler, a service that collects runtime performance data from live applications and delivers optimization recommendations. It wraps the AWS::CodeGuruProfiler CloudFormation resource, allowing you to define profiling groups, configure compute platforms (such as AWS Lambda), and grant IAM permissions to application roles so profiling agents can publish data.
The package depends on aws-cdk.core, aws-cdk.aws-iam, constructs, jsii, publication, and typeguard. It is marked as Inactive (Development Status 7) and reached end-of-support on 2023-06-01; AWS explicitly directs users to migrate to AWS CDK v2 for ongoing support and updates.
Use it for:
- Set up a profiling group in CDK v1 infrastructure to collect performance metrics from Lambda functions or other compute platforms.
- Grant application execution roles permission to publish profiling data to CodeGuru Profiler via the grant_publish method.
- Configure compute platform settings (e.g., AWS_LAMBDA) when defining profiling groups in infrastructure-as-code.
- Integrate CodeGuru Profiler into existing CDK v1 stacks for application performance monitoring and tuning recommendations.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides AWS CDK constructs for defining and managing Amazon CodeGuru Profiler profiling groups, enabling runtime performance data collection and profiling agent integration in infrastructure-as-code.
No, unless you are maintaining an existing AWS CDK v1 codebase. This package is no longer updated and reached end-of-support on 2023-06-01. AWS explicitly recommends migrating to AWS CDK v2. For new projects, use the v2 equivalent instead.
Install
aws-cdk-aws-codeguruprofiler on PyPI
pip
pip install aws-cdk-aws-codeguruprofileruv
uv add aws-cdk-aws-codeguruprofilerpoetry
poetry add aws-cdk-aws-codeguruprofilerInstalling aws-cdk.aws-codeguruprofiler
Before you install
Low install friction with a stable dependency chain. However, this is a v1 package that reached end-of-support on 2023-06-01 and is no longer being updated; AWS recommends migration to AWS CDK v2.
License in practice
Licensed under Apache-2.0 (permissive), imposing no restrictions on commercial or private use.
Quickstart
import aws_cdk.aws_codeguruprofiler as codeguruprofiler
from aws_cdk import aws_iam as iam
profiling_group = codeguruprofiler.ProfilingGroup(self, "MyProfilingGroup")
publish_app_role = iam.Role(self, "PublishAppRole", assumed_by=iam.AccountRootPrincipal())
profiling_group.grant_publish(publish_app_role)
Requires AWS CDK v1 environment; AWS recommends migrating to CDK v2 instead of starting new v1 projects.
Verify before relying
- Whether v1 packages remain functional in current AWS environments or if migration to v2 is mandatory for new deployments.
- Compatibility of this v1 construct with the latest AWS CodeGuru Profiler API features.
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 — aws-cdk.aws-iam, aws-cdk.core, constructs, jsii, publication, typeguard |
| Maintenance | actively maintained — 1,152 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 161,020/month — #10,646 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aws_cdk.aws_codeguruprofiler-1.204.0-py3-none-any.whl
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
codeguru-profiler-agentIntegrates Python applications with Amazon…
permissive · top 5,000 on PyPI
aws-cdk.aws-codestar-alphaProvides AWS CDK constructs for AWS CodeStar…
permissive · top 15,000 on PyPI
aws-cdk.aws-codecommitProvides AWS CDK constructs for creating and…
permissive · top 15,000 on PyPI
aws-cdk.aws-imagebuilderProvides AWS CDK L1 constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-signerProvides AWS CDK constructs for defining…
permissive · top 15,000 on PyPI
aws-cdk.aws-cognitoProvides AWS CDK constructs for defining Amazon…
permissive · top 15,000 on PyPI
aws-cdk.aws-ecrProvides AWS CDK constructs for defining,…
permissive · top 15,000 on PyPI
aws-cdk.aws-samProvides AWS CDK v1 constructs for defining…
permissive · top 15,000 on PyPI
aws-cdk.aws-acmpcaProvides AWS CDK constructs for working with…
permissive · top 15,000 on PyPI
aws-cdk.aws-autoscaling-commonProvides shared internal implementation details…
permissive · top 15,000 on PyPI