Skip to content

Commit a78b78f

Browse files
committed
Merge remote-tracking branch 'origin/main' into huijbers/split-lib-files
2 parents 660ffb1 + 02dd1cf commit a78b78f

File tree

143 files changed

+8823
-615
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+8823
-615
lines changed

.github/workflows/security-guardian.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- name: Checkout
2020
uses: actions/checkout@v6
2121
with:
22+
ref: ${{ github.event.pull_request.head.sha }}
2223
fetch-depth: 0
2324

2425
- name: Install cfn-guard
@@ -34,10 +35,21 @@ jobs:
3435
run: yarn install --frozen-lockfile && cd tools/@aws-cdk/security-guardian && yarn build
3536

3637
- name: Run Security Guardian
38+
id: security-guardian
3739
uses: ./tools/@aws-cdk/security-guardian
3840
with:
3941
base_sha: ${{ github.event.pull_request.base.sha }}
4042
head_sha: ${{ github.event.pull_request.head.sha }}
4143
rule_set_path: './tools/@aws-cdk/security-guardian/rules'
42-
show_summary: 'fail'
43-
output_format: 'json'
44+
- name: Save PR info for security-report
45+
if: always()
46+
run: |
47+
echo "${{ github.event.pull_request.number }}" > ./test-results/pr_number
48+
echo "${{ github.event.pull_request.head.sha }}" > ./test-results/pr_sha
49+
50+
- name: Upload Security Guardian XML Reports
51+
uses: actions/upload-artifact@v5
52+
if: always()
53+
with:
54+
name: security-guardian-reports
55+
path: test-results/
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: Security Report
2+
on:
3+
workflow_run:
4+
workflows: ["Security Guardian"]
5+
types: [completed]
6+
7+
jobs:
8+
report:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
checks: write
12+
pull-requests: write
13+
actions: read
14+
steps:
15+
- name: Download artifacts
16+
uses: actions/download-artifact@v6
17+
with:
18+
name: security-guardian-reports
19+
path: test-results/
20+
github-token: ${{ secrets.GITHUB_TOKEN }}
21+
run-id: ${{ github.event.workflow_run.id }}
22+
repository: ${{ github.repository }}
23+
24+
- name: Get PR info
25+
id: pr_info
26+
run: |
27+
echo "pr_number=$(cat test-results/pr_number)" >> "$GITHUB_OUTPUT"
28+
echo "pr_sha=$(cat test-results/pr_sha)" >> "$GITHUB_OUTPUT"
29+
echo "PR: $(cat test-results/pr_number), SHA: $(cat test-results/pr_sha)"
30+
- name: Publish Security Test Results
31+
uses: mikepenz/action-junit-report@v6
32+
if: always()
33+
with:
34+
report_paths: 'test-results/**/cfn-guard-static.xml'
35+
check_name: 'Security Guardian Results'
36+
exclude_sources: 'node_modules,dist'
37+
commit: ${{ steps.pr_info.outputs.pr_sha }}
38+
check_annotations: true
39+
comment: true
40+
pr_id: ${{ steps.pr_info.outputs.pr_number }}
41+
detailed_summary: true
42+
include_passed: false
43+
fail_on_failure: false
44+
group_suite: true
45+
include_skipped: false
46+
check_title_template: '{{TEST_NAME}}'
47+
include_empty_in_summary: false
48+
49+
- name: Publish Security Test Results for resolved templates
50+
uses: mikepenz/action-junit-report@v6
51+
if: always()
52+
with:
53+
report_paths: 'test-results/**/cfn-guard-resolved.xml'
54+
check_name: 'Security Guardian Results with resolved templates'
55+
exclude_sources: 'node_modules,dist'
56+
commit: ${{ steps.pr_info.outputs.pr_sha }}
57+
check_annotations: true
58+
comment: true
59+
pr_id: ${{ steps.pr_info.outputs.pr_number }}
60+
detailed_summary: true
61+
include_passed: false
62+
fail_on_failure: false
63+
group_suite: true
64+
include_skipped: false
65+
check_title_template: '{{TEST_NAME}}'
66+
include_empty_in_summary: false

.github/workflows/spec-update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ jobs:
5858
# Build @aws-cdk/spec2cdk and run L1 gen script to generate base files for new modules
5959
- name: Build @aws-cdk/spec2cdk
6060
run: lerna run build --stream --no-progress --skip-nx-cache --scope @aws-cdk/spec2cdk
61-
- name: Generate L1s
62-
working-directory: packages/aws-cdk-lib
61+
- name: Generate code
6362
run: yarn gen
63+
run: lerna run gen --stream --no-progress --skip-nx-cache --scope aws-cdk-lib --scope @aws-cdk/mixins-preview
6464

6565
# Next, create and upload the changes as a patch file. This will later be downloaded to create a pull request
6666
# Creating a pull request requires write permissions and it's best to keep write privileges isolated.

