-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(release): 2.83.0 #25887
chore(release): 2.83.0 #25887
Commits on May 12, 2023
-
add available info for eu-south-2 to fact-tables.ts
Signed-off-by: Sumu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df42839 - Browse repository at this point
Copy the full SHA df42839View commit details
Commits on May 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e3e337a - Browse repository at this point
Copy the full SHA e3e337aView commit details
Commits on May 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5046520 - Browse repository at this point
Copy the full SHA 5046520View commit details
Commits on May 30, 2023
-
Signed-off-by: Sumu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c0e449d - Browse repository at this point
Copy the full SHA c0e449dView commit details -
Merge branch 'sumughan/register-eu-south-2' of https://github.com/aws…
…/aws-cdk into sumughan/register-eu-south-2
Configuration menu - View commit details
-
Copy full SHA for 5d86c1e - Browse repository at this point
Copy the full SHA 5d86c1eView commit details -
Signed-off-by: Sumu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ee44561 - Browse repository at this point
Copy the full SHA ee44561View commit details
Commits on Jun 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f9c656f - Browse repository at this point
Copy the full SHA f9c656fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0aae00 - Browse repository at this point
Copy the full SHA c0aae00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 674ec01 - Browse repository at this point
Copy the full SHA 674ec01View commit details -
fix(kms): aliasName references alias itself (under feature flag) (#25822
) Fixes #25761 The existing behavior was that `alias.aliasName` was always a raw string, so properties like `keyId` and `keyArn` depended on a raw string and not a reference to the alias itself. This behavior is preserved. Under a new feature flag, `const KMS_ALIAS_NAME_REF = '@aws-cdk/aws-kms:aliasNameRef'`, we instead use a reference to the `aliasName` output itself, which means that properties that depend on `aliasName` now depend on the `alias`. In turn, the `alias` depends on the `key`. This allows the expected behavior where specifying something like `alias.keyArn()` depends on the key. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Configuration menu - View commit details
-
Copy full SHA for 45734e3 - Browse repository at this point
Copy the full SHA 45734e3View commit details -
chore(region-info): register ap-south-2 (#25545)
Checks off some items from #24597 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Configuration menu - View commit details
-
Copy full SHA for a061228 - Browse repository at this point
Copy the full SHA a061228View commit details -
chore(deps): upgrade cdk-generate-synthetic-examples to latest fixed …
…version (#25815) Includes cdklabs/cdk-generate-synthetic-examples#262 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Configuration menu - View commit details
-
Copy full SHA for 1c9de23 - Browse repository at this point
Copy the full SHA 1c9de23View commit details -
chore: update ancient issue time (#25680)
Increasing time it takes to automatically close inactive issues across our repositories ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Configuration menu - View commit details
-
Copy full SHA for 502c375 - Browse repository at this point
Copy the full SHA 502c375View commit details -
chore(cdk-release): alpha package changes aren't written to alpha CHA…
…NGELOG (#25836) The reason is that the packages that have the changes in them are now called `@aws-cdk/aws-XXX-alpha`, but changes are usually stated as `feat(XXX): ...`. The code generating name variants to catch the possible values of `XXX` was not taking the `-alhpa` suffix into account. Now is. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Configuration menu - View commit details
-
Copy full SHA for 2bcd7f2 - Browse repository at this point
Copy the full SHA 2bcd7f2View commit details -
chore(cli): print detected cycle if work graph stalls (#25830)
To help with diagnosing #25806, if the work graph can't make any progress anymore because of a dependency cycle, print the cycle that was found instead of all the remaining nodes. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Configuration menu - View commit details
-
Copy full SHA for 5837373 - Browse repository at this point
Copy the full SHA 5837373View commit details
Commits on Jun 4, 2023
-
feat(events-targets): support enableExecuteCommand in EcsTask constru…
…ct (#25639) Users can run commands in or get a shell to a container running on an Amazon EC2 instance or on AWS Fargate with Amazon ECS Exec. `FargateService` and `Ec2Service` in `aws-ecs` supports the flag to enable Amazon ECS Exec, `enableExecuteCommand`. `EcsTask` in `aws-events-targets` also supports `enableExecuteCommand` in CloudFormation, but AWS CDK doesn't. This feature supports `enableExecuteCommand` flag also for `EcsTask`. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Configuration menu - View commit details
-
Copy full SHA for 7f3152a - Browse repository at this point
Copy the full SHA 7f3152aView commit details
Commits on Jun 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 164a6bc - Browse repository at this point
Copy the full SHA 164a6bcView commit details -
fix(cli): deployment gets stuck deploying stacks with shared assets (#…
…25846) In #25536 we introduced the new work graph orchestration for the CLI which had a bug when the same asset was shared by multiple stacks. #25719 was an attempt at fixing this bug, and while it fixed it for some cases it didn't fix all of them. The issue is that for cosmetic reasons, asset publishing steps inherit the dependencies of the stacks they are publishing for (so that the printed output of asset publishing doesn't interfere with the in-place updated progress bar of stack deployment and make it lose track of the terminal state). There were two bugs: * These extra dependencies could cause cycles (#25719 addressed direct cycles, where `Publish <--> Stack`, but not indirect cycles, where `Publish -> StackA -> StackB -> Publish`). * Publishing nodes would overwrite other nodes with the same ID, and the dependency set they would end up with would be somewhat nondeterministic, making this problem hard to isolate. Fixes #25806. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Configuration menu - View commit details
-
Copy full SHA for 8b97bdf - Browse repository at this point
Copy the full SHA 8b97bdfView commit details -
feat(cloud9): support setting automaticStopTimeMinutes (#25593)
Add parameter automaticStopTimeMinutes to specify the number of minutes until the running instance is shut down after the environment was last used. Closes #25592. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Configuration menu - View commit details
-
Copy full SHA for 437345e - Browse repository at this point
Copy the full SHA 437345eView commit details -
fix(apigateway): allow overriding apiKeyRequired on methods (#25682)
RestApi has the ability to set the apiKeyRequired option for all methods via defaultMethodOptions. Setting this option on a method should override the value set in defaultMethodOptions, but it doesn't work. This commit fixes the behaviour and adds a test. Mentioned in #8827 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Configuration menu - View commit details
-
Copy full SHA for ae778cc - Browse repository at this point
Copy the full SHA ae778ccView commit details -
fix(lambda-nodejs): ignore noEmit in tsconfig when pre-compiling (#25604
) When building the options to `tsc` for pre-compilation from tsconfig, exclude any `noEmit` compiler option in case it has been set to `true`, which would prevent generation of the compiled .js files. Added `'noEmit'` to the list of excluded options when processing tsconfig. Closes #25603. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Configuration menu - View commit details
-
Copy full SHA for dd16cf8 - Browse repository at this point
Copy the full SHA dd16cf8View commit details -
fix(codepipeline): incorrect cross-account permissions with StepFunct…
… ionInvokeAction (#25850) When the StateMachine being invoked by CodePipeline is not in the same account/region as the CodePipeline, the `DescribeExecutions` permission was granted on the incorrect account/region pair (that of the pipeline, and not that of the StateMachine), due to the transforming of the state machine's ARN into a state machine execution ARN pattern not copying the account & region of the original ARN. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Configuration menu - View commit details
-
Copy full SHA for 3694670 - Browse repository at this point
Copy the full SHA 3694670View commit details -
chore(pkglint): require jsii.dotnet.packageId in package.json (#25816)
Guards against the following error when creating new packages: ```bash Error: The module @aws-cdk/app-staging-synthesizer-alpha does not have a dotnet.packageId setting ``` ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Configuration menu - View commit details
-
Copy full SHA for 4240341 - Browse repository at this point
Copy the full SHA 4240341View commit details -
fix(lambda-nodejs): cannot use .mts, .cts, and .cjs entry files (#25642)
This adds support for using TypeScript Module (`.mts`), TypeScript CommonJS (`.cts`) and JavaScript CommonJS (`.cjs`) entry files, as well as adding these to the default entry file search. This is a must for projects mixing ESM and CommonJS (quite common as not everything can/should be fully ESM yet) or where explicit file extension is desired. I tried to follow the existing convention as best I could to keep it as simple as possible. I am not sure why the tests for the existing entry files are skipped as they seem to be working correctly, at least locally, so I enabled the new tests I added. Closes #21635. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Configuration menu - View commit details
-
Copy full SHA for cbe9fe5 - Browse repository at this point
Copy the full SHA cbe9fe5View commit details
Commits on Jun 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2b6538d - Browse repository at this point
Copy the full SHA 2b6538dView commit details -
fix(cli): asset existence check is slow for many assets (#25866)
When an application has many assets (think ~100) the existence check which seeks to scrub already existing assets from the work graph is starting to take a significant amount of time. Do those checks in parallel. Also in this PR: - Improve the printing of the work graph a little to make it slightly less unreadable if the graph gets large. - Print the graphviz representation of the work graph to the trace log if the graph gets stuck, for debugging purposes. - In the work graph builder, only add dependencies on stacks. Previously, it used to add dependencies on assets as if they were stacks (those were later on removed, but we didn't need to add them in the first place). ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Configuration menu - View commit details
-
Copy full SHA for d17642a - Browse repository at this point
Copy the full SHA d17642aView commit details -
docs(contributing): Fix broken link in CONTRIBUTING.md (#25861)
fix broken link in CONTRIBUTING.md. 🙏🏻 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Configuration menu - View commit details
-
Copy full SHA for 8633c5d - Browse repository at this point
Copy the full SHA 8633c5dView commit details -
feat(custom-resource): AwsCustomResource supports AWS SDK for JavaScr…
…ipt v3 (#25406) ## What changes Add support of AWS SDK for JavaScript v3 to `AwsCustomResource`. It also continues to works with runtimes that use the AWS SDK for JavaScript v2 (e.g Node.js 16.x). **
⚠️ This PR only add support, doesn' change custom resource default runtime version** ## Why need this change? Because AWS SDK for JavaScript v2 enters into maintenance mode in 2023. At least, we must upgrade Node.js runtime to 18 or higher version that using AWS SDK for JavaScript v3 in 2023. If not upgrade, when customers possibly can't use new AWS Service's APIs. ※ reference from [Document for AWS SDK for JavaScript v2](https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/) > ### Version 2.x Support > We are formalizing our plans to enter AWS SDK for JavaScript v2 into maintenance mode in 2023. [AWS SDK for JavaScript v3](https://github.com/aws/aws-sdk-js-v3) is the latest and recommended version, which has been GA since December 2020. Here is [why and how you should use AWS SDK for JavaScript v3](https://aws.amazon.com/blogs/developer/why-and-how-you-should-use-aws-sdk-for-javascript-v3-on-node-js-18/). You can try our experimental migration scripts in [aws-sdk-js-codemod](https://www.npmjs.com/package/aws-sdk-js-codemod) to migrate your application from v2 to v3. To get help with your migration, please follow our general guidelines to [open an issue](https://github.com/aws/aws-sdk-js/issues/new/choose) and choose [guidance](https://github.com/aws/aws-sdk-js/issues/new?assignees=&labels=guidance%2C+needs-triage&template=---questions---help.md&title=). To give feedback on and report issues in the v3 repo, please refer to [Giving feedback and contributing](https://github.com/aws/aws-sdk-js-v3#giving-feedback-and-contributing). Watch this README and the [AWS Developer Tools Blog](https://aws.amazon.com/blogs/developer/) for updates and announcements regarding the maintenance plans and timelines. Please refer to the [AWS SDKs and Tools maintenance policy](https://docs.aws.amazon.com/sdkref/latest/guide/maint-policy.html) for further details. ## Why don't change default runtime version? AWS Lambda uses AWS SDK for JavaScript v3 since Node.js 18.x runtime. This is major update so I think it has breaking changes. This is reason. So I plan this. 1. Add experimentally support AWS SDK for JavaScript v3 (this PR) 2. Announce experimentally support Node.js 18.x runtime for customers who wish to update 3. Change `AwsCustomResource`'s default runtime to Node.js 18.x in 2023 or Node.js 16.x EOL This plan allows time for transition before changing the default runtime for `AwsCustomResource`. ## Are there any changes to the props? Yes. The specification method for the AWS SDK for JavaScript v3 will now be supported. In AWS SDK for JavaScript v3, packages are installed for each service. Therefore, specify the package name for `service`. Also, `action` specifies the XxxClient operations provided in the package. Example of [SSM.getParameter](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/preview/client/ssm/): ```ts new AwsCustomResource(this, 'GetParameter', { resourceType: 'Custom::SSMParameter', onUpdate: { service: '@aws-sdk/client-ssm', // 'SSM' in v2 action: 'GetParameterCommand', // 'getParameter' in v2 parameters: { Name: 'foo', WithDecryption: true, }, physicalResourceId: PhysicalResourceId.fromResponse('Parameter.ARN'), }, }); ``` ## What actions do customers need to take when migrating? Nothing to do. To maintain backward compatibility, when customers provides AWS SDK for JavaScript v2 style parameters, then `AwsCustomResource` automatically convert the parameters to AWS SDK for JavaScript v3 style and handle it in lambda runtime code. Next example will be allowed. ```ts new AwsCustomResource(this, 'CostUsageReportDefinitions', { resourceType: 'Custom::CostUsageReportDefinitions', onUpdate: { service: 'CUR', // will convert to '@aws-sdk/client-cost-and-usage-report-service' action: 'describeReportDefinitions', // will convert to 'DescribeReportDefinitionsCommand' parameters: { MaxResults: 5, }, physicalResourceId: PhysicalResourceId.of('xxx'), }, }); ``` ## How can I use it before the default runtime changes? On hold. Considering overriding with [`regioninfo.Fact.register`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.region_info-readme.html#overriding-incorrect-information) or rewriting it like `addPropertyOverride` by customers. There are currently no plans to provide dedicated functions. ## Others - I added 3 packages for testing - @aws-sdk/client-s3 - @aws-sdk/credential-providers - aws-sdk-client-mock - I'm referring to part of the code at [aws-sdk-js-codemod](https://github.com/awslabs/aws-sdk-js-codemod). The license is from the same organization, so I don't think there's a problem, but I'll write it down for confirmation. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*Configuration menu - View commit details
-
Copy full SHA for 60699f4 - Browse repository at this point
Copy the full SHA 60699f4View commit details -
fix(cli): ENOENT during asset publishing (#25869)
There was still a TOCTOU error in the file asset publishing, which could lead to `ENOENT: no such file or directory` when assets were being published in parallel. The whole `if (fileExists) { delete; }` logic was actually not necessary, as `fs.rename` will atomically overwrite existing files already, so we can just call it directly. Closes #25293. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Configuration menu - View commit details
-
Copy full SHA for 1668dbd - Browse repository at this point
Copy the full SHA 1668dbdView commit details -
fix(ecr): auto delete images on ECR repository containing manifest li…
…st (#25789) Fixes #24822 As I commented on #24822 (comment), auto delete container images in ECR repository fails when it has container manifest list. I fix custom resource Lambda function to delete tagged images first. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Configuration menu - View commit details
-
Copy full SHA for 830e6d3 - Browse repository at this point
Copy the full SHA 830e6d3View commit details
Commits on Jun 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 528bd51 - Browse repository at this point
Copy the full SHA 528bd51View commit details -
Merge pull request #25573 from aws/sumughan/register-eu-south-2
chore(region-info): register eu-south-2
Configuration menu - View commit details
-
Copy full SHA for 091e514 - Browse repository at this point
Copy the full SHA 091e514View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e89ed3 - Browse repository at this point
Copy the full SHA 8e89ed3View commit details -
AWS CDK Team committed
Jun 7, 2023 Configuration menu - View commit details
-
Copy full SHA for c32a482 - Browse repository at this point
Copy the full SHA c32a482View commit details