aws-solutions-constructs | AWS Solutions Constructs Library is an open-source extension | AWS library
kandi X-RAY | aws-solutions-constructs Summary
kandi X-RAY | aws-solutions-constructs Summary
The AWS Solutions Constructs library is an open-source extension of the AWS Cloud Development Kit (AWS CDK) that provides multi-service, well-architected patterns for quickly defining solutions in code to create predictable and repeatable infrastructure. The goal of AWS Solutions Constructs is to accelerate the experience for developers to build solutions of any size using pattern-based definitions for their architecture. The patterns defined in AWS Solutions Constructs are high level, multi-service abstractions of AWS CDK constructs that have default configurations based on well-architected best practices. The library is organized into logical modules using object-oriented techniques to create each architectural pattern model.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of aws-solutions-constructs
aws-solutions-constructs Key Features
aws-solutions-constructs Examples and Code Snippets
Community Discussions
Trending Discussions on aws-solutions-constructs
QUESTION
I am trying to use one of our internal generated java library by JSII from Typescript aws-cdk-library project.
when we try to invoke and on cdk synth
we are getting below error
software.amazon.jsii.JsiiException: Module '@company/cdk-tags' not found Error: Module '@company/cdk-tags' not found
Currently we are using cdk version 1.106.0
, java 13 and maven 3.6.
here is our package.json and module-package.json
package.json
...ANSWER
Answered 2021-Jul-07 at 13:59Finally we are able to solve this issue. This was due to multiple modules with same java package structure names. This created a conflict in loading and finding the module when running from java.
After changing the package structure, it started working fine.
We have multiple modules like cloudwatch and nodejs-canary inside a main project.
Before
package.json for cloudwatch
"jsii": { "outdir": "dist", "targets": { "java": { "package": "com.company.common.aws.cdk", "maven": { "groupId": "com.company.common.aws.cdk", "artifactId": "cloudwatch" } } } }
package.json for nodejs-canary
"jsii": { "outdir": "dist", "targets": { "java": { "package": "com.company.common.aws.cdk", "maven": { "groupId": "com.company.common.aws.cdk", "artifactId": "nodejs-canary" } } } }
After
"jsii": { "outdir": "dist", "targets": { "java": { "package": "com.company.common.aws.cdk.cloudwatch", "maven": { "groupId": "com.company.common.aws.cdk", "artifactId": "cloudwatch" } } } }
package.json
"jsii": { "outdir": "dist", "targets": { "java": { "package": "com.company.common.aws.cdk.nodejs_canary", "maven": { "groupId": "com.company.common.aws.cdk", "artifactId": "nodejs-canary" } } } }
Just to add little more, initially when we ran with one module it worked fine. Later after adding additional modules while using in Java we got Module not found error.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install aws-solutions-constructs
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page