Skip to content

Commit 259837f

Browse files
authored
2 parents 4f53cbb + ce8c79f commit 259837f

File tree

235 files changed

+87336
-7957
lines changed

Some content is hidden

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

235 files changed

+87336
-7957
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
name: Codebuild PR Build
2+
3+
on:
4+
workflow_dispatch: {}
5+
merge_group: {}
6+
push:
7+
branches:
8+
- main
9+
- v2-release
10+
pull_request: {}
11+
12+
# For every PR, cancel any previous builds in progress
13+
# ... but for all other builds we keep them running
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.pull_request.number || github.run_id }}
16+
cancel-in-progress: true
17+
18+
jobs:
19+
build:
20+
runs-on: codebuild-aws-cdk-github-actions-runner-${{ github.run_id }}-${{ github.run_attempt }}
21+
22+
env:
23+
PR_BUILD: true
24+
25+
steps:
26+
- name: Checkout code
27+
uses: actions/checkout@v4
28+
29+
- name: Setup Node.js
30+
uses: actions/setup-node@v4
31+
with:
32+
node-version: "18"
33+
cache: "yarn"
34+
35+
- name: Set up Docker
36+
uses: docker/setup-buildx-action@v3
37+
38+
- name: Load Docker images
39+
id: docker-cache
40+
uses: actions/cache/restore@v4
41+
with:
42+
path: |
43+
~/.docker-images.tar
44+
key: docker-cache-${{ runner.os }}
45+
46+
- name: Restore Docker images
47+
if: ${{ steps.docker-cache.outputs.cache-hit }}
48+
run: docker image load --input ~/.docker-images.tar
49+
50+
- name: Cache build artifacts
51+
uses: actions/cache@v4
52+
with:
53+
path: |
54+
~/.s3buildcache
55+
key: s3buildcache-${{ runner.os }}
56+
57+
- name: Configure system settings
58+
run: |
59+
(command -v sysctl || sudo apt-get update && sudo apt-get install -y procps) && \
60+
sudo sysctl -w vm.max_map_count=2251954
61+
62+
- name: Build
63+
run: /bin/bash ./build.sh --ci
64+
65+
- name: Run Rosetta
66+
run: /bin/bash ./scripts/run-rosetta.sh
67+
68+
- name: Check for uncommitted changes
69+
run: git diff-index --exit-code --ignore-space-at-eol --stat HEAD
70+
71+
- name: Export Docker images
72+
if: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
73+
run: docker image save --output ~/.docker-images.tar $(docker image list --format '{{ if ne .Repository "<none>" }}{{ .Repository }}{{ if ne .Tag "<none>" }}:{{ .Tag }}{{ end }}{{ else }}{{ .ID }}{{ end }}')
74+
75+
- name: Cache Docker images
76+
if: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
77+
uses: actions/cache/save@v4
78+
with:
79+
path: |
80+
~/.docker-images.tar
81+
key: docker-cache-${{ runner.os }}

.github/workflows/enum-auto-updater.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
# If a PR exists, close it
8787
if [[ -n "$prExists" ]]; then
8888
echo "Found existing PR #$prExists for module ${moduleName#aws-}, closing it..."
89-
gh pr close "$prExists" --confirm
89+
gh pr close "$prExists" -c "Closing in favor of a new PR with updated enum values"
9090
else
9191
echo "No existing PR found for ${moduleName#aws-}"
9292
fi

CHANGELOG.v2.alpha.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
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.207.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.206.0-alpha.0...v2.207.0-alpha.0) (2025-07-24)
6+
57
## [2.206.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.205.0-alpha.0...v2.206.0-alpha.0) (2025-07-16)
68