CHANGELOG.v2.alpha.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.232.1-alpha.0](https://github.com/aws/aws-cdk/compare/v2.232.0-alpha.0...v2.232.1-alpha.0) (2025-12-05)
6+
7+
## [2.232.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.231.0-alpha.0...v2.232.0-alpha.0) (2025-12-04)
8+
9+
10+
### Bug Fixes
11+
12+
* **bedrock-agentcore-alpha:** use static construct ID for asset-based runtime artifacts ([#36241](https://github.com/aws/aws-cdk/issues/36241)) ([e2bdddd](https://github.com/aws/aws-cdk/commit/e2bdddd82f3e04f1cb2aebb187c580563bae453f)), closes [#35968](https://github.com/aws/aws-cdk/issues/35968)
13+
* **mixins-preview:** service exports are different then in `aws-cdk-lib` ([#36201](https://github.com/aws/aws-cdk/issues/36201)) ([5858006](https://github.com/aws/aws-cdk/commit/585800660b65a3a87d2b358054c7b5e162faabcf)), closes [#36210](https://github.com/aws/aws-cdk/issues/36210)
14+
* **mixins-preview:** strongly-typed ConstructSelector interface ([#36266](https://github.com/aws/aws-cdk/issues/36266)) ([1d2f473](https://github.com/aws/aws-cdk/commit/1d2f4730cc4358d35198980957e4fc01a21e9daf))
15+
516
## [2.231.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.230.0-alpha.0...v2.231.0-alpha.0) (2025-12-01)
617

718

CHANGELOG.v2.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.232.1](https://github.com/aws/aws-cdk/compare/v2.232.0...v2.232.1) (2025-12-05)
6+
7+
8+
### Bug Fixes
9+
10+
* **core:** TypeScript properties missing for types which extend internal interfaces ([#36313](https://github.com/aws/aws-cdk/issues/36313)) ([3e7e17c](https://github.com/aws/aws-cdk/commit/3e7e17c0def24567610a541e39195596f5d83387)), closes [#36310](https://github.com/aws/aws-cdk/issues/36310)
11+
12+
## [2.232.0](https://github.com/aws/aws-cdk/compare/v2.231.0...v2.232.0) (2025-12-04)
13+
14+
15+
### Features
16+
17+
* update L1 CloudFormation resource definitions ([#36299](https://github.com/aws/aws-cdk/issues/36299)) ([0945692](https://github.com/aws/aws-cdk/commit/0945692b91b01b6a8c69e844cffe7629cc52695a))
18+
* **bedrock-agentcore:** add fromImageUri method to AgentRuntimeArtifact ([#36263](https://github.com/aws/aws-cdk/issues/36263)) ([ad25aba](https://github.com/aws/aws-cdk/commit/ad25aba9785c6801085525da4d6adcc8c3204a70))
19+
* **lambda:** add support for durable functions ([#36282](https://github.com/aws/aws-cdk/issues/36282)) ([599a1d3](https://github.com/aws/aws-cdk/commit/599a1d3b26a1a9edf22f1cde41da323e560145fb))
20+
* update L1 CloudFormation resource definitions ([#36277](https://github.com/aws/aws-cdk/issues/36277)) ([c4fa99b](https://github.com/aws/aws-cdk/commit/c4fa99b9149b512494c9ae94b8d4aebba4436eb0))
21+
22+
23+
### Bug Fixes
24+
25+
* **core:** temp cleanup does not work with jest ([#36238](https://github.com/aws/aws-cdk/issues/36238)) ([1f4a224](https://github.com/aws/aws-cdk/commit/1f4a2249b2651115cf02a26fd4bba09b151f426e)), closes [#36226](https://github.com/aws/aws-cdk/issues/36226)
26+
527
## [2.231.0](https://github.com/aws/aws-cdk/compare/v2.230.0...v2.231.0) (2025-12-01)
628

729

packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/whitespace path/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"strict": true,
2626
"strictNullChecks": true,
2727
"strictPropertyInitialization": true,
28-
"stripInternal": true,
28+
"stripInternal": false,
2929
"target": "ES2022",
3030
"composite": true,
3131
"tsBuildInfoFile": "tsconfig.tsbuildinfo"

packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"strict": true,
2525
"strictNullChecks": true,
2626
"strictPropertyInitialization": true,
27-
"stripInternal": true,
27+
"stripInternal": false,
2828
"target": "ES2022",
2929
"composite": true,
3030
"tsBuildInfoFile": "tsconfig.tsbuildinfo"

packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.failover-record.js.snapshot/Route53FailoverRecordIntegDefaultTestDeployAssert3BE1FD33.assets.json

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.failover-record.js.snapshot/Route53FailoverRecordIntegDefaultTestDeployAssert3BE1FD33.template.json

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-route53/test/integ.failover-record.js.snapshot/cdk.out

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)