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: 24

🧱 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: 13

  • 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.
  • ServerAccessLogsBucket: A secure S3 bucket configured to receive server access logs from other S3 buckets.
  • 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cdklabs_cdk_proserve_lib-1.1.0.tar.gz (3.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cdklabs_cdk_proserve_lib-1.1.0-py3-none-any.whl (3.5 MB view details)

Uploaded Python 3

File details

Details for the file cdklabs_cdk_proserve_lib-1.1.0.tar.gz.

File metadata

  • Download URL: cdklabs_cdk_proserve_lib-1.1.0.tar.gz
  • Upload date:
  • Size: 3.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.14.7

File hashes

Hashes for cdklabs_cdk_proserve_lib-1.1.0.tar.gz
Algorithm Hash digest
SHA256 0bf35b0f1fecdba298a8f33e41d0d576c15dd4f27181032a5dcb03111e601e1b
MD5 4b834ee9b5b25042f5700134874bc521
BLAKE2b-256 15d2200111aa890f454290de256422e00631e0b300a432b35a84a5bdcf4386ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for cdklabs_cdk_proserve_lib-1.1.0.tar.gz:

Publisher: release.yml on cdklabs/cdk-proserve-lib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cdklabs_cdk_proserve_lib-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cdklabs_cdk_proserve_lib-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d66e88496a854226a2fbe444e1d0aff4b1e0074485a77208d6079f6a37c89d4
MD5 6d350a9646489a2a2ee72a4097f776e2
BLAKE2b-256 c610e4c77757501c09824d04bd5ace30075bd800d0d3b6d8b0a982b0996d428b

See more details on using hashes here.

Provenance

The following attestation bundles were made for cdklabs_cdk_proserve_lib-1.1.0-py3-none-any.whl:

Publisher: release.yml on cdklabs/cdk-proserve-lib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 files

1.0.0

2 files

0.14.0

2 files

0.13.4

2 files

0.13.3

2 files

0.13.2

2 files

0.13.1

2 files

0.13.0

2 files

0.12.0

2 files

0.11.0

2 files

0.10.0

2 files

0.9.1

2 files

0.9.0

2 files

0.8.0

2 files

0.7.0

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.3

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

0.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page