79
## [2.205.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.204.0-alpha.0...v2.205.0-alpha.0) (2025-07-15)

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.207.0](https://github.com/aws/aws-cdk/compare/v2.206.0...v2.207.0) (2025-07-24)
6+
7+
8+
### Features
9+
10+
* **core:** allow validation report multi-write based on context keys ([#34927](https://github.com/aws/aws-cdk/issues/34927)) ([9571599](https://github.com/aws/aws-cdk/commit/9571599b58e0a84d2e162fac4e61546aefda90c6))
11+
* update L1 CloudFormation resource definitions ([#35020](https://github.com/aws/aws-cdk/issues/35020)) ([3f695b3](https://github.com/aws/aws-cdk/commit/3f695b38a97d1a74cb3c1c62c0b54d4c5a67dd67))
12+
* **bedrockprompt:** add prompt management to bedrock agents ([#34754](https://github.com/aws/aws-cdk/issues/34754)) ([c0d27ee](https://github.com/aws/aws-cdk/commit/c0d27ee3bd4f6c31e1116f6bfc5551f25932aad9))
13+
* **cloudwatch:** add search expression to graph widget in cloudwatch dashboard ([#34933](https://github.com/aws/aws-cdk/issues/34933)) ([e3f505e](https://github.com/aws/aws-cdk/commit/e3f505eeb5ac1e3222a7e0d11c29b66fc2fe0dbd)), closes [#7237](https://github.com/aws/aws-cdk/issues/7237)
14+
* **core:** addInfoV2 method for suppressible info Annotations ([#34872](https://github.com/aws/aws-cdk/issues/34872)) ([fb1792c](https://github.com/aws/aws-cdk/commit/fb1792c8cfde9a5af95a9fa10d1fd6f8a30a7e78)), closes [#34871](https://github.com/aws/aws-cdk/issues/34871)
15+
* **logs:** support ADC regions for infrequent access log class ([#34999](https://github.com/aws/aws-cdk/issues/34999)) ([1c57d69](https://github.com/aws/aws-cdk/commit/1c57d69656f6cfbf204f2861f328002167760f13))
16+
* **rds:** support Database Insights for RDS instances ([#34854](https://github.com/aws/aws-cdk/issues/34854)) ([304e2db](https://github.com/aws/aws-cdk/commit/304e2db2638a830757f9ca0012b1f84230f3e0aa)), closes [#34743](https://github.com/aws/aws-cdk/issues/34743) [#32851](https://github.com/aws/aws-cdk/issues/32851)
17+
* cloudwatch logs transformer support ([#34996](https://github.com/aws/aws-cdk/issues/34996)) ([ba61463](https://github.com/aws/aws-cdk/commit/ba6146391e0237af2063a11e34569bf61c4a132e)), closes [#34861](https://github.com/aws/aws-cdk/issues/34861)
18+
19+
20+
### Bug Fixes
21+
22+
* **autoscaling:** add an option to run validation when migrating to launch template ([#34832](https://github.com/aws/aws-cdk/issues/34832)) ([c8d62f3](https://github.com/aws/aws-cdk/commit/c8d62f316799b07d8b927ad7ccd41bad49944178)), closes [#34283](https://github.com/aws/aws-cdk/issues/34283)
23+
* **core:** fix asset bundling for nested stack with exclusive flag ([#30983](https://github.com/aws/aws-cdk/issues/30983)) ([992b0a5](https://github.com/aws/aws-cdk/commit/992b0a5c3b8716bea56ad934c79506d329f4c19b)), closes [#30967](https://github.com/aws/aws-cdk/issues/30967) [#30967](https://github.com/aws/aws-cdk/issues/30967)
24+
* **kinesisfirehose:** can't call grantPrincipal multiple times ([#34682](https://github.com/aws/aws-cdk/issues/34682)) ([ea226b5](https://github.com/aws/aws-cdk/commit/ea226b5e57b198add48aa07add748749171f9535))
25+
* **s3-deployment:** broken cross stack reference when using Source.data ([#34916](https://github.com/aws/aws-cdk/issues/34916)) ([0591c44](https://github.com/aws/aws-cdk/commit/0591c44d78ba3a98d6d37224f4451707ec2c1da8)), closes [#22843](https://github.com/aws/aws-cdk/issues/22843) [#22843](https://github.com/aws/aws-cdk/issues/22843)
26+
527
## [2.206.0](https://github.com/aws/aws-cdk/compare/v2.205.0...v2.206.0) (2025-07-16)
628

729

deprecated_apis.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,8 @@ aws-cdk-lib.aws_cloudwatch.IMetric#toAlarmConfig
418418
aws-cdk-lib.aws_cloudwatch.IMetric#toGraphConfig
419419
aws-cdk-lib.aws_cloudwatch.MathExpression#toAlarmConfig
420420
aws-cdk-lib.aws_cloudwatch.MathExpression#toGraphConfig
421+
aws-cdk-lib.aws_cloudwatch.SearchExpression#toAlarmConfig
422+
aws-cdk-lib.aws_cloudwatch.SearchExpression#toGraphConfig
421423
aws-cdk-lib.aws_cloudwatch.Metric#toAlarmConfig
422424
aws-cdk-lib.aws_cloudwatch.Metric#toGraphConfig
423425
aws-cdk-lib.aws_cloudwatch.MetricAlarmConfig

packages/@aws-cdk-testing/framework-integ/test/aws-autoscaling/test/integ.asg-lt.js.snapshot/aws-cdk-asg-integ.assets.json

Lines changed: 4 additions & 3 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-autoscaling/test/integ.asg-lt.js.snapshot/aws-cdk-asg-integ.template.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,6 +1103,47 @@
11031103
"IgnoreUnmodifiedGroupSizeProperties": true
11041104
}
11051105
}
1106+
},
1107+
"AsgFromMigrationToLTASGDEC25774": {
1108+
"Type": "AWS::AutoScaling::AutoScalingGroup",
1109+
"Properties": {
1110+
"LaunchTemplate": {
1111+
"LaunchTemplateId": {
1112+
"Ref": "MainLT4FC09097"
1113+
},
1114+
"Version": {
1115+
"Fn::GetAtt": [
1116+
"MainLT4FC09097",
1117+
"LatestVersionNumber"
1118+
]
1119+
}
1120+
},
1121+
"MaxSize": "1",
1122+
"MinSize": "1",
1123+
"VPCZoneIdentifier": [
1124+
{
1125+
"Ref": "VPCPrivateSubnet1Subnet8BCA10E0"
1126+
},
1127+
{
1128+
"Ref": "VPCPrivateSubnet2SubnetCFCDAA7A"
1129+
}
1130+
]
1131+
},
1132+
"UpdatePolicy": {
1133+
"AutoScalingRollingUpdate": {
1134+
"SuspendProcesses": [
1135+
"HealthCheck",
1136+
"ReplaceUnhealthy",
1137+
"AZRebalance",
1138+
"AlarmNotification",
1139+
"ScheduledActions",
1140+
"InstanceRefresh"
1141+
]
1142+
},
1143+
"AutoScalingScheduledAction": {
1144+
"IgnoreUnmodifiedGroupSizeProperties": true
1145+
}
1146+
}
11061147
}
11071148
},
11081149
"Parameters": {

packages/@aws-cdk-testing/framework-integ/test/aws-autoscaling/test/integ.asg-lt.js.snapshot/cdk.out

Lines changed: 1 addition & 1 deletion
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-autoscaling/test/integ.asg-lt.js.snapshot/integ.json

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

0 commit comments

Comments
 (0)