Skip to main content

CDK ProServe Library

npm version PyPI version Maven version NuGet version Go version codecov

View on Construct Hub

A comprehensive AWS Cloud Development Kit (CDK) library that provides a collection of well-architected constructs, aspects, and patterns for accelerating your cloud infrastructure development.

🛠️ Installation

This library is available in multiple programming languages through their respective package managers.

TypeScript/JavaScript
npm install @cdklabs/cdk-proserve-lib
Python
pip install cdklabs.cdk-proserve-lib
Java

Add the following to your pom.xml:

<dependency>
    <groupId>io.github.cdklabs</groupId>
    <artifactId>cdk-proserve-lib</artifactId>
    <version>[VERSION]</version>
</dependency>

Replace [VERSION] with the desired version from Maven Central.

.NET
dotnet add package Cdklabs.CdkProserveLib
Go
go get github.com/cdklabs/cdk-proserve-lib-go/cdklabscdkproservelib

📚 Library

The library consists of constructs, aspects, and patterns that you can utilize in AWS CDK applications.

Total: 23

🧱 Constructs

Constructs are the basic building blocks of AWS Cloud Development Kit (AWS CDK) applications. A construct is a component within your application that represents one or more AWS CloudFormation resources and their configuration. You build your application, piece by piece, by importing and configuring constructs. To learn more about constructs, check out the AWS CDK documentation.

Count: 12

  • DynamoDbProvisionTable: Controls the contents of an Amazon DynamoDB table from Infrastructure as Code.
  • Ec2ImageBuilderGetImage: Retrieves an EC2 Image Builder image build version.
  • Ec2ImageBuilderStart: Starts an EC2 Image Builder Pipeline and optionally waits for the build to complete.
  • Ec2ImagePipeline: An EC2 Image Pipeline that can be used to build a Amazon Machine Image (AMI) automatically.
  • FriendlyEmbrace: The Friendly Embrace construct can be used to remove CloudFormation stack dependencies that are based on stack exports and imports.
  • IamServerCertificate: Manages an AWS Identity and Access Management Server Certificate for use in regions/partitions where AWS Certificate Manager is not available.
  • NetworkFirewall: Creates an AWS Network Firewall using a user-supplied Suricata rules file in a VPC.
  • NetworkFirewallEndpoints: Retrieves Network Firewall endpoints so that you can reference them in your other resources.
  • OpenSearchAdminUser: Manages an admin user for an Amazon OpenSearch domain.
  • OpenSearchProvisionDomain: Controls the contents of an Amazon OpenSearch Service domain from Infrastructure as Code.
  • OpenSearchWorkflow: Create OpenSearch Workflows using the flow framework to automate the provisioning of complex tasks using JSON or YAML.
  • WebApplicationFirewall: Creates an AWS Web Application Firewall (WAF) that can be associated with resources such as an Application Load Balancer.

🎭 Aspects

Aspects are a way to apply an operation to all constructs in a given scope. The aspect could modify the constructs, such as by adding tags. Or it could verify something about the state of the constructs, such as making sure that all buckets are encrypted. To learn more about aspects, check out the AWS CDK documentation.

Count: 8

  • ApplyRemovalPolicy: Sets a user specified Removal Policy to all resources that the aspect applies to.
  • CreateLambdaLogGroup: Ensures that Lambda log groups are created for all Lambda functions that the aspect applies to.
  • Ec2AutomatedShutdown: Automatically shut down EC2 instances when an alarm is triggered based off of a provided metric.
  • RdsOracleMultiTenant: Enables Oracle MultiTenant configuration on RDS Oracle database instances.
  • SecureSageMakerNotebook: Aspect that enforces security controls on SageMaker Notebook Instances by requiring VPC placement, disabling direct internet access, and preventing root access to the notebook environment.
  • SecurityCompliance: Applies best practice security settings to be in compliance with security tools such as CDK Nag.
  • SetLogRetention: Aspect that sets the log retention period for CloudWatch log groups to a user-supplied retention period.
  • SqsRequireSsl: Enforces SSL/TLS requirements on Simple Queue Service (SQS) for all resources that the aspect applies to.

🎯 Patterns

Patterns are higher-level abstractions that combine multiple constructs and their configurations to form an opinionated solution. They help developers implement best practices and reduce the amount of code needed to build well-architected infrastructure. Patterns typically orchestrate multiple AWS services together in a way that follows AWS best practices. To learn more about patterns, check out the AWS CDK documentation.

Count: 3

🤝 Contributors

contributors

📄 License

This project is licensed under the Apache-2.0 License.

Metadata

Release files for cdklabs.cdk-proserve-lib 0.13.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cdklabs.cdk-proserve-lib 0.13.4
File Size Uploaded Provenance Actions
cdklabs_cdk_proserve_lib-0.13.4.tar.gz 3.3 MB With provenance Details for cdklabs_cdk_proserve_lib-0.13.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cdklabs.cdk-proserve-lib 0.13.4
File Interpreter ABI Platform Actions
cdklabs_cdk_proserve_lib-0.13.4-py3-none-any.whl Python 3 none any Details for cdklabs_cdk_proserve_lib-0.13.4-py3-none-any.whl

Total release size: 6.7 MB

Release files / cdklabs_cdk_proserve_lib-0.13.4.tar.gz

Download URL cdklabs_cdk_proserve_lib-0.13.4.tar.gz
Size 3.3 MB
Tags Source
SHA-256 checksum
How to use checksums
49e5c244b6b2c79d49ab68adbee0582da7b5ad35d5c1c3e24a2e943458b4e04c
BLAKE2b-256 checksum
How to use checksums
3975efab47fd47e0a15f243349c27f4d6bd9bcaf6b7420d59d9d459717a75641
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.14.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 6, 2026.

Transparency log

Release files / cdklabs_cdk_proserve_lib-0.13.4-py3-none-any.whl

Download URL cdklabs_cdk_proserve_lib-0.13.4-py3-none-any.whl
Size 3.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ef4b18968e7cff85da79f33a5140289b394807cdbd54890e4985400f873154a5
BLAKE2b-256 checksum
How to use checksums
5651d7bce18e05f4664a11da3750c4cea09417d07a6bf25cc7825177f5b09855
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.14.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 6, 2026.

Transparency log

Security for cdklabs.cdk-proserve-lib 0.13.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cdklabs_cdk_proserve_lib-0.13.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.13.4 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page