Skip to content

Commit 558af95

Browse files
authored
Merge branch 'main' into codepipeline-ec2deploy
2 parents 3692710 + 29e0ccf commit 558af95

File tree

880 files changed

+147053
-6370
lines changed

Some content is hidden

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

880 files changed

+147053
-6370
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,19 @@ Closes #<issue number here>.
1010

1111
<!--
1212
What code changes did you make?
13-
Have you made any important design decisions?
14-
What AWS use cases does this change enable? To enable the use cases, which AWS service features are utilized?
13+
Why do these changes address the issue?
14+
What alternatives did you consider and reject?
15+
What design decisions have you made?
1516
-->
1617

1718
### Describe any new or updated permissions being added
1819

19-
<!-- What new or updated IAM permissions are needed to support the changes being introduced ? -->
20+
<!-- What new or updated IAM permissions are needed to support the changes being introduced? -->
2021

2122

2223
### Description of how you validated changes
2324

24-
<!--Have you added any unit tests and/or integration tests?-->
25+
<!-- Have you added any unit tests and/or integration tests? Did you test by hand? -->
2526

2627
### Checklist
2728
- [ ] 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)

.github/workflows/pr-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
steps:
3737
- name: 'Download workflow_run artifact'
3838
if: github.event_name == 'workflow_run'
39-
uses: dawidd6/action-download-artifact@v9
39+
uses: dawidd6/action-download-artifact@v10
4040
with:
4141
run_id: ${{ github.event.workflow_run.id }}
4242
name: pr_info

