MCPcopy Index your code
hub / github.com/aws/constructs

github.com/aws/constructs @v10.6.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v10.6.0 ↗ · + Follow
87 symbols 150 edges 10 files 39 documented · 45% 25 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Constructs

Software-defined persistent state

Release npm version PyPI version NuGet version Maven Central

What are constructs?

Constructs are classes which define a "piece of system state". Constructs can be composed together to form higher-level building blocks which represent more complex state.

Constructs are often used to represent the desired state of cloud applications. For example, in the AWS CDK, which is used to define the desired state for AWS infrastructure using CloudFormation, the lowest-level construct represents a resource definition in a CloudFormation template. These resources are composed to represent higher-level logical units of a cloud application, etc.

Support policy

All maintained Node.js versions are supported by this package.

Contributing

This project has adopted the Amazon Open Source Code of Conduct.

We welcome community contributions and pull requests. See our contribution guide for more information on how to report issues, set up a development environment and submit code.

License

This project is distributed under the Apache License, Version 2.0.

Extension points exported contracts — how you extend this code

IConstruct (Interface)
(no doc) [3 implementers]
src/construct.ts
IDependable (Interface)
(no doc) [1 implementers]
src/dependency.ts
ValidationError (Interface)
(no doc)
test/construct.test.ts
MetadataEntry (Interface)
(no doc)
src/metadata.ts
IMixin (Interface)
(no doc)
src/mixin.ts
IValidation (Interface)
(no doc) [1 implementers]
src/construct.ts
MetadataOptions (Interface)
(no doc)
src/construct.ts

Core symbols most depended-on inside this repo

tryGetContext
called by 15
src/construct.ts
addMetadata
called by 15
src/construct.ts
with
called by 12
src/construct.ts
setContext
called by 10
src/construct.ts
addDependency
called by 10
src/construct.ts
isConstruct
called by 9
src/construct.ts
add
called by 7
src/dependency.ts
addValidation
called by 6
src/construct.ts

Shape

Method 46
Class 23
Function 10
Interface 7
Enum 1

Languages

TypeScript100%

Modules by API surface

src/construct.ts46 symbols
test/construct.test.ts22 symbols
src/dependency.ts10 symbols
test/util.ts3 symbols
src/mixin.ts3 symbols
src/private/uniqueid.ts1 symbols
src/private/stack-trace.ts1 symbols
src/metadata.ts1 symbols

For agents

$ claude mcp add constructs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact