skillfed

aws-cdk.aws-codeguruprofiler

The CDK Construct Library for AWS::CodeGuruProfiler

aws-cdk-aws-codeguruprofiler v1.204.0 161.0K downloads/30d#10,646 on PyPI12,868
Permissive license Apache-2.0 Active released

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-codeguruprofiler

uv

uv add aws-cdk-aws-codeguruprofiler

poetry

poetry add aws-cdk-aws-codeguruprofiler

Installing 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

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

Tags

aws cdk codeguru profilerprofiling group constructruntime performance monitoring cdkaws codeguru infrastructure as codeapplication profiler cdkperformance data collection awsprofiling agent permissions
aws-cdkend-of-lifeinfrastructure-as-code

More Build Tools packages

packaging

Provides reusable utilities for Python…

permissive · top 100 on PyPI

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

pip

pip is the standard installer for Python…

permissive · top 100 on PyPI

hatchling

Hatchling is a standards-compliant Python build…

permissive · top 100 on PyPI

grpcio-tools

Generates Python gRPC service stubs and message…

permissive · top 1,000 on PyPI

pre-commit

pre-commit is a framework for installing and…

permissive · top 1,000 on PyPI

codeguru-profiler-agent

Integrates Python applications with Amazon…

permissive · top 5,000 on PyPI

aws-cdk.aws-codestar-alpha

Provides AWS CDK constructs for AWS CodeStar…

permissive · top 15,000 on PyPI

aws-cdk.aws-codecommit

Provides AWS CDK constructs for creating and…

permissive · top 15,000 on PyPI

aws-cdk.aws-imagebuilder

Provides AWS CDK L1 constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-signer

Provides AWS CDK constructs for defining…

permissive · top 15,000 on PyPI

aws-cdk.aws-cognito

Provides AWS CDK constructs for defining Amazon…

permissive · top 15,000 on PyPI

aws-cdk.aws-ecr

Provides AWS CDK constructs for defining,…

permissive · top 15,000 on PyPI

aws-cdk.aws-sam

Provides AWS CDK v1 constructs for defining…

permissive · top 15,000 on PyPI

aws-cdk.aws-acmpca

Provides AWS CDK constructs for working with…

permissive · top 15,000 on PyPI

aws-cdk.aws-autoscaling-common

Provides shared internal implementation details…

permissive · top 15,000 on PyPI