--- id: aws-solutions-constructs-core version: "2.103.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # aws-solutions-constructs.core — Core CDK Construct for patterns library License: permissive · Maintenance: active · Downloads: 128.4K/mo ## What it is and what it does aws-solutions-constructs-core is the foundational module of the AWS Solutions Constructs Library, providing core classes and default properties that enforce secure, well-architected patterns across AWS CDK constructs. It sets sensible defaults for AWS resources—such as enabling S3 encryption, versioning, and public access blocking—that can be overridden by user-provided properties. The library emits warnings when defaults are overridden, helping developers maintain awareness of security-relevant changes. The package is designed for teams building infrastructure-as-code with AWS CDK who want to adopt pre-configured, secure patterns without manually specifying every property. It depends on aws-cdk-lib, constructs, jsii, and related libraries. The project is actively maintained but explicitly not bound by Semantic Versioning, meaning non-backward compatible changes can occur in any release, so upgrades may require code adjustments. Use it for: - Building AWS infrastructure patterns with secure defaults (encryption, versioning, access controls) already applied to S3, CloudFront, and other resources. - Enforcing organizational security policies by centralizing default configurations for CDK constructs across multiple projects. - Overriding core defaults for specific resources while receiving warnings about deviations from secure baselines. - Developing reusable CDK construct libraries that inherit well-architected defaults from the core module. - Reducing boilerplate in infrastructure-as-code by relying on pre-configured, audited resource properties. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides core building blocks and default properties for AWS CDK constructs used across the AWS Solutions Constructs Library, allowing you to define infrastructure patterns with secure defaults. Yes, if you are using AWS CDK and want to adopt secure, well-architected defaults for your infrastructure patterns. The low install friction and active maintenance make it straightforward to integrate. However, be aware that the package does not follow Semantic Versioning and may introduce breaking changes in any release—plan for potential code updates when upgrading. If your project requires strict API stability, evaluate the risk of non-backward compatible changes before committing to this library. ## Install pip install aws-solutions-constructs-core uv add aws-solutions-constructs-core poetry add aws-solutions-constructs-core ## Installing aws-solutions-constructs.core Before you install: Low install friction with a pure Python wheel. Actively maintained with recent releases; however, the package explicitly warns that classes are under active development and subject to non-backward compatible changes outside of Semantic Versioning, so upgrades may require source code updates. License in practice: Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions. Quickstart: pip install aws-solutions-constructs-core from aws_solutions_constructs import core from aws_cdk import Stack # Use core to access default properties and building blocks stack = Stack() # Constructs will apply core's secure defaults automatically Requires Python 3.9 or later and aws-cdk-lib to be installed; intended for use within AWS CDK projects. Verify before relying: - Whether the core library's default properties (e.g., S3 encryption, versioning, block public access) are appropriate for your specific security and compliance requirements. - The current state and timeline of the aws-constructs-factories effort mentioned in the description, which may affect future API stability. ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 128.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags aws cdk construct library, aws solutions constructs core, cdk default properties, aws infrastructure patterns, cdk construct building blocks, aws well-architected defaults, cdk secure defaults, aws-cdk, infrastructure-as-code, secure-defaults [View on SkillFed](https://skillfed.io/packages/aws-solutions-constructs-core) · [View on PyPI](https://pypi.org/project/aws-solutions-constructs-core/)