Skip to content

Commit fc4401e

Browse files
authored
Merge branch 'main' into aurora-serverless-v2-acu-256
2 parents 76e4342 + cd324d0 commit fc4401e

347 files changed

Lines changed: 75418 additions & 102137 deletions

File tree

Some content is hidden

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

.github/workflows/sync-from-upstream.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,21 @@ jobs:
4343
contents: write
4444
needs: [check-secret]
4545
steps:
46-
- name: Checkout using User Token
46+
- name: Checkout using User Token (+ download lfs dependencies)
4747
if: needs.check-secret.outputs.ok == 'true'
4848
uses: actions/checkout@v4
4949
with:
50+
lfs: true
5051
token: ${{ secrets.PROJEN_GITHUB_TOKEN }}
5152

52-
- name: Checkout using GitHub Actions permissions
53+
- name: Checkout using GitHub Actions permissions (+ download lfs dependencies)
5354
if: needs.check-secret.outputs.ok == 'false'
5455
uses: actions/checkout@v4
56+
with:
57+
lfs: true
58+
59+
- name: Checkout LFS objects
60+
run: git lfs checkout
5561

5662
- name: Sync from aws/aws-cdk
5763
run: |-

CHANGELOG.v2.alpha.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.162.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.161.1-alpha.0...v2.162.0-alpha.0) (2024-10-10)
6+
7+
8+
### ⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
9+
10+
* **kinesisfirehose-alpha:** replaced `destinations` property with `destination` (singular) and changed the type from array of Destinations to a single Destination. Old behaviour would only allow an array with a single Destination to be passed in anyway.
11+
12+
### Features
13+
14+
* **iot-alpha:** support for account audit configuration ([#31661](https://github.com/aws/aws-cdk/issues/31661)) ([fc19571](https://github.com/aws/aws-cdk/commit/fc19571c6392e905ff03998d0e8bc4e3b01399f4)), closes [#31663](https://github.com/aws/aws-cdk/issues/31663)
15+
* **pipes-targets:** add EventBridge ([#30654](https://github.com/aws/aws-cdk/issues/30654)) ([842f49a](https://github.com/aws/aws-cdk/commit/842f49a224ceadb1ef973dc3048ee3ac52d8f118))
16+
17+
18+
### Bug Fixes
19+
20+
* **cli-lib:** cannot bootstrap specific environment ([#31713](https://github.com/aws/aws-cdk/issues/31713)) ([fec4bb1](https://github.com/aws/aws-cdk/commit/fec4bb1c26db54bbb151bd05239e1fc1be5de657))
21+
22+
23+
### Miscellaneous Chores
24+
25+
* **kinesisfirehose-alpha:** replace`destinations` property with `destination` and change type from array to single IDestination ([#31630](https://github.com/aws/aws-cdk/issues/31630)) ([1e2cff1](https://github.com/aws/aws-cdk/commit/1e2cff19eec234e1d1f7f501230cba01b220a09b))
26+
527
## [2.161.1-alpha.0](https://github.com/aws/aws-cdk/compare/v2.161.0-alpha.0...v2.161.1-alpha.0) (2024-10-05)
628

729
## [2.161.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.160.0-alpha.0...v2.161.0-alpha.0) (2024-10-03)

CHANGELOG.v2.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,30 @@
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.162.0](https://github.com/aws/aws-cdk/compare/v2.161.1...v2.162.0) (2024-10-10)
6+
7+
8+
### Features
9+
10+
* **appsync:** add `ownerContact` property to the `GraphqlApi` ([#31585](https://github.com/aws/aws-cdk/issues/31585)) ([a8b2f01](https://github.com/aws/aws-cdk/commit/a8b2f0120d90ac5ed9ed8e222a673d996ea057fa))
11+
* **cdk:** expose authorizer id and authorization type ([#31622](https://github.com/aws/aws-cdk/issues/31622)) ([daaf0aa](https://github.com/aws/aws-cdk/commit/daaf0aaa18e5f0120e58c9d7655605c5351e8671)), closes [#31605](https://github.com/aws/aws-cdk/issues/31605)
12+
* **cli:** cdk rollback ([#31684](https://github.com/aws/aws-cdk/issues/31684)) ([3e40edc](https://github.com/aws/aws-cdk/commit/3e40edce14080939baa8b5b3a3a100e991d965fd)), closes [#31407](https://github.com/aws/aws-cdk/issues/31407)
13+
* **ecs:** add fargate ephemeral storage encryption to cluster settings ([#30759](https://github.com/aws/aws-cdk/issues/30759)) ([642a944](https://github.com/aws/aws-cdk/commit/642a9444e9549b04949ae81656aba0d8525e75f4)), closes [#30721](https://github.com/aws/aws-cdk/issues/30721)
14+
* **eks:** support eks with k8s 1.31 ([#31707](https://github.com/aws/aws-cdk/issues/31707)) ([fc09bc1](https://github.com/aws/aws-cdk/commit/fc09bc19166b2e4b76de6b836505c7b421111449))
15+
* **elasticloadbalancingv2:** support TCP idle timeout for Network Load Balancer Listener ([#31584](https://github.com/aws/aws-cdk/issues/31584)) ([8d851a9](https://github.com/aws/aws-cdk/commit/8d851a96a4d59b6cf03ca44ed1eac0c65602e27f)), closes [#31310](https://github.com/aws/aws-cdk/issues/31310)
16+
* update L1 CloudFormation resource definitions ([#31688](https://github.com/aws/aws-cdk/issues/31688)) ([b211189](https://github.com/aws/aws-cdk/commit/b2111890d55f33f43c42f27d2da6ede7de702f25))
17+
* **rds:** enable `grantDataApiAccess` method for imported database cluster ([#31280](https://github.com/aws/aws-cdk/issues/31280)) ([3c92012](https://github.com/aws/aws-cdk/commit/3c9201296e16a790f9ceccc8862f10e6d23e9d7d)), closes [#31116](https://github.com/aws/aws-cdk/issues/31116) [/github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-rds/lib/cluster.ts#L983](https://github.com/aws//github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-rds/lib/cluster.ts/issues/L983) [/github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-rds/lib/cluster.ts#L523-L526](https://github.com/aws//github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-rds/lib/cluster.ts/issues/L523-L526)
18+
19+
20+
### Bug Fixes
21+
22+
* **core:** `cdk diff` on large templates fails when passing in `toolkitStackName` and `qualifier` ([#31636](https://github.com/aws/aws-cdk/issues/31636)) ([f603c97](https://github.com/aws/aws-cdk/commit/f603c97bc82172219d3715505fe228c1bb02f475)), closes [#29179](https://github.com/aws/aws-cdk/issues/29179)
23+
* **ecs:** ecs exec cannot be enabled for ECS Anywhere (ecs.ExternalService) ([#31374](https://github.com/aws/aws-cdk/issues/31374)) ([cff1fcd](https://github.com/aws/aws-cdk/commit/cff1fcd6961227f5ef8fd0c1fd3a6d108dc28e34)), closes [#31181](https://github.com/aws/aws-cdk/issues/31181)
24+
* **elasticloadbalancingv2:** `http2Enabled` with true is ignored in ApplicationLoadBalancer ([#31675](https://github.com/aws/aws-cdk/issues/31675)) ([c1b240e](https://github.com/aws/aws-cdk/commit/c1b240ee6fdba9a0ca1126c97c5e0173bae007ce)), closes [#31609](https://github.com/aws/aws-cdk/issues/31609)
25+
* **event-targets:** ecsTask uses invalid task definition arn in policy ([#31615](https://github.com/aws/aws-cdk/issues/31615)) ([4ada3ea](https://github.com/aws/aws-cdk/commit/4ada3ea4c06bb1f9155bbe2928f64babe4527d0d)), closes [#30390](https://github.com/aws/aws-cdk/issues/30390) [#30484](https://github.com/aws/aws-cdk/issues/30484)
26+
* **iam:** override Role.applyRemovalPolicy for customizeRoles ([#31652](https://github.com/aws/aws-cdk/issues/31652)) ([35ed5c6](https://github.com/aws/aws-cdk/commit/35ed5c64db787c74abc21ce75176eaa8d240689f)), closes [#31651](https://github.com/aws/aws-cdk/issues/31651)
27+
* **s3:** unable to update the s3 event notifications on an existing S3 bucket ([#31431](https://github.com/aws/aws-cdk/issues/31431)) ([0a56c0d](https://github.com/aws/aws-cdk/commit/0a56c0db7e9851af26e65a05521e0ec082a06c9c)), closes [#31303](https://github.com/aws/aws-cdk/issues/31303)
28+
529
## [2.161.1](https://github.com/aws/aws-cdk/compare/v2.161.0...v2.161.1) (2024-10-05)
630

731

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ The following tools need to be installed on your system prior to installing the
210210
- [Python >= 3.8.0, < 4.0](https://www.python.org/downloads/release/python-380/)
211211
- [Docker >= 19.03](https://docs.docker.com/get-docker/)
212212
- the Docker daemon must also be running
213+
- [git-lfs](https://docs.github.com/en/repositories/working-with-files/managing-large-files/installing-git-large-file-storage)
214+
- Without this, you'll get the message that the clone succeeded but the checkout failed when you initially clone the repo.
213215

214216
First fork the repository https://github.com/aws/aws-cdk/fork, and then run the following commands to clone the repository locally.
215217

lerna.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"packages/@aws-cdk/*/lambda-packages/*",
1212
"tools/@aws-cdk/cdk-build-tools",
1313
"tools/@aws-cdk/cdk-release",
14-
"tools/@aws-cdk/eslint-plugin",
1514
"tools/@aws-cdk/node-bundle",
1615
"tools/@aws-cdk/pkglint",
1716
"tools/@aws-cdk/pkgtools",

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@
7979
"packages/@aws-cdk/*/lambda-packages/*",
8080
"tools/@aws-cdk/cdk-build-tools",
8181
"tools/@aws-cdk/cdk-release",
82-
"tools/@aws-cdk/eslint-plugin",
8382
"tools/@aws-cdk/node-bundle",
8483
"tools/@aws-cdk/pkglint",
8584
"tools/@aws-cdk/pkgtools",

packages/@aws-cdk-testing/cli-integ/lib/with-cdk-app.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,15 +535,15 @@ export class TestFixture extends ShellHelper {
535535
// Bootstrap stacks have buckets that need to be cleaned
536536
const bucketNames = stacksToDelete.map(stack => outputFromStack('BucketName', stack)).filter(defined);
537537
// Parallelism will be reasonable
538-
// eslint-disable-next-line @aws-cdk/promiseall-no-unbounded-parallelism
538+
// eslint-disable-next-line @cdklabs/promiseall-no-unbounded-parallelism
539539
await Promise.all(bucketNames.map(b => this.aws.emptyBucket(b)));
540540
// The bootstrap bucket has a removal policy of RETAIN by default, so add it to the buckets to be cleaned up.
541541
this.bucketsToDelete.push(...bucketNames);
542542

543543
// Bootstrap stacks have ECR repositories with images which should be deleted
544544
const imageRepositoryNames = stacksToDelete.map(stack => outputFromStack('ImageRepositoryName', stack)).filter(defined);
545545
// Parallelism will be reasonable
546-
// eslint-disable-next-line @aws-cdk/promiseall-no-unbounded-parallelism
546+
// eslint-disable-next-line @cdklabs/promiseall-no-unbounded-parallelism
547547
await Promise.all(imageRepositoryNames.map(r => this.aws.deleteImageRepository(r)));
548548

549549
await this.aws.deleteStacks(

packages/@aws-cdk-testing/cli-integ/test/resource-pool.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ test('somewhat balance', async () => {
5151

5252
const keys = Object.keys(counters) as Array<keyof typeof counters> ;
5353
const pool = ResourcePool.withResources(POOL_NAME, keys);
54-
// eslint-disable-next-line @aws-cdk/promiseall-no-unbounded-parallelism
54+
// eslint-disable-next-line @cdklabs/promiseall-no-unbounded-parallelism
5555
await Promise.all(Array.from(range(N)).map(() =>
5656
pool.using(async (x) => {
5757
counters[x] += 1;

packages/@aws-cdk-testing/cli-integ/tests/cli-integ-tests/bootstrapping.integtest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint-disable @aws-cdk/no-literal-partition */
1+
/* eslint-disable @cdklabs/no-literal-partition */
22
import * as fs from 'fs';
33
import * as path from 'path';
44
import { DescribeStackResourcesCommand, DescribeStacksCommand } from '@aws-sdk/client-cloudformation';

packages/@aws-cdk-testing/framework-integ/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"@aws-cdk/lambda-layer-kubectl-v24": "^2.0.242",
4343
"@aws-cdk/lambda-layer-kubectl-v29": "^2.1.0",
4444
"@aws-cdk/lambda-layer-kubectl-v30": "^2.0.1",
45+
"@aws-cdk/lambda-layer-kubectl-v31": "^2.0.0",
4546
"aws-cdk-lib": "0.0.0",
4647
"cdk8s": "2.69.0",
4748
"cdk8s-plus-27": "2.9.5",

0 commit comments

Comments
 (0)