Skip to content

Commit 0f0a873

Browse files
authored
2 parents b7660ef + e41e8b8 commit 0f0a873

File tree

2,224 files changed

+3116405
-2874634
lines changed

Some content is hidden

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

2,224 files changed

+3116405
-2874634
lines changed

.github/workflows/codebuild-pr-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030

3131
env:
3232
PR_BUILD: true
33+
JSII_SILENCE_WARNING_DEPRECATED_NODE_VERSION: true
3334

3435
steps:
3536
- name: Checkout code

.github/workflows/integration-test-deployment.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
workflow_dispatch: {}
88
merge_group: {}
99
pull_request_target:
10+
types:
11+
- opened
12+
- synchronize
13+
- reopened
14+
- labeled
1015
branches:
1116
- main
1217
paths:
@@ -21,42 +26,45 @@ jobs:
2126
integration_test_deployment:
2227
runs-on: codebuild-aws-cdk-github-actions-deployment-integ-runner-${{ github.run_id }}-${{ github.run_attempt }}
2328
environment: deployment-integ-test # Do not change or remove this without discussing with Appsec
24-
if: contains(github.event.pull_request.labels.*.name, 'pr/needs-integration-tests-deployment ')
29+
if: contains(github.event.pull_request.labels.*.name, 'pr/needs-integration-tests-deployment')
2530
name: 'Deploy integration test snapshots (requires `pr/needs-integration-tests-deployment` label)'
2631

2732
env:
2833
PR_BUILD: true
2934

3035
steps:
31-
- name: Checkout BASE
32-
uses: actions/checkout@v5
33-
with:
34-
ref: ${{ github.event.pull_request.base.sha }}
35-
fetch-depth: 0
36-
path: base
37-
3836
- name: Checkout HEAD
3937
uses: actions/checkout@v5
4038
with:
4139
ref: ${{ github.event.pull_request.head.sha }}
4240
fetch-depth: 0
43-
path: head
4441

45-
- name: Configure AWS credentials
46-
uses: aws-actions/configure-aws-credentials@v5
47-
with:
48-
role-to-assume: ${{ vars.CDK_ATMOSPHERE_OIDC_ROLE }}
49-
role-session-name: run-tests@aws-cdk-deployment-integ
50-
aws-region: us-east-1
42+
- name: Assume Atmosphere Role
43+
id: creds
44+
run: |
45+
# Assume role and capture the JSON output
46+
CREDS=$(aws sts assume-role \
47+
--role-arn ${{ vars.CDK_ATMOSPHERE_OIDC_ROLE }} \
48+
--role-session-name run-tests@aws-cdk-deployment-integ)
49+
# Parse the JSON output and set environment variables
50+
AWS_ACCESS_KEY_ID=$(echo $CREDS | jq -r '.Credentials.AccessKeyId')
51+
AWS_SECRET_ACCESS_KEY=$(echo $CREDS | jq -r '.Credentials.SecretAccessKey')
52+
AWS_SESSION_TOKEN=$(echo $CREDS | jq -r '.Credentials.SessionToken')
53+
echo "::add-mask::$AWS_ACCESS_KEY_ID"
54+
echo "::add-mask::$AWS_SECRET_ACCESS_KEY"
55+
echo "::add-mask::$AWS_SESSION_TOKEN"
56+
57+
echo "AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID" >> $GITHUB_ENV
58+
echo "AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY" >> $GITHUB_ENV
59+
echo "AWS_SESSION_TOKEN=$AWS_SESSION_TOKEN" >> $GITHUB_ENV
5160
5261
- name: Setup Node.js
5362
uses: actions/setup-node@v5
5463
with:
5564
node-version: "lts/*"
5665
cache: "yarn"
5766
cache-dependency-path: |
58-
base/yarn.lock
59-
head/yarn.lock
67+
yarn.lock
6068
6169
- name: Set up Docker
6270
uses: docker/setup-buildx-action@v3
@@ -85,26 +93,18 @@ jobs:
8593
run: |
8694
(command -v sysctl || sudo apt-get update && sudo apt-get install -y procps) && \
8795
sudo sysctl -w vm.max_map_count=2251954
88-
89-
- name: Install dependencies for integration-test-deployment (BASE)
90-
working-directory: base
91-
run: yarn --cwd tools/@aws-cdk/integration-test-deployment install
92-
93-
- name: Build deployment-integ (BASE)
94-
working-directory: base
95-
run: yarn --cwd tools/@aws-cdk/integration-test-deployment build
9696
97-
- name: Install dependencies for Integration Tests (HEAD)
98-
working-directory: head
97+
- name: Install dependencies for Integration Tests
9998
run: yarn install
99+
100+
- name: Build deployment-integ
101+
run: yarn --cwd tools/@aws-cdk/integration-test-deployment build
100102

101-
- name: Build Integration Tests (HEAD)
102-
working-directory: head
103+
- name: Build Integration Tests
103104
run: npx lerna run build --scope=@aws-cdk-testing/framework-integ
104105

105-
- name: Run integration tests from HEAD using integration-test-deployment script from BASE
106-
run: yarn --cwd ../base/tools/@aws-cdk/integration-test-deployment/ integration-test-deployment
107-
working-directory: head
106+
- name: Run integration tests using integration-test-deployment script
107+
run: yarn run atmosphere-integ-test
108108
env:
109109
CDK_ATMOSPHERE_ENDPOINT: ${{ vars.CDK_ATMOSPHERE_ENDPOINT }}
110110
CDK_ATMOSPHERE_POOL: ${{ vars.CDK_ATMOSPHERE_POOL}}

.github/workflows/pr-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525

2626
env:
2727
PR_BUILD: true
28+
JSII_SILENCE_WARNING_DEPRECATED_NODE_VERSION: true
2829

2930
steps:
3031
- name: Checkout code

.mergify.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
merge_queue:
33
# Required to force mergify to merge in place, see https://docs.mergify.com/merge-queue/parallel-checks/#inplace-checks-no-drafts
44
max_parallel_checks: 1
5+
dequeued_label: null
6+
queued_label: null
57
queue_rules:
68
- name: default-merge
79
# batch_size: 1 enables in-place checks (no draft PRs created for testing merges)

