Skip to content

Commit 7a23efc

Browse files
Merge branch 'main' into support_putevents_in_apigatewayv2_eventbridge_integrations
2 parents ba1ab64 + 5e4f603 commit 7a23efc

File tree

102 files changed

+2854
-458
lines changed

Some content is hidden

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

102 files changed

+2854
-458
lines changed

.github/workflows/codecov-collect.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: cd packages/aws-cdk-lib && yarn test core
2929

3030
- name: Upload Coverage and PR Info
31-
uses: actions/upload-artifact@v4
31+
uses: actions/upload-artifact@v5
3232
with:
3333
name: coverage-artifacts
3434
path: |

.github/workflows/pr-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
sudo sysctl -w vm.max_map_count=2251954
6666
6767
- name: Build
68-
run: /bin/bash ./build.sh --ci
68+
run: /bin/bash ./build.sh --ci --concurrency=10
6969

7070
- name: Run Rosetta
7171
run: /bin/bash ./scripts/run-rosetta.sh

.github/workflows/pr-linter-review-trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
mkdir -p ./pr
2727
echo $PR_NUMBER > ./pr/pr_number
2828
echo $PR_SHA > ./pr/pr_sha
29-
- uses: actions/upload-artifact@v4
29+
- uses: actions/upload-artifact@v5
3030
with:
3131
name: pr_info
3232
path: pr/

.github/workflows/spec-update.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
# Upload the current db to be used later
3333
- name: Upload base database
34-
uses: actions/upload-artifact@v4
34+
uses: actions/upload-artifact@v5
3535
with:
3636
name: db.base.json.gz
3737
path: node_modules/@aws-cdk/aws-service-spec/db.json.gz
@@ -49,7 +49,7 @@ jobs:
4949

5050
# Now that we have updated the database, upload the new candidate db
5151
- name: Upload head database
52-
uses: actions/upload-artifact@v4
52+
uses: actions/upload-artifact@v5
5353
with:
5454
name: db.head.json.gz
5555
path: node_modules/@aws-cdk/aws-service-spec/db.json.gz
@@ -69,7 +69,7 @@ jobs:
6969
git add .
7070
git diff --patch --staged > ${{ runner.temp }}/update-spec.patch
7171
- name: Upload Patch
72-
uses: actions/upload-artifact@v4
72+
uses: actions/upload-artifact@v5
7373
with:
7474
name: update-spec.patch
7575
path: ${{ runner.temp }}/update-spec.patch
@@ -110,7 +110,7 @@ jobs:
110110
cat DIFF >> PR.md
111111
echo '```' >> PR.md
112112
- name: Upload PR body file
113-
uses: actions/upload-artifact@v4
113+
uses: actions/upload-artifact@v5
114114
with:
115115
name: PR.md
116116
path: PR.md

.github/workflows/update-metadata-regions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
git add .
3434
git diff --patch --staged > ${{ runner.temp }}/update-spec.patch
3535
- name: Upload Patch
36-
uses: actions/upload-artifact@v4
36+
uses: actions/upload-artifact@v5
3737
with:
3838
name: update-spec.patch
3939
path: ${{ runner.temp }}/update-spec.patch

.github/workflows/yarn-upgrade-need-manual-work.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
git diff --binary --patch --staged > ${{ runner.temp }}/upgrade.patch
6767
6868
- name: Upload Patch
69-
uses: actions/upload-artifact@v4
69+
uses: actions/upload-artifact@v5
7070
with:
7171
name: upgrade.patch
7272
path: ${{ runner.temp }}/upgrade.patch

.github/workflows/yarn-upgrade.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
git add .
8181
git diff --patch --staged > ${{ runner.temp }}/upgrade.patch
8282
- name: Upload Patch
83-
uses: actions/upload-artifact@v4
83+
uses: actions/upload-artifact@v5
8484
with:
8585
name: upgrade.patch
8686
path: ${{ runner.temp }}/upgrade.patch

.mergify.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ queue_rules:
2525
- check-success=build
2626
- or:
2727
- "-label~=pr/needs-integration-tests-deployment"
28-
- "check-success=integration_test_deployment"
28+
- "check-success=Deploy integration test snapshots (requires `pr/needs-integration-tests-deployment` label)"
2929
commit_message_template: |-
3030
{{ title }} (#{{ number }})
3131
{{ body }}
@@ -50,7 +50,7 @@ queue_rules:
5050
- check-success=build
5151
- or:
5252
- "-label~=pr/needs-integration-tests-deployment"
53-
- "check-success=integration_test_deployment"
53+
- "check-success=Deploy integration test snapshots (requires `pr/needs-integration-tests-deployment` label)"
5454
commit_message_template: |-
5555
{{ title }} (#{{ number }})
5656
{{ body }}
@@ -74,7 +74,7 @@ queue_rules:
7474
- check-success=build
7575
- or:
7676
- "-label~=pr/needs-integration-tests-deployment"
77-
- "check-success=integration_test_deployment"
77+
- "check-success=Deploy integration test snapshots (requires `pr/needs-integration-tests-deployment` label)"
7878
commit_message_template: |-
7979
{{ title }} (#{{ number }})
8080
{{ body }}
@@ -109,7 +109,7 @@ pull_request_rules:
109109
- check-success=build
110110
- or:
111111
- "-label~=pr/needs-integration-tests-deployment"
112-
- "check-success=integration_test_deployment"
112+
- "check-success=Deploy integration test snapshots (requires `pr/needs-integration-tests-deployment` label)"
113113
- name: automatic priority merge
114114
actions:
115115
comment:
@@ -133,7 +133,7 @@ pull_request_rules:
133133
- check-success=build
134134
- or:
135135
- "-label~=pr/needs-integration-tests-deployment"
136-
- "check-success=integration_test_deployment"
136+
- "check-success=Deploy integration test snapshots (requires `pr/needs-integration-tests-deployment` label)"
137137
- name: automatic merge (2+ approvers)
138138
actions:
139139
comment:
@@ -157,7 +157,7 @@ pull_request_rules:
157157
- check-success=build
158158
- or:
159159
- "-label~=pr/needs-integration-tests-deployment"
160-
- "check-success=integration_test_deployment"
160+
- "check-success=Deploy integration test snapshots (requires `pr/needs-integration-tests-deployment` label)"
161161
- name: automatic merge (no-squash)
162162
actions:
163163
comment:
@@ -181,7 +181,7 @@ pull_request_rules:
181181
- check-success=build
182182
- or:
183183
- "-label~=pr/needs-integration-tests-deployment"
184-
- "check-success=integration_test_deployment"
184+
- "check-success=Deploy integration test snapshots (requires `pr/needs-integration-tests-deployment` label)"
185185
- name: remove stale reviews
186186
actions:
187187
dismiss_reviews:
@@ -224,7 +224,7 @@ pull_request_rules:
224224
- check-success=build
225225
- or:
226226
- "-label~=pr/needs-integration-tests-deployment"
227-
- "check-success=integration_test_deployment"
227+
- "check-success=Deploy integration test snapshots (requires `pr/needs-integration-tests-deployment` label)"
228228
priority_rules:
229229
- name: priority for queue `default-merge`
230230
conditions:

allowed-breaking-changes.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -966,3 +966,6 @@ removed:aws-cdk-lib.lambda_layer_kubectl.KubectlLayer
966966
# Fixing the JsonSchema interface to be consistent with JSON Schema spec
967967
changed-type:aws-cdk-lib.aws_apigateway.JsonSchema.additionalItems
968968
strengthened:aws-cdk-lib.aws_apigateway.JsonSchema
969+
970+
# Revert a failing change
971+
strengthened:aws-cdk-lib.aws_stepfunctions.StateMachineProps

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.pipeline-elastic-beanstalk-deploy.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as iam from 'aws-cdk-lib/aws-iam';
55
import { IManagedPolicy, ManagedPolicyReference } from 'aws-cdk-lib/aws-iam';
66
import * as s3 from 'aws-cdk-lib/aws-s3';
77
import * as deploy from 'aws-cdk-lib/aws-s3-deployment';
8-
import { App, Fn, RemovalPolicy, Stack, UnscopedValidationError } from 'aws-cdk-lib';
8+
import { App, Fn, RemovalPolicy, ResourceEnvironment, Stack, UnscopedValidationError } from 'aws-cdk-lib';
99
import * as integ from '@aws-cdk/integ-tests-alpha';
1010
import * as cpactions from 'aws-cdk-lib/aws-codepipeline-actions';
1111
import { Node } from 'constructs';
@@ -56,6 +56,9 @@ function makePolicy(arn: string): IManagedPolicy {
5656
get node(): Node {
5757
throw new UnscopedValidationError('The result of fromAwsManagedPolicyName can not be used in this API');
5858
},
59+
get env(): ResourceEnvironment {
60+
throw new UnscopedValidationError('The result of fromAwsManagedPolicyName can not be used in this API');
61+
},
5962
};
6063
}
6164

0 commit comments

Comments
 (0)