Skip to content

Commit e6322aa

Browse files
authored
2 parents ae455d8 + 4c2130c commit e6322aa

File tree

1,413 files changed

+358505
-433419
lines changed

Some content is hidden

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

1,413 files changed

+358505
-433419
lines changed

.github/workflows/pr-linter.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
needs: download-if-workflow-run
7272
steps:
7373
- name: Checkout
74-
uses: actions/checkout@v3
74+
uses: actions/checkout@v4
7575

7676
- name: Install & Build prlint
7777
run: yarn install --frozen-lockfile && cd tools/@aws-cdk/prlint && yarn build+test

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
any-changed-files: ${{ steps.changed-cli-files.outputs.cli_any_changed }}
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515
with:
1616
ref: ${{ github.event.pull_request.head.ref }}
1717
repository: ${{ github.event.pull_request.head.repo.full_name }}
1818
fetch-depth: 0
1919
persist-credentials: false
2020
- name: Find changed cli files
2121
id: changed-cli-files
22-
uses: tj-actions/changed-files@2f7246cb26e8bb6709b6cbfc1fec7febfe82e96a
22+
uses: tj-actions/changed-files@246636f5fa148b5ad8e65ca4c57b18af3123e5f6
2323
with:
2424
base_sha: ${{ github.event.pull_request.base.sha }}
2525
files_yaml: |
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-latest
3535
steps:
3636
- name: Checkout
37-
uses: actions/checkout@v3
37+
uses: actions/checkout@v4
3838
with:
3939
# Needs to run with PROJEN_GITHUB_TOKEN because we need permissions to force push the branch
4040
token: ${{ secrets.PROJEN_GITHUB_TOKEN }}

.github/workflows/spec-update.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818

1919
- name: Check Out
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

2222
- name: Set up Node
2323
uses: actions/setup-node@v3
@@ -59,7 +59,7 @@ jobs:
5959
runs-on: ubuntu-latest
6060
steps:
6161
- name: Check Out
62-
uses: actions/checkout@v3
62+
uses: actions/checkout@v4
6363

6464
- name: Download patch
6565
uses: actions/download-artifact@v3

.github/workflows/update-contributors.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
if: github.repository == 'aws/aws-cdk'
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
- uses: minicli/[email protected]
1515
name: "Update a projects CONTRIBUTORS file"
1616
env:

.github/workflows/v2-pull-request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: checkout
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727
with:
2828
branch: ${{ github.event.pull_request.head.ref }}
2929
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/yarn-upgrade.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616

1717
- name: Check Out
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Set up Node
2121
uses: actions/setup-node@v3
@@ -103,7 +103,7 @@ jobs:
103103
runs-on: ubuntu-latest
104104
steps:
105105
- name: Check Out
106-
uses: actions/checkout@v3
106+
uses: actions/checkout@v4
107107

108108
- name: Download patch
109109
uses: actions/download-artifact@v3

CHANGELOG.v2.alpha.md

+13
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
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.96.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.95.1-alpha.0...v2.96.0-alpha.0) (2023-09-13)
6+
7+
8+
### Features
9+
10+
* **glue:** add ExternalTable for use with connections ([#24753](https://github.com/aws/aws-cdk/issues/24753)) ([1c03cb3](https://github.com/aws/aws-cdk/commit/1c03cb383491c164bc0914283fc3de171f6abae1)), closes [#24741](https://github.com/aws/aws-cdk/issues/24741)
11+
12+
13+
### Bug Fixes
14+
15+
* **integ-tests:** use transformToString on API call response body ([#27122](https://github.com/aws/aws-cdk/issues/27122)) ([b0bbd5e](https://github.com/aws/aws-cdk/commit/b0bbd5e5bf8ec5d46a0afb067c8784b8fac18604)), closes [1#L573-L576](https://github.com/aws/1/issues/L573-L576) [#27114](https://github.com/aws/aws-cdk/issues/27114)
16+
* **synthetics:** include auto-delete-underlying-resources in package ([#27096](https://github.com/aws/aws-cdk/issues/27096)) ([5046a9b](https://github.com/aws/aws-cdk/commit/5046a9b67a50bad6748077ca16a977d0844f1775))
17+
518
## [2.95.1-alpha.0](https://github.com/aws/aws-cdk/compare/v2.95.0-alpha.0...v2.95.1-alpha.0) (2023-09-08)
619

720
## [2.95.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.94.0-alpha.0...v2.95.0-alpha.0) (2023-09-07)

CHANGELOG.v2.md

+21
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,27 @@
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.96.0](https://github.com/aws/aws-cdk/compare/v2.95.1...v2.96.0) (2023-09-13)
6+
7+
8+
### Features
9+
10+
* update AWS Service Spec ([#27095](https://github.com/aws/aws-cdk/issues/27095)) ([4942658](https://github.com/aws/aws-cdk/commit/49426587f0074f51fd092a97efe4709d0678afa2))
11+
* **batch:** Stabilize Batch ([#27059](https://github.com/aws/aws-cdk/issues/27059)) ([5fc707a](https://github.com/aws/aws-cdk/commit/5fc707a76884f85df783ec674a0ca408fb8c468a)), closes [#27054](https://github.com/aws/aws-cdk/issues/27054)
12+
* **ecs:** add Amazon Linux 2023 to EcsOptimizedImage ([#26989](https://github.com/aws/aws-cdk/issues/26989)) ([0bac8a5](https://github.com/aws/aws-cdk/commit/0bac8a5319b9bb4df5303ed3af17d33866fd30b4)), closes [#26988](https://github.com/aws/aws-cdk/issues/26988)
13+
14+
15+
### Bug Fixes
16+
17+
* **codedeploy:** CustomLambdaDeploymentConfig is broken ([#27087](https://github.com/aws/aws-cdk/issues/27087)) ([c53831d](https://github.com/aws/aws-cdk/commit/c53831d9c263b09315e352f7d5b4066703f179e7))
18+
* **codepipeline-actions:** update zip to noncorrupted one ([#27120](https://github.com/aws/aws-cdk/issues/27120)) ([eb1d363](https://github.com/aws/aws-cdk/commit/eb1d363494633f92ea79132b077bcd293d024629)), closes [#27117](https://github.com/aws/aws-cdk/issues/27117)
19+
* **custom-resources:** AwsCustomResource fails when SDKv3 expects Uint8Array ([#27065](https://github.com/aws/aws-cdk/issues/27065)) ([70d9bf7](https://github.com/aws/aws-cdk/commit/70d9bf750408e085e0f5ccf68adfa2dd583ed85d)), closes [#27034](https://github.com/aws/aws-cdk/issues/27034)
20+
* **custom-resources:** maxwaittime reduced to 60 seconds from 300 seconds ([#27076](https://github.com/aws/aws-cdk/issues/27076)) ([c3a4b7b](https://github.com/aws/aws-cdk/commit/c3a4b7b899289b04fffb6d65b3289cc5526d5397))
21+
* **dynamodb:** update CfnGlobalTable in TableV2 constructor to use this instead of scope ([#27075](https://github.com/aws/aws-cdk/issues/27075)) ([889ad8c](https://github.com/aws/aws-cdk/commit/889ad8ca85c493419e7791137779a673abebca0d)), closes [#27062](https://github.com/aws/aws-cdk/issues/27062)
22+
* **lambda:** update default runtimes and tests to node 18 ([#27066](https://github.com/aws/aws-cdk/issues/27066)) ([04b30f3](https://github.com/aws/aws-cdk/commit/04b30f30b043e042852f3880f49fb061751b74c5))
23+
* **route53:** timeouts due to delete-existing-record-set-handler's wait time ([#27068](https://github.com/aws/aws-cdk/issues/27068)) ([d730f7f](https://github.com/aws/aws-cdk/commit/d730f7f1954c3d54c9e9c21c0eb7f9393a21acb4)), closes [#27060](https://github.com/aws/aws-cdk/issues/27060)
24+
* **triggers:** errors are shown as list of bytes ([#27119](https://github.com/aws/aws-cdk/issues/27119)) ([07c6775](https://github.com/aws/aws-cdk/commit/07c6775fa5d0d9d2d07bd29cce465f3581b96197)), closes [#27113](https://github.com/aws/aws-cdk/issues/27113)
25+
526
## [2.95.1](https://github.com/aws/aws-cdk/compare/v2.95.0...v2.95.1) (2023-09-08)
627

728

CONTRIBUTING.md

+15-4
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,17 @@ CDK integration tests.
487487

488488
* Create a commit with your changes and push them to a
489489
[fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo).
490-
> Note: CDK core members can push to a branch on the AWS CDK repo (naming convention: `<user>/<feature-bug-name>`).
490+
> [!IMPORTANT]
491+
> We will not be able to accept your contribution if you do not allow commits to your PR branch, as it introduces
492+
> friction in our review process and breaks our automation that syncs with the main branch. In these scenarios, we will close
493+
> your pull request and ask that you recreate it with the necessary permissions.
494+
> This means that you must contribute from a fork within your personal account (as opposed to an organization owned account) and also develop
495+
> your contribution on a branch other than `main`. See
496+
> [Allowing changes to a pull request branch created from a fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork)
497+
> for more information.
498+
499+
> [!NOTE]
500+
> CDK core members can push to a branch on the AWS CDK repo (naming convention: `<user>/<feature-bug-name>`).
491501
492502
* Create a [pull request on
493503
Github](https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork).
@@ -593,9 +603,10 @@ dependency.**
593603

594604
#### Adding new unconventional dependencies
595605

596-
> :warning: Do not add these. If there is a tool that you want to use in your
597-
CDK constructs, see [Adding construct runtime
598-
dependencies](#Adding-construct-runtime-dependencies).
606+
> [!WARNING]
607+
> Do not add these. If there is a tool that you want to use in your
608+
> CDK constructs, see [Adding construct runtime
609+
> dependencies](#Adding-construct-runtime-dependencies).
599610
600611
**For the aws-cdk an unconventional dependency is defined as any dependency that is not managed via the module's
601612
`package.json` file.**

packages/@aws-cdk-testing/cli-integ/resources/cdk-apps/app/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ class BundlingStage extends cdk.Stage {
351351
new lambda.Function(stack, 'Handler', {
352352
code: lambda.Code.fromAsset(path.join(__dirname, 'lambda')),
353353
handler: 'index.handler',
354-
runtime: lambda.Runtime.NODEJS_16_X,
354+
runtime: lambda.Runtime.NODEJS_LATEST,
355355
});
356356
}
357357
}

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@
2929
},
3030
"license": "Apache-2.0",
3131
"devDependencies": {
32-
"@aws-cdk/aws-batch-alpha": "0.0.0",
3332
"@aws-cdk/cdk-build-tools": "0.0.0",
3433
"@aws-cdk/integ-runner": "^0.0.0",
3534
"@aws-cdk/pkglint": "0.0.0",
35+
"@aws-sdk/client-acm": "3.408.0",
36+
"@aws-sdk/client-rds": "3.408.0",
37+
"@aws-sdk/client-s3": "3.408.0",
3638
"delay": "5.0.0"
3739
},
3840
"dependencies": {

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.request-authorizer.lit.js.snapshot/RequestAuthorizerInteg.assets.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
}
1515
}
1616
},
17-
"2e7d8bf0e8057cc8d78fd4928137f285242b175a548bbcf501299a118037c8d1": {
17+
"4f386f4c2e0c9ab2438dbd353ec9ab0ccb080c2c9ad43ff62d01838ab904a016": {
1818
"source": {
1919
"path": "RequestAuthorizerInteg.template.json",
2020
"packaging": "file"
2121
},
2222
"destinations": {
2323
"current_account-current_region": {
2424
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
25-
"objectKey": "2e7d8bf0e8057cc8d78fd4928137f285242b175a548bbcf501299a118037c8d1.json",
25+
"objectKey": "4f386f4c2e0c9ab2438dbd353ec9ab0ccb080c2c9ad43ff62d01838ab904a016.json",
2626
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
2727
}
2828
}

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.request-authorizer.lit.js.snapshot/RequestAuthorizerInteg.template.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"Arn"
4848
]
4949
},
50-
"Runtime": "nodejs16.x"
50+
"Runtime": "nodejs18.x"
5151
},
5252
"DependsOn": [
5353
"MyAuthorizerFunctionServiceRole8A34C19E"

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.request-authorizer.lit.js.snapshot/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"validateOnSynth": false,
1818
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
1919
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
20-
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/2e7d8bf0e8057cc8d78fd4928137f285242b175a548bbcf501299a118037c8d1.json",
20+
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/4f386f4c2e0c9ab2438dbd353ec9ab0ccb080c2c9ad43ff62d01838ab904a016.json",
2121
"requiresBootstrapStackVersion": 6,
2222
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
2323
"additionalDependencies": [

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.request-authorizer.lit.js.snapshot/tree.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
"Arn"
115115
]
116116
},
117-
"runtime": "nodejs16.x"
117+
"runtime": "nodejs18.x"
118118
}
119119
},
120120
"constructInfo": {
@@ -720,7 +720,7 @@
720720
"path": "Tree",
721721
"constructInfo": {
722722
"fqn": "constructs.Construct",
723-
"version": "10.2.69"
723+
"version": "10.2.70"
724724
}
725725
}
726726
},

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.request-authorizer.lit.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import * as path from 'path';
22
import * as lambda from 'aws-cdk-lib/aws-lambda';
33
import { App, Stack } from 'aws-cdk-lib';
44
import { MockIntegration, PassthroughBehavior, RestApi, RequestAuthorizer, IdentitySource } from 'aws-cdk-lib/aws-apigateway';
5+
import { STANDARD_NODEJS_RUNTIME } from '../../../config';
56

67
// Against the RestApi endpoint from the stack output, run
78
// `curl -s -o /dev/null -w "%{http_code}" <url>` should return 401
@@ -12,7 +13,7 @@ const app = new App();
1213
const stack = new Stack(app, 'RequestAuthorizerInteg');
1314

1415
const authorizerFn = new lambda.Function(stack, 'MyAuthorizerFunction', {
15-
runtime: lambda.Runtime.NODEJS_16_X,
16+
runtime: STANDARD_NODEJS_RUNTIME,
1617
handler: 'index.handler',
1718
code: lambda.AssetCode.fromAsset(path.join(__dirname, 'integ.request-authorizer.handler')),
1819
});

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.token-authorizer-iam-role.js.snapshot/TokenAuthorizerIAMRoleInteg.assets.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
}
1515
}
1616
},
17-
"fb708804d80325ef7f30899c91423ae60ebe0a8833e8777df39537565bb69b0b": {
17+
"1700f94824f0c5de41fa729800151d6296945b6e5fa1536c384e04b7a1377f4c": {
1818
"source": {
1919
"path": "TokenAuthorizerIAMRoleInteg.template.json",
2020
"packaging": "file"
2121
},
2222
"destinations": {
2323
"current_account-current_region": {
2424
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
25-
"objectKey": "fb708804d80325ef7f30899c91423ae60ebe0a8833e8777df39537565bb69b0b.json",
25+
"objectKey": "1700f94824f0c5de41fa729800151d6296945b6e5fa1536c384e04b7a1377f4c.json",
2626
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
2727
}
2828
}

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.token-authorizer-iam-role.js.snapshot/TokenAuthorizerIAMRoleInteg.template.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"Arn"
4848
]
4949
},
50-
"Runtime": "nodejs16.x"
50+
"Runtime": "nodejs18.x"
5151
},
5252
"DependsOn": [
5353
"MyAuthorizerFunctionServiceRole8A34C19E"

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.token-authorizer-iam-role.js.snapshot/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"validateOnSynth": false,
1818
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
1919
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
20-
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/fb708804d80325ef7f30899c91423ae60ebe0a8833e8777df39537565bb69b0b.json",
20+
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/1700f94824f0c5de41fa729800151d6296945b6e5fa1536c384e04b7a1377f4c.json",
2121
"requiresBootstrapStackVersion": 6,
2222
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
2323
"additionalDependencies": [

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.token-authorizer-iam-role.js.snapshot/tree.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
"Arn"
115115
]
116116
},
117-
"runtime": "nodejs16.x"
117+
"runtime": "nodejs18.x"
118118
}
119119
},
120120
"constructInfo": {
@@ -579,7 +579,7 @@
579579
"path": "iam-token-authorizer/DefaultTest/Default",
580580
"constructInfo": {
581581
"fqn": "constructs.Construct",
582-
"version": "10.2.69"
582+
"version": "10.2.70"
583583
}
584584
},
585585
"DeployAssert": {
@@ -625,7 +625,7 @@
625625
"path": "Tree",
626626
"constructInfo": {
627627
"fqn": "constructs.Construct",
628-
"version": "10.2.69"
628+
"version": "10.2.70"
629629
}
630630
}
631631
},

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.token-authorizer-iam-role.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import * as lambda from 'aws-cdk-lib/aws-lambda';
44
import { App, Stack } from 'aws-cdk-lib';
55
import { IntegTest } from '@aws-cdk/integ-tests-alpha';
66
import { AuthorizationType, MockIntegration, PassthroughBehavior, RestApi, TokenAuthorizer } from 'aws-cdk-lib/aws-apigateway';
7+
import { STANDARD_NODEJS_RUNTIME } from '../../../config';
78

89
/*
910
* Stack verification steps:
@@ -16,7 +17,7 @@ const app = new App();
1617
const stack = new Stack(app, 'TokenAuthorizerIAMRoleInteg');
1718

1819
const authorizerFn = new lambda.Function(stack, 'MyAuthorizerFunction', {
19-
runtime: lambda.Runtime.NODEJS_16_X,
20+
runtime: STANDARD_NODEJS_RUNTIME,
2021
handler: 'index.handler',
2122
code: lambda.AssetCode.fromAsset(path.join(__dirname, 'integ.token-authorizer.handler')),
2223
});

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.token-authorizer.js.snapshot/TokenAuthorizerInteg.assets.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
}
1515
}
1616
},
17-
"568e7d470f7811087df1c347caee3ce932a45d3bceb2274d3f0376ac5a8b8f72": {
17+
"ade8b2061e29b24d8acb0dbb8d8e63847fd6feefbe140e87eb7d76ea0cee27cf": {
1818
"source": {
1919
"path": "TokenAuthorizerInteg.template.json",
2020
"packaging": "file"
2121
},
2222
"destinations": {
2323
"current_account-current_region": {
2424
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
25-
"objectKey": "568e7d470f7811087df1c347caee3ce932a45d3bceb2274d3f0376ac5a8b8f72.json",
25+
"objectKey": "ade8b2061e29b24d8acb0dbb8d8e63847fd6feefbe140e87eb7d76ea0cee27cf.json",
2626
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
2727
}
2828
}

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.token-authorizer.js.snapshot/TokenAuthorizerInteg.template.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"Arn"
4848
]
4949
},
50-
"Runtime": "nodejs16.x"
50+
"Runtime": "nodejs18.x"
5151
},
5252
"DependsOn": [
5353
"MyAuthorizerFunctionServiceRole8A34C19E"
@@ -384,7 +384,7 @@
384384
"Arn"
385385
]
386386
},
387-
"Runtime": "nodejs16.x",
387+
"Runtime": "nodejs18.x",
388388
"Timeout": 10
389389
},
390390
"DependsOn": [

0 commit comments

Comments
 (0)