3/28/2024 0 Comments Instal Registry Finder 2.58.1 free![]() ![]() With this feature flagĮnabled it is possible to do something like creating a CloudFront distribution in us-east-2 andĪn ACM certificate in us-east-1. In order to access resources in a different stack and region. You can enable the Stack property crossRegionReferences Accessing resources in a different stack and region In the consuming stack to transfer that information from one stack to the ![]() Region, but in a different stack, it automatically synthesizes AWS If the AWS CDK determines that the resource is in the same account and Your package.json should look like this: stack2 = StackThatExpectsABucket ( app, "Stack2", bucket = stack1. Point version dependency on that version in devDependencies.įor example, let's say the minimum version your library needs is 2.38.0. That your library requires declare a range dependency with a caret on that version in peerDependencies, and declare a To make sure your library is compatible with the widest range of CDK versions: pick the minimum aws-cdk-lib version To use this package, you need to declare this package and the constructs package asĪccording to the kind of project you are developing:įor projects that are CDK libraries in NPM, declare them both under the devDependencies and peerDependencies sections. When upgrading from CDK 1.x, remove all dependencies to individual CDK packagesįrom your dependencies file and follow the rest of the sections. The AWS CDK construct library provides APIs to define your CDK application and addĬDK constructs to the application. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |