Skip to content

Commit 8f84c62

Browse files
authored
2 parents b5670b3 + b448bbb commit 8f84c62

File tree

582 files changed

+137495
-120920
lines changed

Some content is hidden

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

582 files changed

+137495
-120920
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Issues created outside GitHub issue templates (e.g., via API or CLI) receive
2+
# no labels, which causes them to be skipped by the triage pipeline in
3+
# issue-label-assign.yml. This workflow ensures they get 'needs-triage'.
4+
name: "Ensure triage label"
5+
on:
6+
issues:
7+
types: [opened]
8+
9+
jobs:
10+
ensure-triage-label:
11+
if: join(github.event.issue.labels.*.name, '') == ''
12+
runs-on: ubuntu-latest
13+
permissions:
14+
issues: write
15+
steps:
16+
- uses: actions/github-script@v8
17+
with:
18+
script: |
19+
await github.rest.issues.addLabels({
20+
owner: context.repo.owner,
21+
repo: context.repo.repo,
22+
issue_number: context.issue.number,
23+
labels: ['needs-triage']
24+
});

.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@v19
39+
uses: dawidd6/action-download-artifact@v20
4040
continue-on-error: true
4141
with:
4242
run_id: ${{ github.event.workflow_run.id }}

.github/workflows/spec-update.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,13 @@ 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 code
62-
run: lerna run gen --stream --no-progress --skip-nx-cache --scope aws-cdk-lib --scope @aws-cdk/mixins-preview
61+
# Generate L1 code for aws-cdk-lib first — this updates scope-map.json with new services.
62+
# mixins-preview and cfn-property-mixins read scope-map.json during their gen, so they
63+
# must run after aws-cdk-lib to see the new service entries.
64+
- name: Generate L1 code
65+
run: lerna run gen --stream --no-progress --skip-nx-cache --scope aws-cdk-lib
66+
- name: Generate mixins
67+
run: lerna run gen --stream --no-progress --skip-nx-cache --scope @aws-cdk/mixins-preview --scope @aws-cdk/cfn-property-mixins
6368

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

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.249.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.248.0-alpha.0...v2.249.0-alpha.0) (2026-04-10)
6+
57
## [2.248.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.247.0-alpha.0...v2.248.0-alpha.0) (2026-04-02)
68

79
## [2.247.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.246.0-alpha.0...v2.247.0-alpha.0) (2026-04-02)

CHANGELOG.v2.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,38 @@
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.249.0](https://github.com/aws/aws-cdk/compare/v2.248.0...v2.249.0) (2026-04-10)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* L1 resources are automatically generated from
11+
public CloudFormation Resource Schemas. They are built to closely
12+
reflect the real state of CloudFormation. Sometimes these updates can
13+
contain changes that are incompatible with previous types, but more
14+
accurately reflect reality. In this release we have changed:
15+
16+
aws-appstream: AWS::AppStream::Stack: Id attribute removed.
17+
aws-appsync: AWS::AppSync::GraphQLApi: LogConfig.CloudWatchLogsRoleArn
18+
property is now required.
19+
aws-appsync: AWS::AppSync::GraphQLApi: LogConfig.FieldLogLevel property
20+
is now required.
21+
aws-kafkaconnect: AWS::KafkaConnect::Connector:
22+
ProvisionedCapacity.McuCount property is now required.
23+
24+
### Features
25+
26+
* **batch:** add AL2023 image types and default to AL2023 (under feature flag) ([#37539](https://github.com/aws/aws-cdk/issues/37539)) ([6c1251c](https://github.com/aws/aws-cdk/commit/6c1251c5b18b99a31b6973d3877907f93b5130f0)), closes [#35839](https://github.com/aws/aws-cdk/issues/35839) [#37205](https://github.com/aws/aws-cdk/issues/37205)
27+
* update L1 CloudFormation resource definitions ([f28bb0e](https://github.com/aws/aws-cdk/commit/f28bb0ea65e6cd777299e14c364d33f8cd4a7af9))
28+
* update L1 CloudFormation resource definitions ([#37530](https://github.com/aws/aws-cdk/issues/37530)) ([117562c](https://github.com/aws/aws-cdk/commit/117562c3545720a5ed5127ecadae02787241b483))
29+
* **core:** add source tracing for L1 construct property mutations ([#37543](https://github.com/aws/aws-cdk/issues/37543)) ([8f38378](https://github.com/aws/aws-cdk/commit/8f3837807ef5d06d249c59cf9a567a71a4d4cc8d))
30+
31+
32+
### Bug Fixes
33+
34+
* ensure issues created outside templates receive needs-triage label ([#37505](https://github.com/aws/aws-cdk/issues/37505)) ([58cb92a](https://github.com/aws/aws-cdk/commit/58cb92a30fb3c3984f9360a39cce3dbdf46999e9)), closes [#37454](https://github.com/aws/aws-cdk/issues/37454) [Abogical/aws-cdk#24](https://github.com/Abogical/aws-cdk/issues/24)
35+
* include cfn-property-mixins in spec-update workflow gen step ([e847c52](https://github.com/aws/aws-cdk/commit/e847c52d750089aa0213f620fc55de70fc06b3cd)), closes [#36300](https://github.com/aws/aws-cdk/issues/36300)
36+
537
## [2.248.0](https://github.com/aws/aws-cdk/compare/v2.247.0...v2.248.0) (2026-04-02)
638

739

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"lint": "cdk-lint",
1010
"pkglint": "pkglint -f",
1111
"test": "cdk-test",
12-
"integ": "integ-runner --unstable=toolkit-lib-engine --language javascript",
12+
"integ": "env JSII_DEPRECATED=fail integ-runner --unstable=toolkit-lib-engine --language javascript",
1313
"package": "cdk-package",
1414
"build+test": "yarn build && yarn test",
1515
"build+extract": "yarn build",

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.stepfunctions-api-without-default-method-responses.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class SfnRestApiWithoutDefaultMethodResponsesStack extends cdk.Stack {
1313
});
1414

1515
const stateMachine = new sfn.StateMachine(this, 'StateMachine', {
16-
definition: passTask,
16+
definitionBody: sfn.DefinitionBody.fromChainable(passTask),
1717
stateMachineType: sfn.StateMachineType.EXPRESS,
1818
});
1919

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.stepfunctions-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class StepFunctionsRestApiDeploymentStack extends cdk.Stack {
2020
});
2121

2222
const stateMachine = new sfn.StateMachine(this, 'StateMachine', {
23-
definition: passTask,
23+
definitionBody: sfn.DefinitionBody.fromChainable(passTask),
2424
stateMachineType: sfn.StateMachineType.EXPRESS,
2525
});
2626

packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2-integrations/test/http/integ.stepfunctions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ const app = new App();
88
const stack = new Stack(app, 'stepfunctions-integration');
99

1010
const stateMachine = new sfn.StateMachine(stack, 'RouteStateMachine', {
11-
definition: new sfn.Pass(stack, 'Pass1'),
11+
definitionBody: sfn.DefinitionBody.fromChainable(new sfn.Pass(stack, 'Pass1')),
1212
});
1313
const expressStateMachine = new sfn.StateMachine(stack, 'ExpressStateMachine', {
14-
definition: new sfn.Pass(stack, 'Pass2'),
14+
definitionBody: sfn.DefinitionBody.fromChainable(new sfn.Pass(stack, 'Pass2')),
1515
stateMachineType: sfn.StateMachineType.EXPRESS,
1616
});
1717

packages/@aws-cdk-testing/framework-integ/test/aws-appsync/test/integ.api-import.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ const baseStack = new cdk.Stack(app, 'baseStack');
2424

2525
const baseApi = new appsync.GraphqlApi(baseStack, 'baseApi', {
2626
name: 'baseApi',
27-
schema: appsync.SchemaFile.fromAsset(path.join(__dirname, 'appsync.test.graphql')),
27+
definition: {
28+
schema: appsync.SchemaFile.fromAsset(path.join(__dirname, 'appsync.test.graphql')),
29+
},
2830
});
2931

3032
const stack = new cdk.Stack(app, 'stack');

0 commit comments

Comments
 (0)