-
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
fix(cloudfront): make long function name deterministic #30392
Commits on May 30, 2024
-
Fix cloudfront function name gen logic
Leonardo Gama committedMay 30, 2024 Configuration menu - View commit details
-
Copy full SHA for 496e264 - Browse repository at this point
Copy the full SHA 496e264View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30194d5 - Browse repository at this point
Copy the full SHA 30194d5View commit details -
Leonardo Gama committed
May 30, 2024 Configuration menu - View commit details
-
Copy full SHA for c0a1051 - Browse repository at this point
Copy the full SHA c0a1051View commit details -
Configuration menu - View commit details
-
Copy full SHA for 085bc1d - Browse repository at this point
Copy the full SHA 085bc1dView commit details -
Leonardo Gama committed
May 30, 2024 Configuration menu - View commit details
-
Copy full SHA for 8d16fb6 - Browse repository at this point
Copy the full SHA 8d16fb6View commit details -
Merge branch 'fix-cf-fn-name' of https://github.com/Leo9Gama/aws-cdk …
…into fix-cf-fn-name
Leonardo Gama committedMay 30, 2024 Configuration menu - View commit details
-
Copy full SHA for 22ad2eb - Browse repository at this point
Copy the full SHA 22ad2ebView commit details
Commits on Jun 3, 2024
-
Since affected users are already redeploying due to non- deterministic names, we can change the logic entirely to make it cleaner and ensure consistency
Leonardo Gama committedJun 3, 2024 Configuration menu - View commit details
-
Copy full SHA for 40d3444 - Browse repository at this point
Copy the full SHA 40d3444View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5efa09 - Browse repository at this point
Copy the full SHA b5efa09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36322da - Browse repository at this point
Copy the full SHA 36322daView commit details
Commits on Jun 6, 2024
-
Since the affected names are longer than 64 characters anyways, we can simplify all the logic, as the name won't be trimmed if it is shorter than 40 characters anyway.
Leonardo Gama committedJun 6, 2024 Configuration menu - View commit details
-
Copy full SHA for aa8cc03 - Browse repository at this point
Copy the full SHA aa8cc03View commit details -
Merge branch 'fix-cf-fn-name' of https://github.com/Leo10Gama/aws-cdk …
…into fix-cf-fn-name
Leonardo Gama committedJun 6, 2024 Configuration menu - View commit details
-
Copy full SHA for 0518fb3 - Browse repository at this point
Copy the full SHA 0518fb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed15c36 - Browse repository at this point
Copy the full SHA ed15c36View commit details -
Leonardo Gama committed
Jun 6, 2024 Configuration menu - View commit details
-
Copy full SHA for c36cfda - Browse repository at this point
Copy the full SHA c36cfdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c2e8cd - Browse repository at this point
Copy the full SHA 8c2e8cdView commit details -
Leonardo Gama committed
Jun 6, 2024 Configuration menu - View commit details
-
Copy full SHA for c2115bd - Browse repository at this point
Copy the full SHA c2115bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc479b4 - Browse repository at this point
Copy the full SHA bc479b4View commit details -
Leonardo Gama committed
Jun 6, 2024 Configuration menu - View commit details
-
Copy full SHA for 7689682 - Browse repository at this point
Copy the full SHA 7689682View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6982576 - Browse repository at this point
Copy the full SHA 6982576View commit details
Commits on Jun 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c702d21 - Browse repository at this point
Copy the full SHA c702d21View commit details -
Leonardo Gama committed
Jun 10, 2024 Configuration menu - View commit details
-
Copy full SHA for a9bf9a9 - Browse repository at this point
Copy the full SHA a9bf9a9View commit details -
Merge branch 'fix-cf-fn-name' of https://github.com/Leo10Gama/aws-cdk …
…into fix-cf-fn-name
Leonardo Gama committedJun 10, 2024 Configuration menu - View commit details
-
Copy full SHA for fceca36 - Browse repository at this point
Copy the full SHA fceca36View commit details -
Preserve parsing logic from original method
Leonardo Gama committedJun 10, 2024 Configuration menu - View commit details
-
Copy full SHA for 77c2250 - Browse repository at this point
Copy the full SHA 77c2250View commit details -
Leonardo Gama committed
Jun 10, 2024 Configuration menu - View commit details
-
Copy full SHA for 1abccf8 - Browse repository at this point
Copy the full SHA 1abccf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b86e648 - Browse repository at this point
Copy the full SHA b86e648View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2df367f - Browse repository at this point
Copy the full SHA 2df367fView commit details
Commits on Jun 11, 2024
-
Leonardo Gama committed
Jun 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 62873c1 - Browse repository at this point
Copy the full SHA 62873c1View commit details -
Merge branch 'fix-cf-fn-name' of https://github.com/Leo10Gama/aws-cdk …
…into fix-cf-fn-name
Leonardo Gama committedJun 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 36472c1 - Browse repository at this point
Copy the full SHA 36472c1View commit details -
Leonardo Gama committed
Jun 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 34654eb - Browse repository at this point
Copy the full SHA 34654ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 978063e - Browse repository at this point
Copy the full SHA 978063eView commit details -
Leonardo Gama committed
Jun 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 853d862 - Browse repository at this point
Copy the full SHA 853d862View commit details -
feat(lambda): allow running a build file (aws#30196)
### Issue # (if applicable) Closes aws#18470 ### Reason for this change This allows customers to execute an arbitrary build script as part of cdk synth, which will enable customer to use esbuild plugins. The rationale for this decision is given the issue that is linked above. ### Description of changes 1. Expose the code field on the `aws-lambda-nodejs` construct, so that customers can specify code in ways other than bundling, which was the default and abstracted away from customers before this change. 2. Add a new static method on Code, namely `Code.fromCustomCommand`. This method takes in the commands to run an arbitrary script during cdk synthesis that the customer provides. The customer also provides the location of the output from the buildscript. Then this output is supplied to a lambda function. ### Description of how you validated changes manual testing (involving inspecting output in the AWS Lambda console and invoking the function), integration tests, and full unit test coverage of new changes. ### Checklist - [X] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 e4e4a46 - Browse repository at this point
Copy the full SHA e4e4a46View commit details -
docs(s3-deployment): update development section of readme (aws#30253)
…ent README ### Reason for this change The links in the development section of the aws-s3-deployment README are pointing to incorrect locations (files have been moved from those locations), fixed the links. ### Description of changes There are no code changes, only documentation update ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 de8374f - Browse repository at this point
Copy the full SHA de8374fView commit details -
fix(eks): add tag update support for eks cluster (aws#30123)
### Issue # (if applicable) Closes aws#19388 ### Reason for this change Adding tag/untag for eks cluster post its creation ### Description of changes Added API calls tagResource and untagResource in Cluster resource handler to handle tag changes ### Description of how you validated changes Have tested the changes by first deploying a cluster with below config: ```ts const vpc = ec2.Vpc.fromLookup(stack, 'Vpc', { isDefault: true }); new eks.Cluster(stack, 'Cluster', { vpc, ...getClusterVersionConfig(stack, eks.KubernetesVersion.V1_29), defaultCapacity: 0, tags: { foo: 'bar', }, }); ``` TestCase - 1 Update to add one more tag ```ts new eks.Cluster(stack, 'Cluster', { vpc, ...getClusterVersionConfig(stack, eks.KubernetesVersion.V1_29), defaultCapacity: 0, tags: { foo: 'bar', hello: "world" }, }); ``` Logs - ``` { "updates": { "replaceName": false, "replaceVpc": false, "updateAccess": false, "replaceRole": false, "updateVersion": false, "updateEncryption": false, "updateLogging": false, "updateTags": true } } ``` ``` { clientName: 'EKSClient', commandName: 'TagResourceCommand', input: { resourceArn: 'arn:aws:eks:us-east-1:xxxxx:cluster/Cluster9EE0221C-f0d60e8e0bf14fb5896ade518b5bbc15', tags: { hello: 'world' } }, output: {}, metadata: {} } ``` TestCase2 - Add, update and remove at the same time ```ts new eks.Cluster(stack, 'Cluster', { vpc, ...getClusterVersionConfig(stack, eks.KubernetesVersion.V1_29), defaultCapacity: 0, tags: { hello: 'world1', foobar: 'baz', }, endpointAccess: eks.EndpointAccess.PUBLIC, vpcSubnets: [{ subnetType: ec2.SubnetType.PUBLIC }], }); ``` ``` { clientName: 'EKSClient', commandName: 'TagResourceCommand', input: { resourceArn: 'arn:aws:eks:us-east-1:xxxxx:cluster/Cluster9EE0221C-f0d60e8e0bf14fb5896ade518b5bbc15', tags: { foobar: 'baz', hello: 'world1' } }, output: {}, metadata: {} } ``` ``` { clientName: 'EKSClient', commandName: 'UntagResourceCommand', input: { resourceArn: 'arn:aws:eks:us-east-1:xxxxx:cluster/Cluster9EE0221C-f0d60e8e0bf14fb5896ade518b5bbc15', tagKeys: [ 'foo' ] }, output: {}, metadata: {} } ``` TestCase - 3 Remove all tags ```ts new eks.Cluster(stack, 'Cluster', { vpc, ...getClusterVersionConfig(stack, eks.KubernetesVersion.V1_29), defaultCapacity: 0, endpointAccess: eks.EndpointAccess.PUBLIC, vpcSubnets: [{ subnetType: ec2.SubnetType.PUBLIC }], }); ``` ``` { clientName: 'EKSClient', commandName: 'UntagResourceCommand', input: { resourceArn: 'arn:aws:eks:us-east-1:xxxxx:cluster/Cluster9EE0221C-f0d60e8e0bf14fb5896ade518b5bbc15', tagKeys: [ 'foobar', 'hello' ] }, output: {}, metadata: {} ``` ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 9b9bd59 - Browse repository at this point
Copy the full SHA 9b9bd59View commit details -
AWS CDK Team authored and Leonardo Gama committed
Jun 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 608dff7 - Browse repository at this point
Copy the full SHA 608dff7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ed761c - Browse repository at this point
Copy the full SHA 0ed761cView commit details -
chore: update Contributors File (aws#30411)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
Configuration menu - View commit details
-
Copy full SHA for bf3ee65 - Browse repository at this point
Copy the full SHA bf3ee65View commit details -
fix(apigateway): allow overriding authorizer on methods (aws#30415)
### Issue # (if applicable) Closes aws#8827. ### Reason for this change Customers could not override the authorizer defined in the default method configuration if they want to set the authorization type to None. ### Description of changes If the customer set the authorization type to None while creating a new method, we will not use the authorizer value defined in the default configuration and instead we will set it to undefined. ### Description of how you validated changes added unit, and integration test cases. ### Checklist - [X] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 64dc89a - Browse repository at this point
Copy the full SHA 64dc89aView commit details -
chore(deps): bump tj-actions/changed-files from 44.5.1 to 44.5.2 (aws…
…#30435) Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 44.5.1 to 44.5.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tj-actions/changed-files/releases">tj-actions/changed-files's releases</a>.</em></p> <blockquote> <h2>v44.5.2</h2> <h2>What's Changed</h2> <ul> <li>Upgraded to v44.5.1 by <a href="https://github.com/tj-actions-bot"><code>@tj-actions-bot</code></a> in <a href="https://github.com/tj-actions/changed-files/pull/2108">tj-actions/changed-files#2108</a></li> <li>chore(deps): lock file maintenance by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://github.com/tj-actions/changed-files/pull/2109">tj-actions/changed-files#2109</a></li> <li>chore(deps): lock file maintenance by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://github.com/tj-actions/changed-files/pull/2110">tj-actions/changed-files#2110</a></li> <li>chore(deps): update typescript-eslint monorepo to v7.11.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://github.com/tj-actions/changed-files/pull/2111">tj-actions/changed-files#2111</a></li> <li>chore(deps): update dependency ts-jest to v29.1.4 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://github.com/tj-actions/changed-files/pull/2112">tj-actions/changed-files#2112</a></li> <li>chore(deps): update dependency <code>@types/node</code> to v20.12.13 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://github.com/tj-actions/changed-files/pull/2115">tj-actions/changed-files#2115</a></li> <li>fix: warning with fetch_missing_history_max_retries using REST API by <a href="https://github.com/jackton1"><code>@jackton1</code></a> in <a href="https://github.com/tj-actions/changed-files/pull/2114">tj-actions/changed-files#2114</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/tj-actions/changed-files/compare/v44...v44.5.2">https://github.com/tj-actions/changed-files/compare/v44...v44.5.2</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/tj-actions/changed-files/blob/main/HISTORY.md">tj-actions/changed-files's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <h1><a href="https://github.com/tj-actions/changed-files/compare/v44.5.1...v44.5.2">44.5.2</a> - (2024-05-30)</h1> <h2>🐛 Bug Fixes</h2> <ul> <li>Warning with fetch_missing_history_max_retries using REST API (<a href="https://github.com/tj-actions/changed-files/issues/2114">#2114</a>) (<a href="https://github.com/tj-actions/changed-files/commit/d6babd6899969df1a11d14c368283ea4436bca78">d6babd6</a>) - (Tonye Jack)</li> </ul> <h2>⚙️ Miscellaneous Tasks</h2> <ul> <li><strong>deps:</strong> Update dependency <code>@types/node</code> to v20.12.13 (<a href="https://github.com/tj-actions/changed-files/commit/0a79e54e1f77956a7c39c12ebad4e8f62ce0e6fb">0a79e54</a>) - (renovate[bot])</li> <li><strong>deps:</strong> Update dependency ts-jest to v29.1.4 (<a href="https://github.com/tj-actions/changed-files/commit/9d06a2a6a9aaef4e329865c87541e4fb2c36c7b2">9d06a2a</a>) - (renovate[bot])</li> <li><strong>deps:</strong> Update typescript-eslint monorepo to v7.11.0 (<a href="https://github.com/tj-actions/changed-files/commit/7e8e88bd3537fcf190ad772c0a96f30febd0734a">7e8e88b</a>) - (renovate[bot])</li> <li><strong>deps:</strong> Lock file maintenance (<a href="https://github.com/tj-actions/changed-files/commit/b510737b966ce69c576f08abf8206fb222e4d4da">b510737</a>) - (renovate[bot])</li> <li><strong>deps:</strong> Lock file maintenance (<a href="https://github.com/tj-actions/changed-files/commit/2e7097935335571e0182fd95a8b7607d74248c2a">2e70979</a>) - (renovate[bot])</li> </ul> <h2>⬆️ Upgrades</h2> <ul> <li>Upgraded to v44.5.1 (<a href="https://github.com/tj-actions/changed-files/issues/2108">#2108</a>)</li> </ul> <p>Co-authored-by: jackton1 <a href="mailto:17484350+jackton1@users.noreply.github.com">17484350+jackton1@users.noreply.github.com</a> (<a href="https://github.com/tj-actions/changed-files/commit/625929d27d5d9362ce949a0dc367bfbaf4689115">625929d</a>) - (tj-actions[bot])</p> <h1><a href="https://github.com/tj-actions/changed-files/compare/v44.5.0...v44.5.1">44.5.1</a> - (2024-05-24)</h1> <h2>🐛 Bug Fixes</h2> <ul> <li>Bug detecting previous tag when workflow is rerun (<a href="https://github.com/tj-actions/changed-files/issues/2107">#2107</a>) (<a href="https://github.com/tj-actions/changed-files/commit/03334d095e2739fa9ac4034ec16f66d5d01e9eba">03334d0</a>) - (Tonye Jack)</li> <li><strong>deps:</strong> Update dependency micromatch to v4.0.7 (<a href="https://github.com/tj-actions/changed-files/commit/98e187efcdfa77f01efb485b093a97a21d8281cd">98e187e</a>) - (renovate[bot])</li> <li><strong>deps:</strong> Update dependency micromatch to v4.0.6 (<a href="https://github.com/tj-actions/changed-files/commit/bf548e4af2ea13d28cd8b89f84d3ec31f27f66dc">bf548e4</a>) - (renovate[bot])</li> </ul> <h2>➕ Add</h2> <ul> <li>Added missing changes and modified dist assets. (<a href="https://github.com/tj-actions/changed-files/commit/8a0655f075f752a7fcf8fedd1e6b976d8a3d4454">8a0655f</a>) - (GitHub Action)</li> <li>Added missing changes and modified dist assets. (<a href="https://github.com/tj-actions/changed-files/commit/96f65726eae8888afa41617580af5882e4e197f5">96f6572</a>) - (GitHub Action)</li> </ul> <h2>⚙️ Miscellaneous Tasks</h2> <ul> <li><strong>deps:</strong> Update dependency ts-jest to v29.1.3 (<a href="https://github.com/tj-actions/changed-files/commit/d195e6e7c2774fc8d3941acb2e6be1d38077eb47">d195e6e</a>) - (renovate[bot])</li> </ul> <h2>⬆️ Upgrades</h2> <ul> <li>Upgraded to v44.5.0 (<a href="https://github.com/tj-actions/changed-files/issues/2101">#2101</a>)</li> </ul> <p>Co-authored-by: jackton1 <a href="mailto:17484350+jackton1@users.noreply.github.com">17484350+jackton1@users.noreply.github.com</a> Co-authored-by: repo-ranger[bot] (<a href="https://github.com/tj-actions/changed-files/commit/8b07fd3b111677cb50907731b0af597475af6bec">8b07fd3</a>) - (tj-actions[bot])</p> <h1><a href="https://github.com/tj-actions/changed-files/compare/v44.4.0...v44.5.0">44.5.0</a> - (2024-05-21)</h1> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tj-actions/changed-files/commit/d6babd6899969df1a11d14c368283ea4436bca78"><code>d6babd6</code></a> fix: warning with fetch_missing_history_max_retries using REST API (<a href="https://github.com/tj-actions/changed-files/issues/2114">#2114</a>)</li> <li><a href="https://github.com/tj-actions/changed-files/commit/0a79e54e1f77956a7c39c12ebad4e8f62ce0e6fb"><code>0a79e54</code></a> chore(deps): update dependency <code>@types/node</code> to v20.12.13</li> <li><a href="https://github.com/tj-actions/changed-files/commit/9d06a2a6a9aaef4e329865c87541e4fb2c36c7b2"><code>9d06a2a</code></a> chore(deps): update dependency ts-jest to v29.1.4</li> <li><a href="https://github.com/tj-actions/changed-files/commit/7e8e88bd3537fcf190ad772c0a96f30febd0734a"><code>7e8e88b</code></a> chore(deps): update typescript-eslint monorepo to v7.11.0</li> <li><a href="https://github.com/tj-actions/changed-files/commit/b510737b966ce69c576f08abf8206fb222e4d4da"><code>b510737</code></a> chore(deps): lock file maintenance</li> <li><a href="https://github.com/tj-actions/changed-files/commit/2e7097935335571e0182fd95a8b7607d74248c2a"><code>2e70979</code></a> chore(deps): lock file maintenance</li> <li><a href="https://github.com/tj-actions/changed-files/commit/625929d27d5d9362ce949a0dc367bfbaf4689115"><code>625929d</code></a> Upgraded to v44.5.1 (<a href="https://github.com/tj-actions/changed-files/issues/2108">#2108</a>)</li> <li>See full diff in <a href="https://github.com/tj-actions/changed-files/compare/03334d095e2739fa9ac4034ec16f66d5d01e9eba...d6babd6899969df1a11d14c368283ea4436bca78">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tj-actions/changed-files&package-manager=github_actions&previous-version=44.5.1&new-version=44.5.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Configuration menu - View commit details
-
Copy full SHA for 145acb9 - Browse repository at this point
Copy the full SHA 145acb9View commit details -
chore: fix typo in
queue.ts
comment (aws#30416)A small typo fix. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 4860303 - Browse repository at this point
Copy the full SHA 4860303View commit details -
chore: fix typo in application-listener-rule (aws#30427)
Minor typo fixed ---- *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 7e0b198 - Browse repository at this point
Copy the full SHA 7e0b198View commit details -
chore(config): add new resource types since March 2023 (aws#30378)
### Issue # (if applicable) N/A ### Reason for this change Missing Config Resource Type. ### Description of changes I added all resource types that have been added since PR aws#24424 (since March 2023). I have investigated the updates for added Config resource types from the [What's New with AWS?](https://aws.amazon.com/new/?nc1=h_ls&whats-new-content-all.sort-by=item.additionalFields.postDateTime&whats-new-content-all.sort-order=desc&awsf.whats-new-categories=*all&whats-new-content-all.q=AWS%2BConfig%2Bnow%2Bsupports%2Bnew%2Bresource%2Btypes&whats-new-content-all.q_operator=AND&awsm.page-whats-new-content-all=2) * [Posted On: Mar 8, 2023](https://aws.amazon.com/about-aws/whats-new/2023/03/aws-config-18-new-resource-types/) * [Posted On: Apr 3, 2023](https://aws.amazon.com/about-aws/whats-new/2023/04/aws-config-23-new-resource-types/) * [Posted On: May 1, 2023](https://aws.amazon.com/about-aws/whats-new/2023/05/aws-config-new-resource-types/) * [Posted On: Jun 20, 2023](https://aws.amazon.com/about-aws/whats-new/2023/06/aws-config-new-resource-types/) * [Posted On: Jul 6, 2023](https://aws.amazon.com/about-aws/whats-new/2023/07/aws-config-16-new-resource-types/) * [Posted On: Aug 2, 2023](https://aws.amazon.com/about-aws/whats-new/2023/08/aws-config-supports-19-new-resource-types/) * [Posted On: Oct 25, 2023](https://aws.amazon.com/about-aws/whats-new/2023/10/aws-config-supports-19-resource-types/) * [Posted On: Jan 12, 2024](https://aws.amazon.com/about-aws/whats-new/2024/01/aws-config-supports-22-new-resource-types/) I am separating the commits by update date. ### Description of how you validated changes Omit tests sins it's just adding ENUMs ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 325f528 - Browse repository at this point
Copy the full SHA 325f528View commit details -
feat(logs): add distribution property to the Subscription class (aws#…
…30423) ### Issue # (if applicable) Closes aws#30422 ### Reason for this change Missing Property in the Subscription class. ### Description of changes Add destination property to the Subscription class. ### Description of how you validated changes Add unit tests and integ tests. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 995d239 - Browse repository at this point
Copy the full SHA 995d239View commit details -
Since the affected names are longer than 64 characters anyways, we can simplify all the logic, as the name won't be trimmed if it is shorter than 40 characters anyway.
Leonardo Gama committedJun 11, 2024 Configuration menu - View commit details
-
Copy full SHA for f60e209 - Browse repository at this point
Copy the full SHA f60e209View commit details -
feat(chatbot): configure
userRoleRequired
for the `SlackChannelConf……iguration` (aws#30420) ### Issue # (if applicable) Closes aws#30403. ### Reason for this change `chatbot.SlackChannelConfiguration` does not support for configuring `userRoleRequired` prop. ### Description of changes Add `userRoleRequired` to `SlackChannelConfigurationProps` ### Description of how you validated changes Add both unit and integ tests ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 96fdad8 - Browse repository at this point
Copy the full SHA 96fdad8View commit details -
feat(codepipeline):
GitPushFilter
with branches and file paths for ……trigger (aws#29127) ### Issue # (if applicable) Closes aws#29124 Related PR: aws#29128 Perhaps if one merges, the other will cause a conflict. ### Reason for this change We would be good to trigger pipelines by GitPushFilter with branches and file paths. - CFn docs - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitpushfilter.html - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitbranchfiltercriteria.html - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitfilepathfiltercriteria.html ### Description of changes Add props: - branchesExcludes - branchesIncludes - filePathsExcludes - filePathsIncludes ### Description of how you validated changes Both unit and integ tests. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 41cef80 - Browse repository at this point
Copy the full SHA 41cef80View commit details -
fix: route53 CrossAccountZoneDelegationRecord fails at deployment tim…
…e with imported `delegatedZone` (aws#30440) ### Issue # (if applicable) Closes aws#28581. ### Reason for this change An imported `delegatedZone` will not have info about the Name Servers. When it is passed to `CrossAccountZoneDelegationRecord`, the handler will see `undefined` when trying to retrieve the Name Servers info on `delegatedZone`, then throw exception during deployment. This change throws the exception at build time for a faster feedback loop. ### Description of changes `CrossAccountZoneDelegationRecord` throws exception if `delegatedZone.hostedZoneNameServers` is undefined. ### Description of how you validated changes Add unit test to cover the case of passing an imported HostedZone to `CrossAccountZoneDelegationRecord` ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 ca97889 - Browse repository at this point
Copy the full SHA ca97889View commit details -
chore: update nodejs to 20 in devcontainer and gitpod (aws#30424)
### Reason for this change The contribution guide recommend the active node LTS: https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md#getting-started ### Description of changes Update node 18 to 20 in devcontainer and gitpod and also the os version to bookworm ### Description of how you validated changes opened devcontainer and gitpod, checkd the node version and run command `npx lerna run build --scope=aws-cdk-lib --scope=@aws-cdk-testing/framework-integ --skip-nx-cache` ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- refs: - aws#25381 - aws#25426 *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 d2d7990 - Browse repository at this point
Copy the full SHA d2d7990View commit details -
feat(codebuild):
Fleet
L2 (aws#29754)### Issue # (if applicable) Closes aws#29617. ### Reason for this change Implementation of reserved capacity CodeBuild projects ### Description of changes * Add Fleet Construct * Add `EnvironmentType` enum * Refactor existing type strings to use the new enum * Validate that Windows 2022 build images can only be used in fleet projects Changes merged from aws#29616: * Added missing build images * Updated JSDoc comments to indicate AL2023 based images, see [docs](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html) * It might be a good idea to deprecate and rename `AMAZON_LINUX_2_STANDARD_3_0` to `AMAZON_LINUX_2023_STANDARD_3_0`, despite how the images are named. I'll leave it up to the maintainers * Added `{@link}` tags where missing ### Description of how you validated changes Unit and integ tests The images were retrieved using the [codebuild:ListCuratedEnvironmentImages](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListCuratedEnvironmentImages.html) API command, and comparing it to the CDK. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 b8b5e9d - Browse repository at this point
Copy the full SHA b8b5e9dView commit details -
chore(dynamodb): remove single quotes from throw statement in the par…
…seEncryption method (aws#30417) Removed the single quotes around the error message string to allow proper interpolation of the ${encryptionType} variable. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 f8aeea7 - Browse repository at this point
Copy the full SHA f8aeea7View commit details -
chore(cdk): update the fact tables and tests for lambda layers v0.98.0 (
aws#30448) Update ADOT Lambda Layer ARNs for recent release aws-observability/aws-otel-lambda#922 includes the PR changes - aws#30263 ---- *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 fa55230 - Browse repository at this point
Copy the full SHA fa55230View commit details -
feat: update L1 CloudFormation resource definitions (aws#30438)
Updates the L1 CloudFormation resource definitions with the latest changes from `@aws-cdk/aws-service-spec` **L1 CloudFormation resource definition changes:** ``` ├[~] service aws-autoscaling │ └ resources │ └[~] resource AWS::AutoScaling::AutoScalingGroup │ └ properties │ └ NotificationConfiguration: (documentation changed) ├[~] service aws-ec2 │ └ resources │ └[~] resource AWS::EC2::CustomerGateway │ └ properties │ └[+] BgpAsnExtended: number (immutable) ├[~] service aws-eks │ └ resources │ └[~] resource AWS::EKS::Addon │ ├ properties │ │ └[+] PodIdentityAssociations: Array<PodIdentityAssociation> │ └ types │ └[+] type PodIdentityAssociation │ ├ documentation: A pod identity to associate with an add-on. │ │ name: PodIdentityAssociation │ └ properties │ ├ServiceAccount: string (required) │ └RoleArn: string (required) ├[~] service aws-mediaconnect │ └ resources │ └[~] resource AWS::MediaConnect::Flow │ └ types │ └[~] type Source │ └ properties │ ├ MaxLatency: - integer (default=2000) │ │ + integer │ └ MinLatency: - integer (default=2000) │ + integer ├[~] service aws-mediapackagev2 │ └ resources │ └[~] resource AWS::MediaPackageV2::OriginEndpoint │ ├ properties │ │ └[+] DashManifests: Array<DashManifestConfiguration> │ └ types │ ├[+] type DashManifestConfiguration │ │ ├ documentation: <p>Retrieve the DASH manifest configuration.</p> │ │ │ name: DashManifestConfiguration │ │ └ properties │ │ ├ManifestName: string (required) │ │ ├ManifestWindowSeconds: integer │ │ ├FilterConfiguration: FilterConfiguration │ │ ├MinUpdatePeriodSeconds: integer │ │ ├MinBufferTimeSeconds: integer │ │ ├SuggestedPresentationDelaySeconds: integer │ │ ├SegmentTemplateFormat: string │ │ ├PeriodTriggers: Array<string> │ │ ├ScteDash: ScteDash │ │ ├DrmSignaling: string │ │ └UtcTiming: DashUtcTiming │ ├[+] type DashUtcTiming │ │ ├ documentation: <p>Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).</p> │ │ │ name: DashUtcTiming │ │ └ properties │ │ ├TimingMode: string │ │ └TimingSource: string │ └[+] type ScteDash │ ├ documentation: <p>The SCTE configuration.</p> │ │ name: ScteDash │ └ properties │ └AdMarkerDash: string ├[~] service aws-securityhub │ └ resources │ ├[+] resource AWS::SecurityHub::ConfigurationPolicy │ │ ├ name: ConfigurationPolicy │ │ │ cloudFormationType: AWS::SecurityHub::ConfigurationPolicy │ │ │ documentation: The AWS::SecurityHub::ConfigurationPolicy resource represents the Central Configuration Policy in your account. │ │ │ tagInformation: {"tagPropertyName":"Tags","variant":"map"} │ │ ├ properties │ │ │ ├Name: string (required) │ │ │ ├Description: string │ │ │ ├ConfigurationPolicy: Policy (required) │ │ │ └Tags: Map<string, string> │ │ ├ attributes │ │ │ ├Arn: string │ │ │ ├Id: string │ │ │ ├CreatedAt: string │ │ │ ├UpdatedAt: string │ │ │ └ServiceEnabled: boolean │ │ └ types │ │ ├type Policy │ │ │├ documentation: An object that defines how Security Hub is configured. │ │ ││ name: Policy │ │ │└ properties │ │ │ └SecurityHub: SecurityHubPolicy │ │ ├type SecurityHubPolicy │ │ │├ documentation: An object that defines how AWS Security Hub is configured. │ │ ││ name: SecurityHubPolicy │ │ │└ properties │ │ │ ├EnabledStandardIdentifiers: Array<string> │ │ │ ├ServiceEnabled: boolean │ │ │ └SecurityControlsConfiguration: SecurityControlsConfiguration │ │ ├type SecurityControlsConfiguration │ │ │├ documentation: An object that defines which security controls are enabled in an AWS Security Hub configuration policy. │ │ ││ name: SecurityControlsConfiguration │ │ │└ properties │ │ │ ├DisabledSecurityControlIdentifiers: Array<string> │ │ │ ├EnabledSecurityControlIdentifiers: Array<string> │ │ │ └SecurityControlCustomParameters: Array<SecurityControlCustomParameter> │ │ ├type SecurityControlCustomParameter │ │ │├ documentation: An object of security control and control parameter value that are included in a configuration policy. │ │ ││ name: SecurityControlCustomParameter │ │ │└ properties │ │ │ ├Parameters: Map<string, ParameterConfiguration> │ │ │ └SecurityControlId: string │ │ ├type ParameterConfiguration │ │ │├ documentation: An object that provides the current value of a security control parameter and identifies whether it has been customized. │ │ ││ name: ParameterConfiguration │ │ │└ properties │ │ │ ├ValueType: string (required) │ │ │ └Value: ParameterValue │ │ └type ParameterValue │ │ ├ documentation: An object that includes the data type of a security control parameter and its current value. │ │ │ name: ParameterValue │ │ └ properties │ │ ├Boolean: boolean │ │ ├Double: number │ │ ├Enum: string │ │ ├EnumList: Array<string> │ │ ├Integer: integer │ │ ├IntegerList: Array<integer> │ │ ├String: string │ │ └StringList: Array<string> │ ├[+] resource AWS::SecurityHub::FindingAggregator │ │ ├ name: FindingAggregator │ │ │ cloudFormationType: AWS::SecurityHub::FindingAggregator │ │ │ documentation: The AWS::SecurityHub::FindingAggregator resource represents the AWS Security Hub Finding Aggregator in your account. One finding aggregator resource is created for each account in non opt-in region in which you configure region linking mode. │ │ ├ properties │ │ │ ├RegionLinkingMode: string (required) │ │ │ └Regions: Array<string> │ │ └ attributes │ │ ├FindingAggregatorArn: string │ │ └FindingAggregationRegion: string │ ├[+] resource AWS::SecurityHub::OrganizationConfiguration │ │ ├ name: OrganizationConfiguration │ │ │ cloudFormationType: AWS::SecurityHub::OrganizationConfiguration │ │ │ documentation: The AWS::SecurityHub::OrganizationConfiguration resource represents the configuration of your organization in Security Hub. Only the Security Hub administrator account can create Organization Configuration resource in each region and can opt-in to Central Configuration only in the aggregation region of FindingAggregator. │ │ ├ properties │ │ │ ├AutoEnable: boolean (required) │ │ │ ├AutoEnableStandards: string │ │ │ └ConfigurationType: string │ │ └ attributes │ │ ├OrganizationConfigurationIdentifier: string │ │ ├Status: string │ │ ├StatusMessage: string │ │ └MemberAccountLimitReached: boolean │ └[+] resource AWS::SecurityHub::PolicyAssociation │ ├ name: PolicyAssociation │ │ cloudFormationType: AWS::SecurityHub::PolicyAssociation │ │ documentation: The AWS::SecurityHub::PolicyAssociation resource represents the AWS Security Hub Central Configuration Policy associations in your Target. Only the AWS Security Hub delegated administrator can create the resouce from the home region. │ ├ properties │ │ ├ConfigurationPolicyId: string (required) │ │ ├TargetId: string (required, immutable) │ │ └TargetType: string (required, immutable) │ └ attributes │ ├AssociationStatus: string │ ├AssociationType: string │ ├AssociationStatusMessage: string │ ├UpdatedAt: string │ └AssociationIdentifier: string └[~] service aws-securitylake └ resources ├[~] resource AWS::SecurityLake::Subscriber │ ├ properties │ │ └[-] Sources: Array<Source> (required) │ └ types │ ├[-] type AwsLogSource │ │ ├ documentation: Adds a natively supported AWS service as an Amazon Security Lake source. Enables source types for member accounts in required AWS Regions, based on the parameters you specify. You can choose any source type in any Region for either accounts that are part of a trusted organization or standalone accounts. Once you add an AWS service as a source, Security Lake starts collecting logs and events from it. │ │ │ name: AwsLogSource │ │ └ properties │ │ ├SourceName: string │ │ └SourceVersion: string │ ├[-] type CustomLogSource │ │ ├ documentation: Third-party custom log source that meets the requirements to be added to Amazon Security Lake . For more details, see [Custom log source](https://docs.aws.amazon.com//security-lake/latest/userguide/custom-sources.html#iam-roles-custom-sources) in the *Amazon Security Lake User Guide* . │ │ │ name: CustomLogSource │ │ └ properties │ │ ├SourceName: string │ │ └SourceVersion: string │ └[-] type Source │ ├ documentation: Sources are logs and events generated from a single system that match a specific event class in the Open Cybersecurity Schema Framework (OCSF) schema. Amazon Security Lake can collect logs and events from a variety of sources, including natively supported AWS services and third-party custom sources. │ │ name: Source │ └ properties │ ├AwsLogSource: AwsLogSource │ └CustomLogSource: CustomLogSource └[+] resource AWS::SecurityLake::SubscriberNotification ├ name: SubscriberNotification │ cloudFormationType: AWS::SecurityLake::SubscriberNotification │ documentation: Resource Type definition for AWS::SecurityLake::SubscriberNotification ├ properties │ └SubscriberArn: string (required, immutable) └ attributes └SubscriberEndpoint: string ```
Configuration menu - View commit details
-
Copy full SHA for 411e78b - Browse repository at this point
Copy the full SHA 411e78bView commit details -
chore(roadmap): update to readme to point to correct location of road…
…map (aws#30460) ### Issue # (if applicable) N/A ### Reason for this change The README.md currently points to a roadmap that is no longer in use. ### Description of changes Removing old roadmap reference and pointing to the proper roadmap location. ### Checklist - [ x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 013cf02 - Browse repository at this point
Copy the full SHA 013cf02View commit details -
fix(custom-resources):
logApiResponseData
is added to custom resour……ce event properties by default (aws#30418) Closes aws#30121, aws#29949 ### Reason for this change PR aws#29648 introduced a new resource property `logApiResponseData`. This resource property is `true` by default which forces an update for `AwsCustomResource`. For users without `onUpdate` configured an empty data object is returned if no SDK call is configured. This can cause an attribute error if the user is depending on a data from a specific SDK call. ### Description of changes Made `logApiResponseData` undefined by default which will not trigger `onUpdate`. To maintain backwards compatibility with the original PR introducing `logApiResponseData` as true by default, I've also introduced a feature flag that will allow users to keep the current behavior so they aren't now forced into another `onUpdate` event. ### Description of how you validated changes Updated unit tests where `logApiResponseData` was added as a resource property. Added new unit test to verify that `logApiResponseData` could be added to the event. Updated unit tests that test `_render()` to ensure that the default case will result in an empty object. Updated integ tests. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 0b91e02 - Browse repository at this point
Copy the full SHA 0b91e02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22e6fa4 - Browse repository at this point
Copy the full SHA 22e6fa4View commit details -
feat(eks): support for Kubernetes version 1.30 (aws#30454)
### Issue # (if applicable) - Similar to aws#29040, this PR adds 1.30 support. - Update all existing integ tests for `V1_29` and make sure they deploy with `V1_30`. DependOn: - [x] cdklabs/awscdk-asset-kubectl#838 - [x] cdklabs/awscdk-asset-kubectl#860 Closes aws#30443 ### Reason for this change ### Description of changes ### Description of how you validated changes ```ts export class EksClusterLatestVersion extends Stack { constructor(scope: Construct, id: string, props: StackProps) { super(scope, id, props); const vpc = new ec2.Vpc(this, 'Vpc', { natGateways: 1 }); const mastersRole = new iam.Role(this, 'Role', { assumedBy: new iam.AccountRootPrincipal(), }); // create eks.Cluster of the latest k8s version new eks.Cluster(this, 'Cluster', { vpc, mastersRole, version: eks.KubernetesVersion.V1_30, kubectlLayer: new KubectlV30Layer(this, 'KubectlLayer'), defaultCapacity: 1, }); } } ``` $ kubectl get no NAME STATUS ROLES AGE VERSION ip-172-31-3-166.ec2.internal Ready <none> 5m38s v1.30.0-eks-036c24b ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 3b193c1 - Browse repository at this point
Copy the full SHA 3b193c1View commit details -
Leonardo Gama committed
Jun 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 6e8d9ea - Browse repository at this point
Copy the full SHA 6e8d9eaView commit details -
chore(apigatewayv2): add apigatewayv2 integrations and authorizers to…
… jsiirc (aws#30461) ### Issue # (if applicable) Closes aws#28348 ### Reason for this change When we promote apigatewayv2 from experimental to stable module, we did not add `jsiirc.json` file, thus no documentation is created and the namespace for import is incorrect. ### Description of changes We cannot fix the namespace now as this is stable modules and there're customers using it. Fixing this would be a breaking change to users who use apigatewayv2 in `aws-cdk-lib`. ### Description of how you validated changes N/A ### Checklist - [ ] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 656886c - Browse repository at this point
Copy the full SHA 656886cView commit details -
Leonardo Gama committed
Jun 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 7f10d27 - Browse repository at this point
Copy the full SHA 7f10d27View commit details -
chore(events): rule cannot have more than 5 targets (aws#30470)
### Issue # (if applicable) Closes #<issue number here>. ### Reason for this change This is a minor refactor for preventing an Event Rule to have at most 5 associated targets defined during a synth. This is the main limit set by EventBridge https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-quota.html#eb-limits ### Description of changes This is a very simple change in `aws-events` module to check if the `targets` array length of an `Event` is greater than 5. If it is then it throws an Error during build time. ### Description of how you validated changes Added a unit test by in `rule.test.ts` by verifying an Error is being thrown when a Rule has more than 5 associated targets. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 405ff95 - Browse repository at this point
Copy the full SHA 405ff95View commit details -
chore(lambda): match enum value to property (aws#30472)
Looks like we are comparing `LogFormat` to the `LoggingFormat` enum. This is not technically a problem for us because `LogFormat` is a string. We deprecated it and created `LoggingFormat` to enforce the enum. This conditional works because all the enums collapse to strings, but it is best if we sync up the properties with their correct enums. ---- *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 85a30e4 - Browse repository at this point
Copy the full SHA 85a30e4View commit details -
feat(config): proactive evaluation mode (aws#30174)
### Issue # (if applicable) Closes aws#30172. ### Reason for this change AWS Config supports for proactive evaluation mode but L2 construct cannot configure it. ### Description of changes - Define `EvaluationMode` class - Add `evaluationModes` prop to `RuleProps` ```ts new config.ManagedRule(stack, 'ManagedRule', { identifier: config.ManagedRuleIdentifiers.API_GW_XRAY_ENABLED, evaluationModes: config.EvaluationMode.DETECTIVE_AND_PROACTIVE, // add }); ``` ### Description of how you validated changes Add both unit and integ tests. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 1ee9a97 - Browse repository at this point
Copy the full SHA 1ee9a97View commit details -
Leonardo Gama committed
Jun 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 0b5f603 - Browse repository at this point
Copy the full SHA 0b5f603View commit details -
chore(stepfunction-tasks): eventbridge aws. event source prefix check…
… is more strict than it should be (aws#30237) 1. fix the event source validation 2. move the validation from renderEntries() to validateEntries() 3. add unit tests ### Issue # (if applicable) Closes aws#30191 ### Reason for this change ### Description of changes ### Description of how you validated changes ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 862bf36 - Browse repository at this point
Copy the full SHA 862bf36View commit details -
AWS CDK Team authored and Leonardo Gama committed
Jun 11, 2024 Configuration menu - View commit details
-
Copy full SHA for cf2550a - Browse repository at this point
Copy the full SHA cf2550aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69a9343 - Browse repository at this point
Copy the full SHA 69a9343View commit details -
chore(rds): add support for 8.0.mysql_aurora.3.07.0 (aws#30479)
### Reason for this change Add support for newly supported `8.0.mysql_aurora.3.07.0`. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraMySQLReleaseNotes/AuroraMySQL.Updates.3070.html ### Description of changes Add a new version as a new property to `AuroraMysqlEngineVersion` class. ### Description of how you validated changes I used the AWS CLI to verify that the new version is available. ```bash aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[?EngineVersion=='8.0.mysql_aurora.3.07.0']" [ { "Engine": "aurora-mysql", "EngineVersion": "8.0.mysql_aurora.3.07.0", "DBParameterGroupFamily": "aurora-mysql8.0", "DBEngineDescription": "Aurora MySQL", "DBEngineVersionDescription": "Aurora MySQL 3.07.0 (compatible with MySQL 8.0.36)", "ValidUpgradeTarget": [], "ExportableLogTypes": [ "audit", "error", "general", "slowquery" ], "SupportsLogExportsToCloudwatchLogs": true, "SupportsReadReplica": false, "SupportedEngineModes": [ "provisioned" ], "SupportedFeatureNames": [ "Bedrock" ], "Status": "available", "SupportsParallelQuery": true, "SupportsGlobalDatabases": true, "MajorEngineVersion": "8.0", "SupportsBabelfish": false, "SupportsLimitlessDatabase": false, "SupportsCertificateRotationWithoutRestart": true, "SupportedCACertificateIdentifiers": [ "rds-ca-2019", "rds-ca-ecc384-g1", "rds-ca-rsa4096-g1", "rds-ca-rsa2048-g1" ], "SupportsLocalWriteForwarding": true, "SupportsIntegrations": true } ] ``` Hopefully this will be automated in the future. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 745f7b0 - Browse repository at this point
Copy the full SHA 745f7b0View commit details -
Preserve parsing logic from original method
Leonardo Gama committedJun 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 8d9a9c0 - Browse repository at this point
Copy the full SHA 8d9a9c0View commit details -
Leonardo Gama committed
Jun 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 509b897 - Browse repository at this point
Copy the full SHA 509b897View commit details -
feat: update L1 CloudFormation resource definitions (aws#30508)
Updates the L1 CloudFormation resource definitions with the latest changes from `@aws-cdk/aws-service-spec` **L1 CloudFormation resource definition changes:** ``` ├[~] service aws-autoscaling │ └ resources │ └[~] resource AWS::AutoScaling::ScalingPolicy │ └ types │ ├[~] type CustomizedMetricSpecification │ │ └ properties │ │ ├ MetricName: - string (required) │ │ │ + string │ │ ├[+] Metrics: Array<TargetTrackingMetricDataQuery> │ │ ├ Namespace: - string (required) │ │ │ + string │ │ └ Statistic: - string (required) │ │ + string │ ├[+] type TargetTrackingMetricDataQuery │ │ ├ name: TargetTrackingMetricDataQuery │ │ └ properties │ │ ├Label: string │ │ ├MetricStat: TargetTrackingMetricStat │ │ ├Id: string (required) │ │ ├ReturnData: boolean │ │ └Expression: string │ └[+] type TargetTrackingMetricStat │ ├ name: TargetTrackingMetricStat │ └ properties │ ├Metric: Metric (required) │ ├Stat: string (required) │ └Unit: string ├[~] service aws-connect │ └ resources │ └[~] resource AWS::Connect::Rule │ └ types │ ├[~] type Actions │ │ └ properties │ │ └[+] SubmitAutoEvaluationActions: Array<SubmitAutoEvaluationAction> │ └[+] type SubmitAutoEvaluationAction │ ├ documentation: The definition of submit auto evaluation action. │ │ name: SubmitAutoEvaluationAction │ └ properties │ └EvaluationFormArn: string (required) ├[~] service aws-ec2 │ └ resources │ └[~] resource AWS::EC2::TransitGatewayRoute ├[~] service aws-ecs │ └ resources │ └[~] resource AWS::ECS::Cluster │ └ types │ ├[~] type ClusterConfiguration │ │ └ properties │ │ └[+] ManagedStorageConfiguration: ManagedStorageConfiguration │ └[+] type ManagedStorageConfiguration │ ├ name: ManagedStorageConfiguration │ └ properties │ ├FargateEphemeralStorageKmsKeyId: string │ └KmsKeyId: string ├[~] service aws-pipes │ └ resources │ └[~] resource AWS::Pipes::Pipe │ └ types │ ├[+] type DimensionMapping │ │ ├ name: DimensionMapping │ │ └ properties │ │ ├DimensionValue: string (required) │ │ ├DimensionValueType: string (required) │ │ └DimensionName: string (required) │ ├[+] type MultiMeasureAttributeMapping │ │ ├ name: MultiMeasureAttributeMapping │ │ └ properties │ │ ├MeasureValue: string (required) │ │ ├MeasureValueType: string (required) │ │ └MultiMeasureAttributeName: string (required) │ ├[+] type MultiMeasureMapping │ │ ├ name: MultiMeasureMapping │ │ └ properties │ │ ├MultiMeasureName: string (required) │ │ └MultiMeasureAttributeMappings: Array<MultiMeasureAttributeMapping> (required) │ ├[~] type PipeTargetParameters │ │ └ properties │ │ └[+] TimestreamParameters: PipeTargetTimestreamParameters │ ├[+] type PipeTargetTimestreamParameters │ │ ├ name: PipeTargetTimestreamParameters │ │ └ properties │ │ ├TimeValue: string (required) │ │ ├EpochTimeUnit: string │ │ ├TimeFieldType: string │ │ ├TimestampFormat: string │ │ ├VersionValue: string (required) │ │ ├DimensionMappings: Array<DimensionMapping> (required) │ │ ├SingleMeasureMappings: Array<SingleMeasureMapping> │ │ └MultiMeasureMappings: Array<MultiMeasureMapping> │ └[+] type SingleMeasureMapping │ ├ name: SingleMeasureMapping │ └ properties │ ├MeasureValue: string (required) │ ├MeasureValueType: string (required) │ └MeasureName: string (required) ├[~] service aws-rolesanywhere │ └ resources │ └[~] resource AWS::RolesAnywhere::Profile │ ├ properties │ │ └[+] AttributeMappings: Array<AttributeMapping> │ └ types │ ├[+] type AttributeMapping │ │ ├ name: AttributeMapping │ │ └ properties │ │ ├MappingRules: Array<MappingRule> (required) │ │ └CertificateField: string (required) │ └[+] type MappingRule │ ├ name: MappingRule │ └ properties │ └Specifier: string (required) └[~] service aws-securitylake └ resources └[~] resource AWS::SecurityLake::DataLake └ properties └ MetaStoreManagerRoleArn: - string (immutable) + string ```
Configuration menu - View commit details
-
Copy full SHA for 76a5c3e - Browse repository at this point
Copy the full SHA 76a5c3eView commit details -
Leonardo Gama committed
Jun 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 21f7935 - Browse repository at this point
Copy the full SHA 21f7935View commit details -
feat(sns): add grantSubscribe method (aws#30486)
### Issue # (if applicable) Closes aws#29049. ### Reason for this change Allow the Topic construct to expose a method to grant subscription permissions to a grantable resource. It's useful when you want to allow entities, such as another AWS account or resources created later, to subscribe to the topic at their own pace, separating permission granting from the actual subscription process. ### Description of changes Add grantSubscribe method to ITopic interface and TopicBase class. ### Description of how you validated changes Add unit tests and integ tests. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 22acad3 - Browse repository at this point
Copy the full SHA 22acad3View commit details -
chore(rds): add support for postgres 15.6 aurora engine (aws#30167)
### Issue # (if applicable) N/A ### Reason for this change Cluster can be upgraded/created to Postgres 15.6 via the console/CLI but not CDK. ### Description of changes Adds support for Postgres 15.6 Aurora cluster, 15.5 instances are already supported. ### Description of how you validated changes N/A ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 a6f0c7f - Browse repository at this point
Copy the full SHA a6f0c7fView commit details -
Leonardo Gama committed
Jun 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 8bda505 - Browse repository at this point
Copy the full SHA 8bda505View commit details -
feat(apprunner): add ipAddressType property to the Service class (aws…
…#30351) ### Issue # (if applicable) N/A ### Reason for this change AppRunner supported Dual Stack. https://aws.amazon.com/about-aws/whats-new/2023/11/aws-app-runner-supports-ipv6-public-inbound-traffic/?nc1=h_ls But current L2 Construct (alpha module) does not support it. ### Description of changes Add ipAddressType property to the Service class ### Description of how you validated changes Add unit tests and integ tests. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.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 2d4e64e - Browse repository at this point
Copy the full SHA 2d4e64eView commit details -
Leonardo Gama committed
Jun 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 1c0aa3e - Browse repository at this point
Copy the full SHA 1c0aa3eView commit details -
Merge branch 'fix-cf-fn-name' of https://github.com/Leo10Gama/aws-cdk …
…into fix-cf-fn-name
Leonardo Gama committedJun 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 88b5243 - Browse repository at this point
Copy the full SHA 88b5243View commit details -
Leonardo Gama committed
Jun 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 35acca0 - Browse repository at this point
Copy the full SHA 35acca0View commit details -
Leonardo Gama committed
Jun 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 225d2c4 - Browse repository at this point
Copy the full SHA 225d2c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 724640d - Browse repository at this point
Copy the full SHA 724640dView commit details