.github/workflows/request-cli-integ-test.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,7 @@ jobs:
2424
base_sha: ${{ github.event.pull_request.base.sha }}
2525
files_yaml: |
2626
cli:
27-
- packages/aws-cdk/bin/**
28-
- packages/aws-cdk/lib/**
29-
- packages/aws-cdk/test/**
30-
- packages/@aws-cdk/cloudformation-diff/lib/**
31-
- packages/@aws-cdk/cloudformation-diff/test/**
32-
- packages/@aws-cdk-testing/cli-integ/bin/**
33-
- packages/@aws-cdk-testing/cli-integ/entrypoints/**
34-
- packages/@aws-cdk-testing/cli-integ/lib/**
35-
- packages/@aws-cdk-testing/cli-integ/resources/**
36-
- packages/@aws-cdk-testing/cli-integ/test/**
37-
- packages/@aws-cdk-testing/cli-integ/tests/**
27+
- packages/aws-cdk-lib/cx-api/lib/features.ts
3828
submit-to-test-pipeline:
3929
environment: test-pipeline
4030
needs: cli-changes

CHANGELOG.v2.alpha.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
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.200.1-alpha.0](https://github.com/aws/aws-cdk/compare/v2.200.0-alpha.0...v2.200.1-alpha.0) (2025-06-03)
6+
7+
## [2.200.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.199.0-alpha.0...v2.200.0-alpha.0) (2025-06-02)
8+
9+
### Features
10+
* **msk:** support Kafka 4.0 ([#34501](https://github.com/aws/aws-cdk/issues/34501)) ([aa40e38](https://github.com/aws/aws-cdk/commit/aa40e382ddd585f027febcc994a8e32491bf37c1))
11+
12+
## [2.199.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.198.0-alpha.0...v2.199.0-alpha.0) (2025-05-27)
13+
14+
515
## [2.198.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.197.0-alpha.0...v2.198.0-alpha.0) (2025-05-22)
616

717

CHANGELOG.v2.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,61 @@
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.200.1](https://github.com/aws/aws-cdk/compare/v2.200.0...v2.200.1) (2025-06-03)
6+
7+
8+
### Bug Fixes
9+
10+
* **lambda:** disable aws-lambda:useCdkManagedLogGroup feature flag when not set ([#34613](https://github.com/aws/aws-cdk/issues/34613)) ([b4cab7f](https://github.com/aws/aws-cdk/commit/b4cab7f41b311f48316220aaf9283833cb755ad9)), closes [#34612](https://github.com/aws/aws-cdk/issues/34612) [#34612](https://github.com/aws/aws-cdk/issues/34612)
11+
12+
## [2.200.0](https://github.com/aws/aws-cdk/compare/v2.199.0...v2.200.0) (2025-06-02)
13+
14+
15+
### Features
16+
17+
* update L1 CloudFormation resource definitions ([#34594](https://github.com/aws/aws-cdk/issues/34594)) ([1e37ee7](https://github.com/aws/aws-cdk/commit/1e37ee71971a3cdb619ba40e321def3072112e2b))
18+
* **custom-resources:** throw `ValidationError` instead of untyped Errors ([#33392](https://github.com/aws/aws-cdk/issues/33392)) ([1dacaa3](https://github.com/aws/aws-cdk/commit/1dacaa30fc7311ee1344493715787561118b660d)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569)
19+
* **ec2:** implement `IPeer` to `PrefixList` to be usable as a connection peer ([#33617](https://github.com/aws/aws-cdk/issues/33617)) ([c277419](https://github.com/aws/aws-cdk/commit/c277419f3931ab50f757844323863b25be875d96)), closes [#33607](https://github.com/aws/aws-cdk/issues/33607)
20+
* **iam:** introduce `OidcProviderNative` construct utilizing the native CloudFormation resource ([#28634](https://github.com/aws/aws-cdk/issues/28634)) ([d8e6c09](https://github.com/aws/aws-cdk/commit/d8e6c09083d4958c1967bc19ff30cf15820580af)), closes [#21197](https://github.com/aws/aws-cdk/issues/21197)
21+
* **iam:** throw `ValidationError`s instead of untyped errors ([#34579](https://github.com/aws/aws-cdk/issues/34579)) ([bd5caba](https://github.com/aws/aws-cdk/commit/bd5caba44ed4485a8a8360f475c76543c2d0c4e4)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569)
22+
* **lambda:** allow propagating function tags to loggroup ([#34556](https://github.com/aws/aws-cdk/issues/34556)) ([f556fd1](https://github.com/aws/aws-cdk/commit/f556fd18f789a8498f32298c07973e8aae4d3798))
23+
* **lambda:** throw `ValidationError`s instead of untyped errors ([#34577](https://github.com/aws/aws-cdk/issues/34577)) ([6ccdd81](https://github.com/aws/aws-cdk/commit/6ccdd81b2601ea54cf83e6601208bc21c03944e4)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569)
24+
* **region-info:** throw `ValidationError` instead of untyped Errors ([#33384](https://github.com/aws/aws-cdk/issues/33384)) ([303daf2](https://github.com/aws/aws-cdk/commit/303daf28d893ffa7829431b130299cc8efbd6f49)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569)
25+
* **s3:** add `grantReplicationPermission` for IAM Role permissions ([#34138](https://github.com/aws/aws-cdk/issues/34138)) ([bfa6490](https://github.com/aws/aws-cdk/commit/bfa649073d6753d36fc46ba66f611308ad2b6029)), closes [#34119](https://github.com/aws/aws-cdk/issues/34119)
26+
* **secretsmanager:** throw `ValidationError`s instead of untyped errors ([#34580](https://github.com/aws/aws-cdk/issues/34580)) ([4d591ef](https://github.com/aws/aws-cdk/commit/4d591efd7c6c14666a351edf5aa784b57140d9dc)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569)
27+
* **servicecatalog:** throw `ValidationError`s instead of untyped errors ([#34581](https://github.com/aws/aws-cdk/issues/34581)) ([3895d76](https://github.com/aws/aws-cdk/commit/3895d764e790ac7b4f09ccf5051a941d3cd22278)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569)
28+
* **sns-subscriptions:** support Amazon Data Firehose subscription ([#33811](https://github.com/aws/aws-cdk/issues/33811)) ([632179c](https://github.com/aws/aws-cdk/commit/632179c629b0a03fd0a42fda98b8bd04a5a00112)), closes [#14391](https://github.com/aws/aws-cdk/issues/14391)
29+
* **stepfunctions:** add grant API for RedriveExecution ([#34554](https://github.com/aws/aws-cdk/issues/34554)) ([e03939d](https://github.com/aws/aws-cdk/commit/e03939d0091bfb24923619161948aad67524315e)), closes [#33578](https://github.com/aws/aws-cdk/issues/33578)
30+
31+
32+
### Bug Fixes
33+
34+
* **ec2:** validate throughput property on EC2 instance block devices ([#34571](https://github.com/aws/aws-cdk/issues/34571)) ([b31580a](https://github.com/aws/aws-cdk/commit/b31580a202aea30b8657988daaa232283053e856)), closes [#34033](https://github.com/aws/aws-cdk/issues/34033)
35+
* **elasticloadbalancingv2:** fix incorrect max for minimumCapacityUnit ([#34586](https://github.com/aws/aws-cdk/issues/34586)) ([8f19b26](https://github.com/aws/aws-cdk/commit/8f19b2646a4085b436f662a79236a17c41fa1162)), closes [#34582](https://github.com/aws/aws-cdk/issues/34582)
36+
37+
## [2.199.0](https://github.com/aws/aws-cdk/compare/v2.198.0...v2.199.0) (2025-05-27)
38+
39+
40+
### ⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
41+
42+
* **cloudformation:** Some L1 resources experienced breaking changes due to updated CloudFormation resources. Please check the notes for each specific module for more information.
43+
* **vpc-lattice**: the `name` and `resourceConfigurationType` property in `CfnResourceConfigurationProps` has changed from optional to required. Also, the `name`, `subnetIds` and `vpcIdentifier` properties in `CfnResourceGatewayProps` have changed from optional to mandatory.
44+
45+
### Features
46+
47+
* **appconfig:** deletion protection check for configuration profile ([#34418](https://github.com/aws/aws-cdk/issues/34418)) ([ce88c76](https://github.com/aws/aws-cdk/commit/ce88c7616188183059640f9e16fedc2e256e0b40))
48+
* **cloudformation:** update L1 CloudFormation resource definitions ([#34555](https://github.com/aws/aws-cdk/issues/34555)) ([64662b2](https://github.com/aws/aws-cdk/commit/64662b2225dce18ee2da0eb46331a3a0155ecfb5))
49+
* **ecs-patterns:** add minHealthyPercent and maxHealthyPercent props to NetworkMultipleTargetGroupsFargateService ([#34516](https://github.com/aws/aws-cdk/issues/34516)) ([a434aed](https://github.com/aws/aws-cdk/commit/a434aed1c9edc1b427a891cf70cc26f1657600d6)), closes [#34368](https://github.com/aws/aws-cdk/issues/34368)
50+
* **eks:** `Addon` support configurationValues ([#34061](https://github.com/aws/aws-cdk/issues/34061)) ([b420033](https://github.com/aws/aws-cdk/commit/b42003344d75bbdb2df71e7da52f9af5e956f64b)), closes [#34001](https://github.com/aws/aws-cdk/issues/34001)
51+
* **events-targets:** enable opt-in to use an IAM role for SnsTopic target ([#34259](https://github.com/aws/aws-cdk/issues/34259)) ([a3a0cf0](https://github.com/aws/aws-cdk/commit/a3a0cf0dc2ea2ecfc077af3f1939117623baa559))
52+
* **stepfunctions-tasks:** bedrock createModelCustomizationJob integration ([#31913](https://github.com/aws/aws-cdk/issues/31913)) ([0c653d3](https://github.com/aws/aws-cdk/commit/0c653d3a1d29324025a0ab451e72e4ca3f048ca3)), closes [#29042](https://github.com/aws/aws-cdk/issues/29042)
53+
54+
55+
### Bug Fixes
56+
57+
* **elasticloadbalancingv2:** add validation on application listeners for certificates on HTTP protocol ([#34233](https://github.com/aws/aws-cdk/issues/34233)) ([ca065bb](https://github.com/aws/aws-cdk/commit/ca065bbd936372098e7d76e4cf8f890f20d4c085))
58+
* **rds:** fix incorrect import/export combination check in AuroraMysqlEngineVersion.of() ([#33564](https://github.com/aws/aws-cdk/issues/33564)) ([9e41154](https://github.com/aws/aws-cdk/commit/9e41154c31253932520887748307405a3f38d0e7)), closes [#33562](https://github.com/aws/aws-cdk/issues/33562) [#33562](https://github.com/aws/aws-cdk/issues/33562)
59+
560
## [2.198.0](https://github.com/aws/aws-cdk/compare/v2.197.0...v2.198.0) (2025-05-22)
661

762

CONTRIBUTING.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,6 +1341,28 @@ Adding a new flag looks as follows:
13411341
- Double negatives should be avoided. If you want to add a flag that disables something that was previously
13421342
enabled, set `default.v2` to `true` and the `recommendedValue` to `false`. You will need to update
13431343
a test in `features.test.ts` -- this is okay if you have a good reason.
1344+
- A note on the fields
1345+
- default.v2: This is the boolean value used by the cdk commands at runtime unless its specified in `cdk.json`.
1346+
- recommendedValue: This is the boolean value will be set in `cdk.json` on `cdk init` when you init a new application.
1347+
- As a contributor, if you are advised to introduce a feature flag, consider the following scenarios when determining how your feature should behave for
1348+
- Customers who are creating new app (`cdk init`). `cdk.json` will now contain the new feature flag set to the `recommendedValue`.
1349+
- Customers who have an existing app. `cdk.json` doesnt contain the `new` feature flag. The value of the new feature flag set to the `default.v2` value in context of cdk commands.
1350+
- E.g. in the following case, unless overridden in `cdk.json`
1351+
- New apps will get [USE_CDK_MANAGED_LAMBDA_LOGGROUP]: true
1352+
- Existing apps on cdk v2 will get [USE_CDK_MANAGED_LAMBDA_LOGGROUP]: false
1353+
```typescript
1354+
[USE_CDK_MANAGED_LAMBDA_LOGGROUP]: {
1355+
type: FlagType.ApiDefault,
1356+
summary: 'When enabled, CDK creates and manages loggroup for the lambda function',
1357+
detailsMd: `
1358+
...
1359+
`,
1360+
introducedIn: { v2: 'V2_NEXT' },
1361+
defaults: { v2: false },
1362+
recommendedValue: true,
1363+
compatibilityWithOldBehaviorMd: 'Disable the feature flag to let lambda service create logGroup or specify logGroup or logRetention',
1364+
},
1365+
```
13441366
2. Use `FeatureFlags.of(construct).isEnabled(cxapi.ENABLE_XXX)` to check if this feature is enabled
13451367
in your code. If it is not defined, revert to the legacy behavior.
13461368
3. Add your feature flag to the `FLAGS` map in

CONTRIBUTORS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ Shout out to our top contributors!
1616
- [pahud](https://github.com/pahud)
1717
- [badmintoncryer](https://github.com/badmintoncryer)
1818
- [go-to-k](https://github.com/go-to-k)
19-
- [comcalvi](https://github.com/comcalvi)
2019
- [TheRealAmazonKendra](https://github.com/TheRealAmazonKendra)
20+
- [comcalvi](https://github.com/comcalvi)
2121
- [madeline-k](https://github.com/madeline-k)
2222
- [NetaNir](https://github.com/NetaNir)
2323
- [robertd](https://github.com/robertd)
2424
- [MrArnoldPalmer](https://github.com/MrArnoldPalmer)
2525
- [lpizzinidev](https://github.com/lpizzinidev)
2626
- [peterwoodworth](https://github.com/peterwoodworth)
2727
- [msambol](https://github.com/msambol)
28-
- [colifran](https://github.com/colifran)
2928
- [GavinZZ](https://github.com/GavinZZ)
29+
- [colifran](https://github.com/colifran)
3030

3131

32-
_Last updated: Thu, 01 May 25 00:13:51 +0000_
32+
_Last updated: Sun, 01 Jun 25 00:16:05 +0000_

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"nx": "^20",
3333
"semver": "^7.7.2",
3434
"standard-version": "^9.5.0",
35-
"ts-jest": "^29.3.3",
35+
"ts-jest": "^29.3.4",
3636
"ts-node": "^10.9.2",
3737
"typescript": "~5.5.4"
3838
},

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"license": "Apache-2.0",
3131
"devDependencies": {
3232
"@aws-cdk/cdk-build-tools": "0.0.0",
33-
"@aws-cdk/integ-runner": "^2.186.7",
33+
"@aws-cdk/integ-runner": "^2.186.11",
3434
"@aws-cdk/pkglint": "0.0.0",
3535
"@aws-sdk/client-acm": "3.632.0",
3636
"@aws-sdk/client-rds": "3.632.0",
@@ -44,10 +44,10 @@
4444
"@aws-cdk/lambda-layer-kubectl-v24": "^2.0.242",
4545
"@aws-cdk/lambda-layer-kubectl-v29": "^2.1.1",
4646
"@aws-cdk/lambda-layer-kubectl-v30": "^2.0.4",
47-
"@aws-cdk/lambda-layer-kubectl-v31": "^2.0.3",
47+
"@aws-cdk/lambda-layer-kubectl-v31": "^2.1.0",
4848
"@aws-cdk/lambda-layer-kubectl-v32": "^2.1.0",
4949
"aws-cdk-lib": "0.0.0",
50-
"cdk8s": "2.69.68",
50+
"cdk8s": "2.69.72",
5151
"cdk8s-plus-27": "2.9.5",
5252
"constructs": "^10.0.0"
5353
},

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.api-with-authorizer-and-proxy.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ import * as lambda from 'aws-cdk-lib/aws-lambda';
1010
* * `curl -i <CFN output PetsURL>` should return HTTP code 200
1111
*/
1212

13-
const app = new cdk.App();
13+
const app = new cdk.App({
14+
postCliContext: {
15+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
16+
},
17+
});
1418
const stack = new cdk.Stack(app, 'integtest-restapi-with-authorizer-and-proxy');
1519

1620
// create a cognito user pool

0 commit comments

Comments
 (0)