CHANGELOG.v2.alpha.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
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.221.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.220.0-alpha.0...v2.221.0-alpha.0) (2025-10-23)
6+
7+
8+
### Features
9+
10+
* **msk-alpha:** support Kafka 4.1 ([#35759](https://github.com/aws/aws-cdk/issues/35759)) ([67539de](https://github.com/aws/aws-cdk/commit/67539de15ee70a61629fa8dfc7f7b42b187a82e0))
11+
12+
13+
### Bug Fixes
14+
15+
* **elasticache-alpha:** cannot import Redis 7 serverless cache ([#35629](https://github.com/aws/aws-cdk/issues/35629)) ([2bde1a0](https://github.com/aws/aws-cdk/commit/2bde1a02ecb1fc3439249eb1bb756bf335ec3553))
16+
517
## [2.220.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.219.0-alpha.0...v2.220.0-alpha.0) (2025-10-14)
618

719

CHANGELOG.v2.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,39 @@
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.221.0](https://github.com/aws/aws-cdk/compare/v2.220.0...v2.221.0) (2025-10-23)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* ** L1 resources are automatically generated from public CloudFormation Resource Schemas. They are built to closely reflect the real state of CloudFormation. Sometimes these updates can contain changes that are incompatible with previous types, but more accurately reflect reality. In this release we have changed:
11+
- **aws-datazone**: AWS::DataZone::ProjectProfile: Id property removed.
12+
- **aws-logs**: AWS::Logs::DeliveryDestination: DeliveryDestinationType attribute removed.
13+
- **aws-s3**: AWS::S3::AccessGrantsLocation: IamRoleArn property is now required.
14+
- **aws-s3**: AWS::S3::AccessGrantsLocation: LocationScope property is now required.
15+
- **aws-servicecatalog**: AWS::ServiceCatalog::TagOptionAssociation: Id attribute removed.
16+
17+
### Features
18+
19+
* **core:** cfn constructs (L1s) can now accept constructs as parameters for known resource relationships ([#35713](https://github.com/aws/aws-cdk/issues/35713)) ([c5e7f21](https://github.com/aws/aws-cdk/commit/c5e7f215565beeaf21211677b1fc8f62ba8c136a))
20+
* update L1 CloudFormation resource definitions ([#35816](https://github.com/aws/aws-cdk/issues/35816)) ([82bef28](https://github.com/aws/aws-cdk/commit/82bef28a322a436d0c99adf8cb097008591f3952))
21+
* **agentcore:** add agentcore L2 constructs for 1p tools ([#35577](https://github.com/aws/aws-cdk/issues/35577)) ([3087ffa](https://github.com/aws/aws-cdk/commit/3087ffa33fdde85d02ec2574854856762866ca7d))
22+
* **agentcore:** add agentcore runtime L2 construct ([#35623](https://github.com/aws/aws-cdk/issues/35623)) ([c57484a](https://github.com/aws/aws-cdk/commit/c57484ababbf99b13660ab597e5738819b1855a6))
23+
* **ecr:** image tag mutability exclusion filters ([#35246](https://github.com/aws/aws-cdk/issues/35246)) ([f6dd5cf](https://github.com/aws/aws-cdk/commit/f6dd5cfd50209b82b654935fc965819a46bd0247)), closes [#35454](https://github.com/aws/aws-cdk/issues/35454)
24+
* **ecs:** implement IConnectable interface for ManagedInstancesCapacityProvider ([#35745](https://github.com/aws/aws-cdk/issues/35745)) ([fd5ff76](https://github.com/aws/aws-cdk/commit/fd5ff76c9707b36e878d58e20d7544b80e53d603))
25+
* **kinesisfirehose:** support DeliveryStream record format conversion for S3 Bucket Destination ([#35410](https://github.com/aws/aws-cdk/issues/35410)) ([79bcba2](https://github.com/aws/aws-cdk/commit/79bcba24313955bcb7e3e4d02d3d2cc11db5cd7d)), closes [#15501](https://github.com/aws/aws-cdk/issues/15501) [/github.com/aws/aws-cdk/issues/15501#issuecomment-3255582302](https://github.com/aws//github.com/aws/aws-cdk/issues/15501/issues/issuecomment-3255582302)
26+
* update L1 CloudFormation resource definitions ([#35769](https://github.com/aws/aws-cdk/issues/35769)) ([a165905](https://github.com/aws/aws-cdk/commit/a16590513ff1dcd41141e77eec5ebfaef2dff3c4))
27+
28+
29+
### Bug Fixes
30+
31+
* **ecs-patterns:** resolve target group conflict when updating ALB internetFacing or loadBalancerName (under feature flag) ([#35508](https://github.com/aws/aws-cdk/issues/35508)) ([69b9c03](https://github.com/aws/aws-cdk/commit/69b9c03583ef5542aee93c5c011304314ddcd4fc)), closes [#33253](https://github.com/aws/aws-cdk/issues/33253) [#33253](https://github.com/aws/aws-cdk/issues/33253) [#33253](https://github.com/aws/aws-cdk/issues/33253)
32+
* **lambda:** can't find entry file under ESM module system ([#35797](https://github.com/aws/aws-cdk/issues/35797)) ([7becd79](https://github.com/aws/aws-cdk/commit/7becd79b95d4e6a2290b39cb39e9b7ae1c92c78e)), closes [#21630](https://github.com/aws/aws-cdk/issues/21630)
33+
* **lambda-runtime:** change fallback for latest lambda node runtime to node 22.x ([#35764](https://github.com/aws/aws-cdk/issues/35764)) ([10fcb1b](https://github.com/aws/aws-cdk/commit/10fcb1bcfde256373a2b240a86bb776fc7de9c92))
34+
* **opensearchservice:** add i8g nodes validation without EBS ([#35668](https://github.com/aws/aws-cdk/issues/35668)) ([9594842](https://github.com/aws/aws-cdk/commit/9594842729f96967eb9bdba1c856d962a97ad3cf)), closes [#35666](https://github.com/aws/aws-cdk/issues/35666)
35+
* **s3-deployment:** handle empty string in Source.data() ([#35824](https://github.com/aws/aws-cdk/issues/35824)) ([95c8d73](https://github.com/aws/aws-cdk/commit/95c8d73c3e95ae421b314101f34d422503981fb7)), closes [#35809](https://github.com/aws/aws-cdk/issues/35809)
36+
* **stepfunctions-tasks:** allow passing apiEndpoint as intrinsic function (under feature flag) ([#32139](https://github.com/aws/aws-cdk/issues/32139)) ([ddfef06](https://github.com/aws/aws-cdk/commit/ddfef06e6893d55f605c475dbb13bdb22efcfbaa)), closes [#29925](https://github.com/aws/aws-cdk/issues/29925) [#29925](https://github.com/aws/aws-cdk/issues/29925) [#30749](https://github.com/aws/aws-cdk/issues/30749)
37+
538
## [2.220.0](https://github.com/aws/aws-cdk/compare/v2.219.0...v2.220.0) (2025-10-14)
639

740

docs/DESIGN_GUIDELINES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ CodePipeline actions that trigger Lambda functions).
163163
The next level of abstraction present within the CDK are what we designate as
164164
"L2.5s": a step above the L2s in terms of abstraction, but not quite at the
165165
level of complete patterns or applications. These constructs still largely
166-
focus on a single logical resource -- in constrast to "patterns" which combine
166+
focus on a single logical resource -- in contrast to "patterns" which combine
167167
multiple resources -- but are customized for a specific common usage scenario of
168168
an L2. Examples of L2.5s in the CDK are `aws-apigateway.LambdaRestApi`,
169169
`aws-lambda-nodejs.NodeJsFunction`, `aws-rds.ServerlessCluster` and `eks.FargateCluster`.

docs/NEW_CONSTRUCTS_GUIDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ If your constructs do not meet these guidelines, see the [publishing your own pa
2121

2222
Whether you want to pursue inclusion of your new constructs in aws-cdk-lib or not, the easiest way to get started is to create your own package. This will allow you to create, publish, test, and gather feedback on your new constructs as fast as possible without waiting for the aws cdk team to review the design and implementation of them. This also will allow you to deviate from the design and conventions of `aws-cdk-lib` if you wish to explore a more experimental or alternative api design. This also will enable you to gather feedback from users, make additions and changes, including breaking changes, without worrying about the versioning and support lifecycle of `aws-cdk-lib`.
2323

24-
To get started creating your own construct package, we recommend using [`projen`](https://github.com/projen/projen). Additionally you can follow [this guide](https://dev.to/aws-builders/a-beginner-s-guide-to-create-aws-cdk-construct-library-with-projen-5eh4) which will help you setup your repository, packages and tooling step by step.
24+
To get started creating your own construct package, we recommend using [`projen`](https://github.com/projen/projen). Additionally you can follow [this guide](https://dev.to/aws-builders/a-beginner-s-guide-to-create-aws-cdk-construct-library-with-projen-5eh4) which will help you set up your repository, packages and tooling step by step.
2525

2626
Once your constructs have been published for some time and you feel that the apis are stable and bugs have been identified, you can continue to distribute it as a separate package and/or attempt to add them to `aws-cdk-lib` via a PR.
2727

@@ -54,7 +54,7 @@ Whether publishing your own package or making a PR against aws-cdk-lib immediate
5454

5555
### Alpha CDK Package
5656
1. Design: create a draft PR with the new README detailing the API, socialize, and gain consensus
57-
1. Implement: write the construct as designed and create a new pull requests
57+
1. Implement: write the construct as designed and create a new pull request
5858
1. Iterate: respond to feedback from pull request reviewers on the aws-cdk team
5959
1. Publish: publish your new constructs as an alpha module
6060
1. Iterate: respond to issues from users, fix bugs and optimize usage patterns

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,23 @@
1212
"pack": "./pack.sh",
1313
"compat": "./scripts/check-api-compatibility.sh",
1414
"bump": "./bump.sh",
15-
"build-all": "tsc -b"
15+
"build-all": "tsc -b",
16+
"atmosphere-integ-test": "lerna run build --scope @aws-cdk/integration-test-deployment && node tools/@aws-cdk/integration-test-deployment/bin/index.js"
1617
},
1718
"devDependencies": {
1819
"@nx/workspace": "^20",
1920
"@types/node": "18.19.129",
2021
"@types/prettier": "2.6.0",
2122
"@yarnpkg/lockfile": "^1.1.0",
2223
"aws-sdk-js-codemod": "^2.4.5",
23-
"cdk-generate-synthetic-examples": "^0.2.29",
24+
"cdk-generate-synthetic-examples": "^0.2.32",
2425
"conventional-changelog-cli": "^2.2.2",
2526
"fs-extra": "^9.1.0",
2627
"graceful-fs": "^4.2.11",
2728
"jest-junit": "^13.2.0",
28-
"jsii-diff": "1.113.0",
29-
"jsii-pacmak": "1.113.0",
30-
"jsii-reflect": "1.113.0",
29+
"jsii-diff": "1.116.0",
30+
"jsii-pacmak": "1.116.0",
31+
"jsii-reflect": "1.116.0",
3132
"lerna": "^8.2.4",
3233
"nx": "^20",
3334
"semver": "^7.7.2",

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.api-with-authorizer-and-proxy.js.snapshot/apigatewaywithauthorizerandproxyDefaultTestDeployAssertDBEA1774.assets.json

Lines changed: 2 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)