diff --git a/scripts/update-packagejson/update-cdk-packages.ts b/scripts/update-packagejson/update-cdk-packages.ts deleted file mode 100644 index cb32b33c16..0000000000 --- a/scripts/update-packagejson/update-cdk-packages.ts +++ /dev/null @@ -1,248 +0,0 @@ -#!/usr/bin/env tsx - -import { readFile, writeFile } from 'node:fs/promises'; -import { opendir } from 'node:fs/promises'; -import { resolve, join } from 'node:path'; -import { setTimeout as sleep } from 'node:timers/promises'; - -interface PackageJson { - dependencies?: Record; - devDependencies?: Record; - [key: string]: unknown; -} - -interface CdkVersion { - version: string; -} - -type DependencyUpdates = { - dependencies: Record; - devDependencies: Record; -}; - -class PackageUpdateError extends Error { - override cause?: Error; - constructor(message: string, options?: { cause: Error }) { - super(message); - this.name = 'PackageUpdateError'; - this.cause = options?.cause; - } -} - -// Constants for URLs -const URLS = { - templatePackage: 'https://raw.githubusercontent.com/aws/aws-cdk-cli/refs/heads/main/packages/aws-cdk/lib/init-templates/app/typescript/package.json', - cdkVersion: 'https://raw.githubusercontent.com/aws/aws-cdk/main/version.v2.json', - constructsPackage: 'https://raw.githubusercontent.com/aws/aws-cdk-cli/refs/heads/main/packages/aws-cdk/package.json' -} as const; - -// Utility function to get CDK CLI version -async function getCdkCliVersion(): Promise { - try { - const { exec } = require('child_process'); - return new Promise((resolve, reject) => { - exec('npx cdk --version', (error: Error | null, stdout: string) => { - if (error) { - reject(new PackageUpdateError('Failed to get CDK version', { cause: error })); - return; - } - // Extract just the version number from the output (e.g., "2.1004.0" from "2.1004.0 (build f0ad96e)") - const version = stdout.trim().split(' ')[0]; - resolve(version); - }); - }); - } catch (error) { - throw new PackageUpdateError( - 'Failed to get CDK CLI version', - { cause: error instanceof Error ? error : new Error(String(error)) } - ); - } -} - -// Utility function to fetch and parse JSON with retries -async function fetchJson(url: string, retries = 3): Promise { - for (let attempt = 1; attempt <= retries; attempt++) { - try { - const controller = new AbortController(); - const timeoutId = setTimeout(() => controller.abort(), 5000); // 5 second timeout - - const response = await fetch(url, { - signal: controller.signal, - headers: { - 'Accept': 'application/json', - 'User-Agent': 'CDK-Package-Updater' - } - }); - clearTimeout(timeoutId); - - if (!response.ok) { - throw new Error(`HTTP error! status: ${response.status}`); - } - - return await response.json() as T; - } catch (error) { - if (attempt === retries) { - throw new PackageUpdateError( - `Failed to fetch from ${url} after ${retries} attempts`, - { cause: error instanceof Error ? error : new Error(String(error)) } - ); - } - console.warn(`Attempt ${attempt} failed, retrying after ${attempt * 1000}ms...`); - await sleep(attempt * 1000); // Exponential backoff - } - } - throw new PackageUpdateError('Unreachable code path'); -} - -// Utility function to find all package.json files using async iterator -async function findPackageJsonFiles(startPath: string): Promise { - const results: string[] = []; - - async function* walk(dir: string): AsyncGenerator { - try { - for await (const entry of await opendir(dir)) { - const fullPath = join(dir, entry.name); - if (entry.isDirectory() && entry.name !== 'node_modules') { - yield* walk(fullPath); - } else if (entry.isFile() && entry.name === 'package.json') { - yield fullPath; - } - } - } catch (error) { - throw new PackageUpdateError( - `Error walking directory ${dir}`, - { cause: error instanceof Error ? error : new Error(String(error)) } - ); - } - } - - for await (const file of walk(startPath)) { - results.push(file); - } - - return results; -} - -// Function to update a single package.json file -async function updatePackageJson( - filePath: string, - updates: DependencyUpdates -): Promise { - try { - const fileContent = await readFile(filePath, { encoding: 'utf8' }); - const content = JSON.parse(fileContent) as PackageJson; - let updated = false; - - // Helper function to update dependencies - const updateDeps = ( - depType: 'dependencies' | 'devDependencies', - updates: Record - ) => { - if (!content[depType]) return; - - for (const [pkg, version] of Object.entries(updates)) { - if (content[depType]![pkg] && content[depType]![pkg] !== version) { - content[depType]![pkg] = version; - console.log(`Updated ${pkg} to ${version} in ${filePath}`); - updated = true; - } - } - }; - - // Update both types of dependencies - updateDeps('dependencies', updates.dependencies); - updateDeps('devDependencies', updates.devDependencies); - - if (updated) { - await writeFile(filePath, JSON.stringify(content, null, 2) + '\n'); - } - } catch (error) { - throw new PackageUpdateError( - `Error updating ${filePath}`, - { cause: error instanceof Error ? error : new Error(String(error)) } - ); - } -} - -// Main function -async function updatePackages(): Promise { - console.log('Fetching latest versions from AWS CDK repositories...'); - - try { - // Fetch all required data in parallel with AbortController - const controller = new AbortController(); - const timeoutId = setTimeout(() => controller.abort(), 15000); // 15 second timeout - - const [templatePackage, cdkVersion, constructsPackage] = await Promise.all([ - fetchJson(URLS.templatePackage), - fetchJson(URLS.cdkVersion), - fetchJson(URLS.constructsPackage) - ]); - - clearTimeout(timeoutId); - - // Get the CDK version by running the CLI command - const cdkCliVersion = await getCdkCliVersion(); - console.log(`Detected CDK CLI version: ${cdkCliVersion}`); - - // Define the dependencies to update - const updates: DependencyUpdates = { - devDependencies: { - '@types/jest': templatePackage.devDependencies?.['@types/jest'] ?? '', - '@types/node': templatePackage.devDependencies?.['@types/node'] ?? '', - 'jest': templatePackage.devDependencies?.jest ?? '', - 'ts-jest': templatePackage.devDependencies?.['ts-jest'] ?? '', - 'ts-node': templatePackage.devDependencies?.['ts-node'] ?? '', - 'typescript': templatePackage.devDependencies?.typescript ?? '', - 'aws-cdk': cdkCliVersion - }, - dependencies: { - 'aws-cdk-lib': cdkVersion.version, - 'constructs': constructsPackage.devDependencies?.constructs ?? '' - } - }; - - // Validate that we got all the versions we need - const missingVersions = [ - ...Object.entries(updates.dependencies), - ...Object.entries(updates.devDependencies) - ].filter(([, version]) => !version); - - if (missingVersions.length > 0) { - throw new PackageUpdateError( - `Missing versions for: ${missingVersions.map(([pkg]) => pkg).join(', ')}` - ); - } - - // Find all package.json files - const typescriptDir = resolve(__dirname, '../typescript'); - console.log(`Searching for package.json files in ${typescriptDir}...`); - const packageFiles = await findPackageJsonFiles(typescriptDir); - - console.log(`Found ${packageFiles.length} package.json files to update.`); - - // Update all package.json files in parallel with concurrency limit - const concurrencyLimit = 5; - for (let i = 0; i < packageFiles.length; i += concurrencyLimit) { - const batch = packageFiles.slice(i, i + concurrencyLimit); - await Promise.all( - batch.map(filePath => updatePackageJson(filePath, updates)) - ); - } - - console.log('Package updates completed successfully! 🎉'); - } catch (error) { - if (error instanceof PackageUpdateError) { - console.error('Error updating packages:', error.message); - if (error.cause) { - console.error('Caused by:', error.cause); - } - } else { - console.error('Unexpected error:', error); - } - process.exit(1); - } -} - -// Run the update -updatePackages(); diff --git a/typescript/amazon-mq-rabbitmq-lambda/package.json b/typescript/amazon-mq-rabbitmq-lambda/package.json index c30688cc52..ffe9b91a9a 100644 --- a/typescript/amazon-mq-rabbitmq-lambda/package.json +++ b/typescript/amazon-mq-rabbitmq-lambda/package.json @@ -11,17 +11,17 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { "@cdklabs/cdk-amazonmq": "^0.0.1", - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/amplify-console-app/package.json b/typescript/amplify-console-app/package.json index c5992db6a9..803d145337 100644 --- a/typescript/amplify-console-app/package.json +++ b/typescript/amplify-console-app/package.json @@ -14,12 +14,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/api-cors-lambda-crud-dynamodb/cdk.json b/typescript/api-cors-lambda-crud-dynamodb/cdk.json index 2f0e44c6fd..1519646689 100644 --- a/typescript/api-cors-lambda-crud-dynamodb/cdk.json +++ b/typescript/api-cors-lambda-crud-dynamodb/cdk.json @@ -1,3 +1,6 @@ { - "app": "node index" + "app": "node index", + "context": { + "@aws-cdk/aws-lambda-nodejs:sdkV2NotInRuntime": true + } } diff --git a/typescript/api-cors-lambda-crud-dynamodb/index.ts b/typescript/api-cors-lambda-crud-dynamodb/index.ts index b3ffd23fca..0dcb85ca45 100644 --- a/typescript/api-cors-lambda-crud-dynamodb/index.ts +++ b/typescript/api-cors-lambda-crud-dynamodb/index.ts @@ -27,7 +27,7 @@ export class ApiLambdaCrudDynamoDBStack extends Stack { const nodeJsFunctionProps: NodejsFunctionProps = { bundling: { externalModules: [ - 'aws-sdk', // Use the 'aws-sdk' available in the Lambda runtime + '@aws-sdk/*', // Use the '@aws-sdk' available in the Lambda runtime ], }, depsLockFilePath: join(__dirname, 'lambdas', 'package-lock.json'), diff --git a/typescript/api-cors-lambda-crud-dynamodb/lambdas/package.json b/typescript/api-cors-lambda-crud-dynamodb/lambdas/package.json index 48ba4b28e6..a66a8aaa2b 100644 --- a/typescript/api-cors-lambda-crud-dynamodb/lambdas/package.json +++ b/typescript/api-cors-lambda-crud-dynamodb/lambdas/package.json @@ -5,7 +5,7 @@ "private": true, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", + "@types/node": "^24.10.1", "@types/uuid": "*" }, "dependencies": { diff --git a/typescript/api-cors-lambda-crud-dynamodb/package.json b/typescript/api-cors-lambda-crud-dynamodb/package.json index 9e9f2a32a3..471e31cb39 100644 --- a/typescript/api-cors-lambda-crud-dynamodb/package.json +++ b/typescript/api-cors-lambda-crud-dynamodb/package.json @@ -15,13 +15,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", "esbuild": "^0.25.0", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/api-gateway-async-lambda-invocation/package.json b/typescript/api-gateway-async-lambda-invocation/package.json index 40dc40962d..8cb1298bae 100644 --- a/typescript/api-gateway-async-lambda-invocation/package.json +++ b/typescript/api-gateway-async-lambda-invocation/package.json @@ -10,13 +10,13 @@ "cdk": "cdk" }, "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" } diff --git a/typescript/api-gateway-lambda-token-authorizer/package.json b/typescript/api-gateway-lambda-token-authorizer/package.json index 70200d9b26..fd58d4170c 100644 --- a/typescript/api-gateway-lambda-token-authorizer/package.json +++ b/typescript/api-gateway-lambda-token-authorizer/package.json @@ -13,18 +13,18 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3", + "typescript": "~5.9.3", "esbuild": "^0.25.0" }, "dependencies": { "@types/aws-lambda": "^8.10.121", - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" }, diff --git a/typescript/api-gateway-lambda-token-authorizer/test/stack/__snapshots__/gateway-lambda-auth-stack.test.ts.snap b/typescript/api-gateway-lambda-token-authorizer/test/stack/__snapshots__/gateway-lambda-auth-stack.test.ts.snap index eca14a1665..1edce33492 100644 --- a/typescript/api-gateway-lambda-token-authorizer/test/stack/__snapshots__/gateway-lambda-auth-stack.test.ts.snap +++ b/typescript/api-gateway-lambda-token-authorizer/test/stack/__snapshots__/gateway-lambda-auth-stack.test.ts.snap @@ -1,131 +1,7 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Snapshot Stack 1`] = ` { - "Mappings": { - "LatestNodeRuntimeMap": { - "af-south-1": { - "value": "nodejs20.x", - }, - "ap-east-1": { - "value": "nodejs20.x", - }, - "ap-northeast-1": { - "value": "nodejs20.x", - }, - "ap-northeast-2": { - "value": "nodejs20.x", - }, - "ap-northeast-3": { - "value": "nodejs20.x", - }, - "ap-south-1": { - "value": "nodejs20.x", - }, - "ap-south-2": { - "value": "nodejs20.x", - }, - "ap-southeast-1": { - "value": "nodejs20.x", - }, - "ap-southeast-2": { - "value": "nodejs20.x", - }, - "ap-southeast-3": { - "value": "nodejs20.x", - }, - "ap-southeast-4": { - "value": "nodejs20.x", - }, - "ap-southeast-5": { - "value": "nodejs20.x", - }, - "ap-southeast-7": { - "value": "nodejs20.x", - }, - "ca-central-1": { - "value": "nodejs20.x", - }, - "ca-west-1": { - "value": "nodejs20.x", - }, - "cn-north-1": { - "value": "nodejs20.x", - }, - "cn-northwest-1": { - "value": "nodejs20.x", - }, - "eu-central-1": { - "value": "nodejs20.x", - }, - "eu-central-2": { - "value": "nodejs20.x", - }, - "eu-isoe-west-1": { - "value": "nodejs18.x", - }, - "eu-north-1": { - "value": "nodejs20.x", - }, - "eu-south-1": { - "value": "nodejs20.x", - }, - "eu-south-2": { - "value": "nodejs20.x", - }, - "eu-west-1": { - "value": "nodejs20.x", - }, - "eu-west-2": { - "value": "nodejs20.x", - }, - "eu-west-3": { - "value": "nodejs20.x", - }, - "il-central-1": { - "value": "nodejs20.x", - }, - "me-central-1": { - "value": "nodejs20.x", - }, - "me-south-1": { - "value": "nodejs20.x", - }, - "mx-central-1": { - "value": "nodejs20.x", - }, - "sa-east-1": { - "value": "nodejs20.x", - }, - "us-east-1": { - "value": "nodejs20.x", - }, - "us-east-2": { - "value": "nodejs20.x", - }, - "us-gov-east-1": { - "value": "nodejs20.x", - }, - "us-gov-west-1": { - "value": "nodejs20.x", - }, - "us-iso-east-1": { - "value": "nodejs18.x", - }, - "us-iso-west-1": { - "value": "nodejs18.x", - }, - "us-isob-east-1": { - "value": "nodejs18.x", - }, - "us-west-1": { - "value": "nodejs20.x", - }, - "us-west-2": { - "value": "nodejs20.x", - }, - }, - }, "Outputs": { "apiUrl": { "Value": { @@ -207,15 +83,7 @@ exports[`Snapshot Stack 1`] = ` "Arn", ], }, - "Runtime": { - "Fn::FindInMap": [ - "LatestNodeRuntimeMap", - { - "Ref": "AWS::Region", - }, - "value", - ], - }, + "Runtime": "nodejs22.x", "Timeout": 900, }, "Type": "AWS::Lambda::Function", @@ -636,6 +504,9 @@ exports[`Snapshot Stack 1`] = ` "restapigatewayhealthGET9A80151C", "restapigatewayhealth0EB12846", ], + "Metadata": { + "aws:cdk:do-not-refactor": true, + }, "Properties": { "Description": "Automatically created by the RestApi construct", "RestApiId": { diff --git a/typescript/api-gateway-parallel-step-functions/package.json b/typescript/api-gateway-parallel-step-functions/package.json index be1ecd688e..f786d8aa1a 100644 --- a/typescript/api-gateway-parallel-step-functions/package.json +++ b/typescript/api-gateway-parallel-step-functions/package.json @@ -18,13 +18,13 @@ "cdk": "cdk" }, "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" } diff --git a/typescript/api-websocket-lambda-dynamodb/package.json b/typescript/api-websocket-lambda-dynamodb/package.json index 55f19ce9d9..2b52ba0aaf 100644 --- a/typescript/api-websocket-lambda-dynamodb/package.json +++ b/typescript/api-websocket-lambda-dynamodb/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/application-load-balancer/package.json b/typescript/application-load-balancer/package.json index 360727646c..010905896c 100644 --- a/typescript/application-load-balancer/package.json +++ b/typescript/application-load-balancer/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/appsync-graphql-dynamodb/package.json b/typescript/appsync-graphql-dynamodb/package.json index 93f47d2a38..af6c7f9aaa 100644 --- a/typescript/appsync-graphql-dynamodb/package.json +++ b/typescript/appsync-graphql-dynamodb/package.json @@ -11,17 +11,17 @@ "push-data": "node utils/index.js" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { "@aws-sdk/client-dynamodb": "^3.535.0", - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" } diff --git a/typescript/appsync-graphql-eventbridge/package.json b/typescript/appsync-graphql-eventbridge/package.json index 265bcb571b..7ca865570f 100644 --- a/typescript/appsync-graphql-eventbridge/package.json +++ b/typescript/appsync-graphql-eventbridge/package.json @@ -13,13 +13,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3", "ts-node": "^10.9.2" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.9" } diff --git a/typescript/appsync-graphql-http/package.json b/typescript/appsync-graphql-http/package.json index 1c5cb115a7..d57da799bb 100644 --- a/typescript/appsync-graphql-http/package.json +++ b/typescript/appsync-graphql-http/package.json @@ -16,12 +16,12 @@ "license": "Apache-2.0", "devDependencies": { "@aws-appsync/utils": "^1.5.0", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/appsync-graphql-typescript-resolver/package.json b/typescript/appsync-graphql-typescript-resolver/package.json index 7af30b5725..e10c413053 100644 --- a/typescript/appsync-graphql-typescript-resolver/package.json +++ b/typescript/appsync-graphql-typescript-resolver/package.json @@ -14,16 +14,16 @@ }, "devDependencies": { "@aws-appsync/utils": "^1.2.5", - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", - "aws-cdk": "2.1010.0", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "jest": "^30", + "ts-jest": "^29", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" } diff --git a/typescript/appsync-graphql-typescript-resolver/resolvers/package.json b/typescript/appsync-graphql-typescript-resolver/resolvers/package.json index 36de54f547..42c16021fd 100644 --- a/typescript/appsync-graphql-typescript-resolver/resolvers/package.json +++ b/typescript/appsync-graphql-typescript-resolver/resolvers/package.json @@ -15,14 +15,14 @@ "devDependencies": { "@aws-appsync/eslint-plugin": "^1.2.1", "@aws-appsync/utils": "^1.2.5", - "@types/jest": "^29.5.14", + "@types/jest": "^30", "@typescript-eslint/eslint-plugin": "^5.60.0", "@typescript-eslint/parser": "^5.60.0", "esbuild": "^0.25.0", "eslint": "^8.43.0", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" } } diff --git a/typescript/aspects/package.json b/typescript/aspects/package.json index 739ae31b73..c09b888601 100644 --- a/typescript/aspects/package.json +++ b/typescript/aspects/package.json @@ -12,22 +12,22 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", + "@types/jest": "^30", + "@types/node": "^24.10.1", "@typescript-eslint/eslint-plugin": "^6.11.0", - "aws-cdk": "2.1010.0", + "aws-cdk": "2.1114.1", "eslint": "^8.54.0", "eslint-config-standard-with-typescript": "^40.0.0", "eslint-plugin-import": "^2.29.0", "eslint-plugin-n": "^16.3.1", "eslint-plugin-promise": "^6.1.1", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" } diff --git a/typescript/aws-codepipeline-ecs-lambda/package.json b/typescript/aws-codepipeline-ecs-lambda/package.json index 4c0325be1e..d670b8b4bf 100644 --- a/typescript/aws-codepipeline-ecs-lambda/package.json +++ b/typescript/aws-codepipeline-ecs-lambda/package.json @@ -11,13 +11,13 @@ }, "devDependencies": { "@types/aws-lambda": "^8.10.140", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "@types/aws-lambda": "^8.10.140", "constructs": "^10.0.0", "source-map-support": "^0.5.21" diff --git a/typescript/aws-transfer-sftp-server/package.json b/typescript/aws-transfer-sftp-server/package.json index 4a0fa43e80..421a3308d6 100644 --- a/typescript/aws-transfer-sftp-server/package.json +++ b/typescript/aws-transfer-sftp-server/package.json @@ -19,16 +19,16 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/aws-transfer-sftp-server/test/__snapshots__/aws-transfer-sftp-server.test.ts.snap b/typescript/aws-transfer-sftp-server/test/__snapshots__/aws-transfer-sftp-server.test.ts.snap index e9b9cc196d..faaefb3333 100644 --- a/typescript/aws-transfer-sftp-server/test/__snapshots__/aws-transfer-sftp-server.test.ts.snap +++ b/typescript/aws-transfer-sftp-server/test/__snapshots__/aws-transfer-sftp-server.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`SftpServerStack has required resources 1`] = ` { diff --git a/typescript/backup-s3/package.json b/typescript/backup-s3/package.json index c41f254e2c..6275db7aa4 100644 --- a/typescript/backup-s3/package.json +++ b/typescript/backup-s3/package.json @@ -10,16 +10,16 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", - "aws-cdk": "2.1010.0", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "jest": "^30", + "ts-jest": "^29", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.16" } diff --git a/typescript/batch-ecr-openmp/package.json b/typescript/batch-ecr-openmp/package.json index aeb9e96afd..0da1dd8979 100644 --- a/typescript/batch-ecr-openmp/package.json +++ b/typescript/batch-ecr-openmp/package.json @@ -14,15 +14,15 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "2.1018.1", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", - "typescript": "~5.6.3" + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "jest": "^30", + "ts-jest": "^29", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "^2.200.1", - "constructs": "^10.4.2" + "aws-cdk-lib": "2.248.0", + "constructs": "^10.0.0" } } diff --git a/typescript/cdkpipeline-ecs/package.json b/typescript/cdkpipeline-ecs/package.json index 0134b18f83..d98f68f542 100644 --- a/typescript/cdkpipeline-ecs/package.json +++ b/typescript/cdkpipeline-ecs/package.json @@ -10,16 +10,16 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", - "aws-cdk": "2.1010.0", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "jest": "^30", + "ts-jest": "^29", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" } diff --git a/typescript/classic-load-balancer/package.json b/typescript/classic-load-balancer/package.json index 917b30aff8..e333e825c8 100644 --- a/typescript/classic-load-balancer/package.json +++ b/typescript/classic-load-balancer/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/cloudfront-functions/package.json b/typescript/cloudfront-functions/package.json index de7f5c6e06..073920e9e8 100644 --- a/typescript/cloudfront-functions/package.json +++ b/typescript/cloudfront-functions/package.json @@ -11,16 +11,16 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", - "aws-cdk": "2.1010.0", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "jest": "^30", + "ts-jest": "^29", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" } diff --git a/typescript/cloudwatch/evidently-client-side-evaluation-ecs/local-image/package.json b/typescript/cloudwatch/evidently-client-side-evaluation-ecs/local-image/package.json index 1373037e17..46601d217f 100644 --- a/typescript/cloudwatch/evidently-client-side-evaluation-ecs/local-image/package.json +++ b/typescript/cloudwatch/evidently-client-side-evaluation-ecs/local-image/package.json @@ -14,7 +14,7 @@ }, "devDependencies": { "@types/express": "^4.17.15", - "@types/node": "22.7.9", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "typescript": "~5.9.3" } } diff --git a/typescript/cloudwatch/evidently-client-side-evaluation-ecs/package.json b/typescript/cloudwatch/evidently-client-side-evaluation-ecs/package.json index c9aa1e339c..76f825d6be 100644 --- a/typescript/cloudwatch/evidently-client-side-evaluation-ecs/package.json +++ b/typescript/cloudwatch/evidently-client-side-evaluation-ecs/package.json @@ -12,13 +12,13 @@ "license": "Apache-2.0", "devDependencies": { "@types/express": "^4.17.15", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { "@aws-sdk/client-evidently": "^3.245.0", - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "express": "^4.17.1" } diff --git a/typescript/cloudwatch/evidently-client-side-evaluation-lambda/package.json b/typescript/cloudwatch/evidently-client-side-evaluation-lambda/package.json index bda397f79a..d6a13313c3 100644 --- a/typescript/cloudwatch/evidently-client-side-evaluation-lambda/package.json +++ b/typescript/cloudwatch/evidently-client-side-evaluation-lambda/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/codepipeline-build-deploy/package.json b/typescript/codepipeline-build-deploy/package.json index 1cddeeffe8..4a772a8df3 100644 --- a/typescript/codepipeline-build-deploy/package.json +++ b/typescript/codepipeline-build-deploy/package.json @@ -11,16 +11,16 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "jest-junit": "^16.0.0", "source-map-support": "^0.5.21" diff --git a/typescript/codepipeline-glue-deploy/package.json b/typescript/codepipeline-glue-deploy/package.json index 345767b533..1ba14a9b67 100644 --- a/typescript/codepipeline-glue-deploy/package.json +++ b/typescript/codepipeline-glue-deploy/package.json @@ -10,13 +10,13 @@ "cdk": "cdk" }, "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "cdk": "^2.130.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" diff --git a/typescript/codewhisperer-cloudwatch/package.json b/typescript/codewhisperer-cloudwatch/package.json index 619ee2eff8..e9e94fef96 100644 --- a/typescript/codewhisperer-cloudwatch/package.json +++ b/typescript/codewhisperer-cloudwatch/package.json @@ -11,16 +11,16 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", - "aws-cdk": "2.1010.0", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "jest": "^30", + "ts-jest": "^29", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" } diff --git a/typescript/cognito-api-lambda/package.json b/typescript/cognito-api-lambda/package.json index 26058b9483..33d8c9a5ce 100644 --- a/typescript/cognito-api-lambda/package.json +++ b/typescript/cognito-api-lambda/package.json @@ -13,12 +13,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/connect-cdk/package.json b/typescript/connect-cdk/package.json index 93290855c4..b42766ba6a 100644 --- a/typescript/connect-cdk/package.json +++ b/typescript/connect-cdk/package.json @@ -11,16 +11,16 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "cdk-nag": "^2.30.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" diff --git a/typescript/custom-logical-names/package.json b/typescript/custom-logical-names/package.json index cf4868dfed..18dcc7a87f 100644 --- a/typescript/custom-logical-names/package.json +++ b/typescript/custom-logical-names/package.json @@ -10,12 +10,12 @@ "cdk": "cdk" }, "devDependencies": { - "aws-cdk": "2.1010.0", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.9" } diff --git a/typescript/custom-resource-provider/package.json b/typescript/custom-resource-provider/package.json index a84d876cea..5d1a8d1051 100644 --- a/typescript/custom-resource-provider/package.json +++ b/typescript/custom-resource-provider/package.json @@ -11,16 +11,16 @@ }, "devDependencies": { "@aws-cdk/assert": "*", - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", - "aws-cdk": "2.1010.0", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "jest": "^30", + "ts-jest": "^29", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.16" } diff --git a/typescript/custom-resource/package.json b/typescript/custom-resource/package.json index 4a8e3a8123..705e0c8fe0 100644 --- a/typescript/custom-resource/package.json +++ b/typescript/custom-resource/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/ddb-stream-lambda-sns/package.json b/typescript/ddb-stream-lambda-sns/package.json index bbc4a22faf..c24852b8c0 100644 --- a/typescript/ddb-stream-lambda-sns/package.json +++ b/typescript/ddb-stream-lambda-sns/package.json @@ -11,17 +11,17 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { "@aws-solutions-constructs/aws-dynamodbstreams-lambda": "^2.74.0", - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/ddb/global-table-with-cmk/package.json b/typescript/ddb/global-table-with-cmk/package.json index 4b7ebf57a0..7092b3aeb8 100644 --- a/typescript/ddb/global-table-with-cmk/package.json +++ b/typescript/ddb/global-table-with-cmk/package.json @@ -10,16 +10,16 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.16" } diff --git a/typescript/ec2-instance-connect-endpoint/package.json b/typescript/ec2-instance-connect-endpoint/package.json index a71f151d6b..12bd682c5a 100644 --- a/typescript/ec2-instance-connect-endpoint/package.json +++ b/typescript/ec2-instance-connect-endpoint/package.json @@ -15,20 +15,19 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", + "@types/jest": "^30", + "@types/node": "^24.10.1", "@typescript-eslint/eslint-plugin": "^5", "@typescript-eslint/parser": "^5", - "aws-cdk": "2.1010.0", - "constructs": "10.0.5", + "aws-cdk": "2.1114.1", + "constructs": "^10.0.0", "eslint": "^8", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", - "constructs": "^10.0.0" + "aws-cdk-lib": "2.248.0" } } diff --git a/typescript/ec2-instance-connect-endpoint/test/__snapshots__/app.test.ts.snap b/typescript/ec2-instance-connect-endpoint/test/__snapshots__/app.test.ts.snap index 5f0bc8eb81..6bd28ce0c2 100644 --- a/typescript/ec2-instance-connect-endpoint/test/__snapshots__/app.test.ts.snap +++ b/typescript/ec2-instance-connect-endpoint/test/__snapshots__/app.test.ts.snap @@ -1,131 +1,7 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`default validation 1`] = ` { - "Mappings": { - "LatestNodeRuntimeMap": { - "af-south-1": { - "value": "nodejs20.x", - }, - "ap-east-1": { - "value": "nodejs20.x", - }, - "ap-northeast-1": { - "value": "nodejs20.x", - }, - "ap-northeast-2": { - "value": "nodejs20.x", - }, - "ap-northeast-3": { - "value": "nodejs20.x", - }, - "ap-south-1": { - "value": "nodejs20.x", - }, - "ap-south-2": { - "value": "nodejs20.x", - }, - "ap-southeast-1": { - "value": "nodejs20.x", - }, - "ap-southeast-2": { - "value": "nodejs20.x", - }, - "ap-southeast-3": { - "value": "nodejs20.x", - }, - "ap-southeast-4": { - "value": "nodejs20.x", - }, - "ap-southeast-5": { - "value": "nodejs20.x", - }, - "ap-southeast-7": { - "value": "nodejs20.x", - }, - "ca-central-1": { - "value": "nodejs20.x", - }, - "ca-west-1": { - "value": "nodejs20.x", - }, - "cn-north-1": { - "value": "nodejs20.x", - }, - "cn-northwest-1": { - "value": "nodejs20.x", - }, - "eu-central-1": { - "value": "nodejs20.x", - }, - "eu-central-2": { - "value": "nodejs20.x", - }, - "eu-isoe-west-1": { - "value": "nodejs18.x", - }, - "eu-north-1": { - "value": "nodejs20.x", - }, - "eu-south-1": { - "value": "nodejs20.x", - }, - "eu-south-2": { - "value": "nodejs20.x", - }, - "eu-west-1": { - "value": "nodejs20.x", - }, - "eu-west-2": { - "value": "nodejs20.x", - }, - "eu-west-3": { - "value": "nodejs20.x", - }, - "il-central-1": { - "value": "nodejs20.x", - }, - "me-central-1": { - "value": "nodejs20.x", - }, - "me-south-1": { - "value": "nodejs20.x", - }, - "mx-central-1": { - "value": "nodejs20.x", - }, - "sa-east-1": { - "value": "nodejs20.x", - }, - "us-east-1": { - "value": "nodejs20.x", - }, - "us-east-2": { - "value": "nodejs20.x", - }, - "us-gov-east-1": { - "value": "nodejs20.x", - }, - "us-gov-west-1": { - "value": "nodejs20.x", - }, - "us-iso-east-1": { - "value": "nodejs18.x", - }, - "us-iso-west-1": { - "value": "nodejs18.x", - }, - "us-isob-east-1": { - "value": "nodejs18.x", - }, - "us-west-1": { - "value": "nodejs20.x", - }, - "us-west-2": { - "value": "nodejs20.x", - }, - }, - }, "Outputs": { "InstanceId": { "Value": { @@ -192,21 +68,17 @@ exports[`default validation 1`] = ` }, }, "Handler": "framework.isComplete", + "LoggingConfig": { + "ApplicationLogLevel": "FATAL", + "LogFormat": "JSON", + }, "Role": { "Fn::GetAtt": [ "EICEndpointProviderframeworkisCompleteServiceRole0E0A4C51", "Arn", ], }, - "Runtime": { - "Fn::FindInMap": [ - "LatestNodeRuntimeMap", - { - "Ref": "AWS::Region", - }, - "value", - ], - }, + "Runtime": "nodejs22.x", "Timeout": 900, }, "Type": "AWS::Lambda::Function", @@ -363,21 +235,17 @@ exports[`default validation 1`] = ` }, }, "Handler": "framework.onEvent", + "LoggingConfig": { + "ApplicationLogLevel": "FATAL", + "LogFormat": "JSON", + }, "Role": { "Fn::GetAtt": [ "EICEndpointProviderframeworkonEventServiceRoleC0D29A73", "Arn", ], }, - "Runtime": { - "Fn::FindInMap": [ - "LatestNodeRuntimeMap", - { - "Ref": "AWS::Region", - }, - "value", - ], - }, + "Runtime": "nodejs22.x", "Timeout": 900, }, "Type": "AWS::Lambda::Function", @@ -538,21 +406,17 @@ exports[`default validation 1`] = ` }, }, "Handler": "framework.onTimeout", + "LoggingConfig": { + "ApplicationLogLevel": "FATAL", + "LogFormat": "JSON", + }, "Role": { "Fn::GetAtt": [ "EICEndpointProviderframeworkonTimeoutServiceRole904320AB", "Arn", ], }, - "Runtime": { - "Fn::FindInMap": [ - "LatestNodeRuntimeMap", - { - "Ref": "AWS::Region", - }, - "value", - ], - }, + "Runtime": "nodejs22.x", "Timeout": 900, }, "Type": "AWS::Lambda::Function", @@ -704,22 +568,6 @@ exports[`default validation 1`] = ` ], ], }, - "LoggingConfiguration": { - "Destinations": [ - { - "CloudWatchLogsLogGroup": { - "LogGroupArn": { - "Fn::GetAtt": [ - "EICEndpointProviderwaiterstatemachineLogGroupA14674E7", - "Arn", - ], - }, - }, - }, - ], - "IncludeExecutionData": false, - "Level": "ERROR", - }, "RoleArn": { "Fn::GetAtt": [ "EICEndpointProviderwaiterstatemachineRole5E284D23", @@ -729,26 +577,6 @@ exports[`default validation 1`] = ` }, "Type": "AWS::StepFunctions::StateMachine", }, - "EICEndpointProviderwaiterstatemachineLogGroupA14674E7": { - "DeletionPolicy": "Retain", - "Properties": { - "LogGroupName": { - "Fn::Join": [ - "", - [ - "/aws/vendedlogs/states/waiter-state-machine-", - { - "Ref": "EICEndpointProviderframeworkisCompleteB1442B18", - }, - "-c8d3e609467293bed52b842a64c4ccf79555d8f837", - ], - ], - }, - "RetentionInDays": 731, - }, - "Type": "AWS::Logs::LogGroup", - "UpdateReplacePolicy": "Retain", - }, "EICEndpointProviderwaiterstatemachineRole5E284D23": { "Properties": { "AssumeRolePolicyDocument": { @@ -822,22 +650,6 @@ exports[`default validation 1`] = ` }, ], }, - { - "Action": [ - "logs:CreateLogDelivery", - "logs:CreateLogStream", - "logs:GetLogDelivery", - "logs:UpdateLogDelivery", - "logs:DeleteLogDelivery", - "logs:ListLogDeliveries", - "logs:PutLogEvents", - "logs:PutResourcePolicy", - "logs:DescribeResourcePolicies", - "logs:DescribeLogGroups", - ], - "Effect": "Allow", - "Resource": "*", - }, ], "Version": "2012-10-17", }, diff --git a/typescript/ec2-instance/package.json b/typescript/ec2-instance/package.json index 8b5a7fe15b..039e9b7d7c 100644 --- a/typescript/ec2-instance/package.json +++ b/typescript/ec2-instance/package.json @@ -11,16 +11,16 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "dotenv": "^16.3.1" }, diff --git a/typescript/ec2-instance/test/__snapshots__/ec2-stack.test.ts.snap b/typescript/ec2-instance/test/__snapshots__/ec2-stack.test.ts.snap index 9dd1214dae..df53df4561 100644 --- a/typescript/ec2-instance/test/__snapshots__/ec2-stack.test.ts.snap +++ b/typescript/ec2-instance/test/__snapshots__/ec2-stack.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`EC2Stack Snapshot test 1`] = ` { @@ -75,7 +75,7 @@ exports[`EC2Stack Snapshot test 1`] = ` "Arn", ], }, - "Runtime": "python3.11", + "Runtime": "python3.13", "Timeout": 900, }, "Type": "AWS::Lambda::Function", @@ -236,7 +236,7 @@ exports[`EC2Stack Snapshot test 1`] = ` "Arn", ], }, - "Runtime": "nodejs20.x", + "Runtime": "nodejs22.x", "Timeout": 900, }, "Type": "AWS::Lambda::Function", @@ -554,6 +554,7 @@ aws s3 cp s3://", "SourceObjectKeys": [ "906c472a7a70d98f9ddd319c5286b06cc53be23c17afba3dba925f37cd89ba0a.zip", ], + "WaitForDistributionInvalidation": true, }, "Type": "Custom::CDKBucketDeployment", "UpdateReplacePolicy": "Delete", diff --git a/typescript/ec2-instance/test/ec2-stack.test.ts b/typescript/ec2-instance/test/ec2-stack.test.ts index 2dd4497680..59594fc33d 100644 --- a/typescript/ec2-instance/test/ec2-stack.test.ts +++ b/typescript/ec2-instance/test/ec2-stack.test.ts @@ -51,7 +51,7 @@ describe('EC2Stack', () => { instanceSize: 'BAD_SIZE', env: devEnv, }); - }).toThrowError(`Invalid instance size. Valid sizes are: ${validSizes}`); + }).toThrow(`Invalid instance size. Valid sizes are: ${validSizes}`); }); test('CPU type validation', () => { @@ -76,6 +76,6 @@ describe('EC2Stack', () => { cpuType: 'BAD_CPU', env: devEnv, }); - }).toThrowError(`Invalid CPU type. Valid CPU Types are ${validCpuTypes}`); + }).toThrow(`Invalid CPU type. Valid CPU Types are ${validCpuTypes}`); }); }); diff --git a/typescript/ec2-ssm-local-zone/package.json b/typescript/ec2-ssm-local-zone/package.json index ffaeda8cbe..a9987e248f 100644 --- a/typescript/ec2-ssm-local-zone/package.json +++ b/typescript/ec2-ssm-local-zone/package.json @@ -11,16 +11,16 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/ec2-ssm-local-zone/test/__snapshots__/example-localzone-stack.test.ts.snap b/typescript/ec2-ssm-local-zone/test/__snapshots__/example-localzone-stack.test.ts.snap index 3d32063fad..29b479a45c 100644 --- a/typescript/ec2-ssm-local-zone/test/__snapshots__/example-localzone-stack.test.ts.snap +++ b/typescript/ec2-ssm-local-zone/test/__snapshots__/example-localzone-stack.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`ExampleLocalZoneStack has required resources 1`] = ` { diff --git a/typescript/ecs/cluster/package.json b/typescript/ecs/cluster/package.json index 8c03d3583d..a32c49efd6 100644 --- a/typescript/ecs/cluster/package.json +++ b/typescript/ecs/cluster/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/ecs/cross-stack-load-balancer/package.json b/typescript/ecs/cross-stack-load-balancer/package.json index 09be4d004c..9a00b73338 100644 --- a/typescript/ecs/cross-stack-load-balancer/package.json +++ b/typescript/ecs/cross-stack-load-balancer/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/ecs/ecs-network-load-balanced-service/package.json b/typescript/ecs/ecs-network-load-balanced-service/package.json index 3dd23be791..2f7a78bb72 100644 --- a/typescript/ecs/ecs-network-load-balanced-service/package.json +++ b/typescript/ecs/ecs-network-load-balanced-service/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/ecs/ecs-service-with-advanced-alb-config/package.json b/typescript/ecs/ecs-service-with-advanced-alb-config/package.json index 7fc0d1e6cb..1d6f921adc 100644 --- a/typescript/ecs/ecs-service-with-advanced-alb-config/package.json +++ b/typescript/ecs/ecs-service-with-advanced-alb-config/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/ecs/ecs-service-with-logging/package.json b/typescript/ecs/ecs-service-with-logging/package.json index d212809ec8..f6df9d775a 100644 --- a/typescript/ecs/ecs-service-with-logging/package.json +++ b/typescript/ecs/ecs-service-with-logging/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/ecs/ecs-service-with-task-networking/package.json b/typescript/ecs/ecs-service-with-task-networking/package.json index a7b2be4170..2ef5009b15 100644 --- a/typescript/ecs/ecs-service-with-task-networking/package.json +++ b/typescript/ecs/ecs-service-with-task-networking/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/ecs/ecs-service-with-task-placement/package.json b/typescript/ecs/ecs-service-with-task-placement/package.json index 7fc0d1e6cb..1d6f921adc 100644 --- a/typescript/ecs/ecs-service-with-task-placement/package.json +++ b/typescript/ecs/ecs-service-with-task-placement/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/ecs/fargate-application-load-balanced-service/package.json b/typescript/ecs/fargate-application-load-balanced-service/package.json index c32d958c0e..45b355c8c0 100644 --- a/typescript/ecs/fargate-application-load-balanced-service/package.json +++ b/typescript/ecs/fargate-application-load-balanced-service/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/ecs/fargate-service-with-auto-scaling/package.json b/typescript/ecs/fargate-service-with-auto-scaling/package.json index e937734d9f..d7619c7bc5 100644 --- a/typescript/ecs/fargate-service-with-auto-scaling/package.json +++ b/typescript/ecs/fargate-service-with-auto-scaling/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/ecs/fargate-service-with-efs/package.json b/typescript/ecs/fargate-service-with-efs/package.json index 323a0963ed..5278fb8832 100644 --- a/typescript/ecs/fargate-service-with-efs/package.json +++ b/typescript/ecs/fargate-service-with-efs/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/ecs/fargate-service-with-local-image/package.json b/typescript/ecs/fargate-service-with-local-image/package.json index 72fc1aac31..1c9f4b9a55 100644 --- a/typescript/ecs/fargate-service-with-local-image/package.json +++ b/typescript/ecs/fargate-service-with-local-image/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/ecs/fargate-service-with-logging/package.json b/typescript/ecs/fargate-service-with-logging/package.json index 9e68fd00cc..ee919032d2 100644 --- a/typescript/ecs/fargate-service-with-logging/package.json +++ b/typescript/ecs/fargate-service-with-logging/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/eks/cluster/package.json b/typescript/eks/cluster/package.json index 7c60f001c1..85c7d641de 100644 --- a/typescript/eks/cluster/package.json +++ b/typescript/eks/cluster/package.json @@ -15,18 +15,18 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/jest": "^30.0.0", - "@types/node": "25.0.9", - "aws-cdk": "2.1101.0", - "jest": "^30.2.0", - "ts-jest": "^29.4.6", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", "typescript": "~5.9.3" }, "dependencies": { "@aws-cdk/lambda-layer-kubectl-v34": "^2.0.0", - "aws-cdk-lib": "2.235.1", - "constructs": "^10.4.5", + "aws-cdk-lib": "2.248.0", + "constructs": "^10.0.0", "source-map-support": "^0.5.21" } } diff --git a/typescript/elasticbeanstalk/elasticbeanstalk-bg-pipeline/package.json b/typescript/elasticbeanstalk/elasticbeanstalk-bg-pipeline/package.json index a9a2f657bf..d3126d1e39 100644 --- a/typescript/elasticbeanstalk/elasticbeanstalk-bg-pipeline/package.json +++ b/typescript/elasticbeanstalk/elasticbeanstalk-bg-pipeline/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "typescript": "~5.6.3", - "aws-cdk": "2.1010.0" + "@types/node": "^24.10.1", + "typescript": "~5.9.3", + "aws-cdk": "2.1114.1" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.9" } diff --git a/typescript/elasticbeanstalk/elasticbeanstalk-environment/package.json b/typescript/elasticbeanstalk/elasticbeanstalk-environment/package.json index ce5fa60fd8..2dc4028072 100644 --- a/typescript/elasticbeanstalk/elasticbeanstalk-environment/package.json +++ b/typescript/elasticbeanstalk/elasticbeanstalk-environment/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "typescript": "~5.6.3", - "aws-cdk": "2.1010.0" + "@types/node": "^24.10.1", + "typescript": "~5.9.3", + "aws-cdk": "2.1114.1" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.9" } diff --git a/typescript/eventbridge-lambda/package.json b/typescript/eventbridge-lambda/package.json index 7c77721083..ba1bfecb57 100644 --- a/typescript/eventbridge-lambda/package.json +++ b/typescript/eventbridge-lambda/package.json @@ -15,14 +15,14 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "@types/jest": "^29.5.14", - "aws-cdk": "2.1010.0", - "jest": "^29.7.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "@types/jest": "^30", + "aws-cdk": "2.1114.1", + "jest": "^30", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/eventbridge-mesh/multiple-consumers/package.json b/typescript/eventbridge-mesh/multiple-consumers/package.json index a14640f75b..425f590b3d 100644 --- a/typescript/eventbridge-mesh/multiple-consumers/package.json +++ b/typescript/eventbridge-mesh/multiple-consumers/package.json @@ -7,16 +7,16 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", - "aws-cdk": "2.1010.0", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "jest": "^30", + "ts-jest": "^29", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/eventbridge-mesh/single-consumer/package.json b/typescript/eventbridge-mesh/single-consumer/package.json index a14640f75b..425f590b3d 100644 --- a/typescript/eventbridge-mesh/single-consumer/package.json +++ b/typescript/eventbridge-mesh/single-consumer/package.json @@ -7,16 +7,16 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", - "aws-cdk": "2.1010.0", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "jest": "^30", + "ts-jest": "^29", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/fsx-ad/package.json b/typescript/fsx-ad/package.json index 3dbe4b8ce5..945b21f6fc 100644 --- a/typescript/fsx-ad/package.json +++ b/typescript/fsx-ad/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/http-proxy-apigateway/package.json b/typescript/http-proxy-apigateway/package.json index a0b5262f01..3d48d3d3a4 100644 --- a/typescript/http-proxy-apigateway/package.json +++ b/typescript/http-proxy-apigateway/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/imagebuilder/lib/imagebuilder-stack.ts b/typescript/imagebuilder/lib/imagebuilder-stack.ts index 5244d7fd84..71b8f28349 100644 --- a/typescript/imagebuilder/lib/imagebuilder-stack.ts +++ b/typescript/imagebuilder/lib/imagebuilder-stack.ts @@ -82,15 +82,9 @@ export class ImagebuilderStack extends cdk.Stack { const iamRoleForImageBuilder = new iam.Role(this, 'EC2InstanceProfileForImageBuilder', { assumedBy: new iam.ServicePrincipal('ec2.amazonaws.com'), managedPolicies: [ - { - managedPolicyArn: "arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore" - }, - { - managedPolicyArn: "arn:aws:iam::aws:policy/EC2InstanceProfileForImageBuilder" - }, - { - managedPolicyArn: "arn:aws:iam::aws:policy/EC2InstanceProfileForImageBuilderECRContainerBuilds" - } + iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonSSMManagedInstanceCore"), + iam.ManagedPolicy.fromAwsManagedPolicyName("EC2InstanceProfileForImageBuilder"), + iam.ManagedPolicy.fromAwsManagedPolicyName("EC2InstanceProfileForImageBuilderECRContainerBuilds"), ] }) // Suppress cdk_nag warning on use of managed policies diff --git a/typescript/imagebuilder/package.json b/typescript/imagebuilder/package.json index dde84b8399..16730a3c47 100644 --- a/typescript/imagebuilder/package.json +++ b/typescript/imagebuilder/package.json @@ -10,14 +10,14 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "cdk-nag": "2.28.27", "constructs": "^10.0.0", "source-map-support": "0.5.21" diff --git a/typescript/inspector2/package.json b/typescript/inspector2/package.json index ff98854247..edb10eee25 100644 --- a/typescript/inspector2/package.json +++ b/typescript/inspector2/package.json @@ -13,16 +13,16 @@ "devDependencies": { "@aws-sdk/client-inspector2": "^3.258.0", "@types/aws-lambda": "^8.10.109", - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", + "@types/jest": "^30", + "@types/node": "^24.10.1", "esbuild": "^0.25.0", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/inspector2/test/__snapshots__/inspector2-enable-delegated-admin-account-resource.test.ts.snap b/typescript/inspector2/test/__snapshots__/inspector2-enable-delegated-admin-account-resource.test.ts.snap index 2ab2c3128c..441eabb0e2 100644 --- a/typescript/inspector2/test/__snapshots__/inspector2-enable-delegated-admin-account-resource.test.ts.snap +++ b/typescript/inspector2/test/__snapshots__/inspector2-enable-delegated-admin-account-resource.test.ts.snap @@ -1,131 +1,7 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Inspector2EnableDelegatedAdminAccountResource creates required resources 1`] = ` { - "Mappings": { - "LatestNodeRuntimeMap": { - "af-south-1": { - "value": "nodejs20.x", - }, - "ap-east-1": { - "value": "nodejs20.x", - }, - "ap-northeast-1": { - "value": "nodejs20.x", - }, - "ap-northeast-2": { - "value": "nodejs20.x", - }, - "ap-northeast-3": { - "value": "nodejs20.x", - }, - "ap-south-1": { - "value": "nodejs20.x", - }, - "ap-south-2": { - "value": "nodejs20.x", - }, - "ap-southeast-1": { - "value": "nodejs20.x", - }, - "ap-southeast-2": { - "value": "nodejs20.x", - }, - "ap-southeast-3": { - "value": "nodejs20.x", - }, - "ap-southeast-4": { - "value": "nodejs20.x", - }, - "ap-southeast-5": { - "value": "nodejs20.x", - }, - "ap-southeast-7": { - "value": "nodejs20.x", - }, - "ca-central-1": { - "value": "nodejs20.x", - }, - "ca-west-1": { - "value": "nodejs20.x", - }, - "cn-north-1": { - "value": "nodejs20.x", - }, - "cn-northwest-1": { - "value": "nodejs20.x", - }, - "eu-central-1": { - "value": "nodejs20.x", - }, - "eu-central-2": { - "value": "nodejs20.x", - }, - "eu-isoe-west-1": { - "value": "nodejs18.x", - }, - "eu-north-1": { - "value": "nodejs20.x", - }, - "eu-south-1": { - "value": "nodejs20.x", - }, - "eu-south-2": { - "value": "nodejs20.x", - }, - "eu-west-1": { - "value": "nodejs20.x", - }, - "eu-west-2": { - "value": "nodejs20.x", - }, - "eu-west-3": { - "value": "nodejs20.x", - }, - "il-central-1": { - "value": "nodejs20.x", - }, - "me-central-1": { - "value": "nodejs20.x", - }, - "me-south-1": { - "value": "nodejs20.x", - }, - "mx-central-1": { - "value": "nodejs20.x", - }, - "sa-east-1": { - "value": "nodejs20.x", - }, - "us-east-1": { - "value": "nodejs20.x", - }, - "us-east-2": { - "value": "nodejs20.x", - }, - "us-gov-east-1": { - "value": "nodejs20.x", - }, - "us-gov-west-1": { - "value": "nodejs20.x", - }, - "us-iso-east-1": { - "value": "nodejs18.x", - }, - "us-iso-west-1": { - "value": "nodejs18.x", - }, - "us-isob-east-1": { - "value": "nodejs18.x", - }, - "us-west-1": { - "value": "nodejs20.x", - }, - "us-west-2": { - "value": "nodejs20.x", - }, - }, - }, "Parameters": { "BootstrapVersion": { "Default": "/cdk-bootstrap/hnb659fds/version", @@ -153,15 +29,7 @@ exports[`Inspector2EnableDelegatedAdminAccountResource creates required resource "Arn", ], }, - "Runtime": { - "Fn::FindInMap": [ - "LatestNodeRuntimeMap", - { - "Ref": "AWS::Region", - }, - "value", - ], - }, + "Runtime": "nodejs22.x", "Timeout": 120, }, "Type": "AWS::Lambda::Function", diff --git a/typescript/inspector2/test/__snapshots__/inspector2-enable-resources.test.ts.snap b/typescript/inspector2/test/__snapshots__/inspector2-enable-resources.test.ts.snap index 344719a8c7..679af1c4d2 100644 --- a/typescript/inspector2/test/__snapshots__/inspector2-enable-resources.test.ts.snap +++ b/typescript/inspector2/test/__snapshots__/inspector2-enable-resources.test.ts.snap @@ -1,131 +1,7 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Inspector2EnableResource creates required resources 1`] = ` { - "Mappings": { - "LatestNodeRuntimeMap": { - "af-south-1": { - "value": "nodejs20.x", - }, - "ap-east-1": { - "value": "nodejs20.x", - }, - "ap-northeast-1": { - "value": "nodejs20.x", - }, - "ap-northeast-2": { - "value": "nodejs20.x", - }, - "ap-northeast-3": { - "value": "nodejs20.x", - }, - "ap-south-1": { - "value": "nodejs20.x", - }, - "ap-south-2": { - "value": "nodejs20.x", - }, - "ap-southeast-1": { - "value": "nodejs20.x", - }, - "ap-southeast-2": { - "value": "nodejs20.x", - }, - "ap-southeast-3": { - "value": "nodejs20.x", - }, - "ap-southeast-4": { - "value": "nodejs20.x", - }, - "ap-southeast-5": { - "value": "nodejs20.x", - }, - "ap-southeast-7": { - "value": "nodejs20.x", - }, - "ca-central-1": { - "value": "nodejs20.x", - }, - "ca-west-1": { - "value": "nodejs20.x", - }, - "cn-north-1": { - "value": "nodejs20.x", - }, - "cn-northwest-1": { - "value": "nodejs20.x", - }, - "eu-central-1": { - "value": "nodejs20.x", - }, - "eu-central-2": { - "value": "nodejs20.x", - }, - "eu-isoe-west-1": { - "value": "nodejs18.x", - }, - "eu-north-1": { - "value": "nodejs20.x", - }, - "eu-south-1": { - "value": "nodejs20.x", - }, - "eu-south-2": { - "value": "nodejs20.x", - }, - "eu-west-1": { - "value": "nodejs20.x", - }, - "eu-west-2": { - "value": "nodejs20.x", - }, - "eu-west-3": { - "value": "nodejs20.x", - }, - "il-central-1": { - "value": "nodejs20.x", - }, - "me-central-1": { - "value": "nodejs20.x", - }, - "me-south-1": { - "value": "nodejs20.x", - }, - "mx-central-1": { - "value": "nodejs20.x", - }, - "sa-east-1": { - "value": "nodejs20.x", - }, - "us-east-1": { - "value": "nodejs20.x", - }, - "us-east-2": { - "value": "nodejs20.x", - }, - "us-gov-east-1": { - "value": "nodejs20.x", - }, - "us-gov-west-1": { - "value": "nodejs20.x", - }, - "us-iso-east-1": { - "value": "nodejs18.x", - }, - "us-iso-west-1": { - "value": "nodejs18.x", - }, - "us-isob-east-1": { - "value": "nodejs18.x", - }, - "us-west-1": { - "value": "nodejs20.x", - }, - "us-west-2": { - "value": "nodejs20.x", - }, - }, - }, "Parameters": { "BootstrapVersion": { "Default": "/cdk-bootstrap/hnb659fds/version", @@ -153,15 +29,7 @@ exports[`Inspector2EnableResource creates required resources 1`] = ` "Arn", ], }, - "Runtime": { - "Fn::FindInMap": [ - "LatestNodeRuntimeMap", - { - "Ref": "AWS::Region", - }, - "value", - ], - }, + "Runtime": "nodejs22.x", "Timeout": 120, }, "Type": "AWS::Lambda::Function", @@ -267,15 +135,7 @@ exports[`Inspector2EnableResource creates required resources 1`] = ` "Arn", ], }, - "Runtime": { - "Fn::FindInMap": [ - "LatestNodeRuntimeMap", - { - "Ref": "AWS::Region", - }, - "value", - ], - }, + "Runtime": "nodejs22.x", "Timeout": 900, }, "Type": "AWS::Lambda::Function", diff --git a/typescript/inspector2/test/__snapshots__/inspector2-monitoring-resource.test.ts.snap b/typescript/inspector2/test/__snapshots__/inspector2-monitoring-resource.test.ts.snap index 1595b53c2c..0b1e25586c 100644 --- a/typescript/inspector2/test/__snapshots__/inspector2-monitoring-resource.test.ts.snap +++ b/typescript/inspector2/test/__snapshots__/inspector2-monitoring-resource.test.ts.snap @@ -1,131 +1,7 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Inspector2MonitoringResource creates required resources 1`] = ` { - "Mappings": { - "LatestNodeRuntimeMap": { - "af-south-1": { - "value": "nodejs20.x", - }, - "ap-east-1": { - "value": "nodejs20.x", - }, - "ap-northeast-1": { - "value": "nodejs20.x", - }, - "ap-northeast-2": { - "value": "nodejs20.x", - }, - "ap-northeast-3": { - "value": "nodejs20.x", - }, - "ap-south-1": { - "value": "nodejs20.x", - }, - "ap-south-2": { - "value": "nodejs20.x", - }, - "ap-southeast-1": { - "value": "nodejs20.x", - }, - "ap-southeast-2": { - "value": "nodejs20.x", - }, - "ap-southeast-3": { - "value": "nodejs20.x", - }, - "ap-southeast-4": { - "value": "nodejs20.x", - }, - "ap-southeast-5": { - "value": "nodejs20.x", - }, - "ap-southeast-7": { - "value": "nodejs20.x", - }, - "ca-central-1": { - "value": "nodejs20.x", - }, - "ca-west-1": { - "value": "nodejs20.x", - }, - "cn-north-1": { - "value": "nodejs20.x", - }, - "cn-northwest-1": { - "value": "nodejs20.x", - }, - "eu-central-1": { - "value": "nodejs20.x", - }, - "eu-central-2": { - "value": "nodejs20.x", - }, - "eu-isoe-west-1": { - "value": "nodejs18.x", - }, - "eu-north-1": { - "value": "nodejs20.x", - }, - "eu-south-1": { - "value": "nodejs20.x", - }, - "eu-south-2": { - "value": "nodejs20.x", - }, - "eu-west-1": { - "value": "nodejs20.x", - }, - "eu-west-2": { - "value": "nodejs20.x", - }, - "eu-west-3": { - "value": "nodejs20.x", - }, - "il-central-1": { - "value": "nodejs20.x", - }, - "me-central-1": { - "value": "nodejs20.x", - }, - "me-south-1": { - "value": "nodejs20.x", - }, - "mx-central-1": { - "value": "nodejs20.x", - }, - "sa-east-1": { - "value": "nodejs20.x", - }, - "us-east-1": { - "value": "nodejs20.x", - }, - "us-east-2": { - "value": "nodejs20.x", - }, - "us-gov-east-1": { - "value": "nodejs20.x", - }, - "us-gov-west-1": { - "value": "nodejs20.x", - }, - "us-iso-east-1": { - "value": "nodejs18.x", - }, - "us-iso-west-1": { - "value": "nodejs18.x", - }, - "us-isob-east-1": { - "value": "nodejs18.x", - }, - "us-west-1": { - "value": "nodejs20.x", - }, - "us-west-2": { - "value": "nodejs20.x", - }, - }, - }, "Parameters": { "BootstrapVersion": { "Default": "/cdk-bootstrap/hnb659fds/version", @@ -405,15 +281,7 @@ exports[`Inspector2MonitoringResource creates required resources 1`] = ` "Arn", ], }, - "Runtime": { - "Fn::FindInMap": [ - "LatestNodeRuntimeMap", - { - "Ref": "AWS::Region", - }, - "value", - ], - }, + "Runtime": "nodejs22.x", "Timeout": 900, }, "Type": "AWS::Lambda::Function", diff --git a/typescript/inspector2/test/__snapshots__/inspector2-update-org-config-resource.test.ts.snap b/typescript/inspector2/test/__snapshots__/inspector2-update-org-config-resource.test.ts.snap index 4c1fc162ee..cd089e2f9b 100644 --- a/typescript/inspector2/test/__snapshots__/inspector2-update-org-config-resource.test.ts.snap +++ b/typescript/inspector2/test/__snapshots__/inspector2-update-org-config-resource.test.ts.snap @@ -1,131 +1,7 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Inspector2UpdateOrganizationConfigurationResource creates required resources 1`] = ` { - "Mappings": { - "LatestNodeRuntimeMap": { - "af-south-1": { - "value": "nodejs20.x", - }, - "ap-east-1": { - "value": "nodejs20.x", - }, - "ap-northeast-1": { - "value": "nodejs20.x", - }, - "ap-northeast-2": { - "value": "nodejs20.x", - }, - "ap-northeast-3": { - "value": "nodejs20.x", - }, - "ap-south-1": { - "value": "nodejs20.x", - }, - "ap-south-2": { - "value": "nodejs20.x", - }, - "ap-southeast-1": { - "value": "nodejs20.x", - }, - "ap-southeast-2": { - "value": "nodejs20.x", - }, - "ap-southeast-3": { - "value": "nodejs20.x", - }, - "ap-southeast-4": { - "value": "nodejs20.x", - }, - "ap-southeast-5": { - "value": "nodejs20.x", - }, - "ap-southeast-7": { - "value": "nodejs20.x", - }, - "ca-central-1": { - "value": "nodejs20.x", - }, - "ca-west-1": { - "value": "nodejs20.x", - }, - "cn-north-1": { - "value": "nodejs20.x", - }, - "cn-northwest-1": { - "value": "nodejs20.x", - }, - "eu-central-1": { - "value": "nodejs20.x", - }, - "eu-central-2": { - "value": "nodejs20.x", - }, - "eu-isoe-west-1": { - "value": "nodejs18.x", - }, - "eu-north-1": { - "value": "nodejs20.x", - }, - "eu-south-1": { - "value": "nodejs20.x", - }, - "eu-south-2": { - "value": "nodejs20.x", - }, - "eu-west-1": { - "value": "nodejs20.x", - }, - "eu-west-2": { - "value": "nodejs20.x", - }, - "eu-west-3": { - "value": "nodejs20.x", - }, - "il-central-1": { - "value": "nodejs20.x", - }, - "me-central-1": { - "value": "nodejs20.x", - }, - "me-south-1": { - "value": "nodejs20.x", - }, - "mx-central-1": { - "value": "nodejs20.x", - }, - "sa-east-1": { - "value": "nodejs20.x", - }, - "us-east-1": { - "value": "nodejs20.x", - }, - "us-east-2": { - "value": "nodejs20.x", - }, - "us-gov-east-1": { - "value": "nodejs20.x", - }, - "us-gov-west-1": { - "value": "nodejs20.x", - }, - "us-iso-east-1": { - "value": "nodejs18.x", - }, - "us-iso-west-1": { - "value": "nodejs18.x", - }, - "us-isob-east-1": { - "value": "nodejs18.x", - }, - "us-west-1": { - "value": "nodejs20.x", - }, - "us-west-2": { - "value": "nodejs20.x", - }, - }, - }, "Parameters": { "BootstrapVersion": { "Default": "/cdk-bootstrap/hnb659fds/version", @@ -153,15 +29,7 @@ exports[`Inspector2UpdateOrganizationConfigurationResource creates required reso "Arn", ], }, - "Runtime": { - "Fn::FindInMap": [ - "LatestNodeRuntimeMap", - { - "Ref": "AWS::Region", - }, - "value", - ], - }, + "Runtime": "nodejs22.x", "Timeout": 120, }, "Type": "AWS::Lambda::Function", diff --git a/typescript/lambda-api-ci/package.json b/typescript/lambda-api-ci/package.json index b3f9fb20ae..0d66ef7c3b 100644 --- a/typescript/lambda-api-ci/package.json +++ b/typescript/lambda-api-ci/package.json @@ -12,14 +12,14 @@ "prettier": "prettier --write '**/{bin,lib,src,tst}/*.ts'" }, "devDependencies": { - "aws-cdk": "2.1010.0", - "@types/node": "22.7.9", + "aws-cdk": "2.1114.1", + "@types/node": "^24.10.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3", + "typescript": "~5.9.3", "prettier": "^3.2.5" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "@aws-sdk/client-s3": "^3.525.0", "source-map-support": "^0.5.21" diff --git a/typescript/lambda-api-ci/src/package.json b/typescript/lambda-api-ci/src/package.json index 30a7b0f5ec..0341feda30 100644 --- a/typescript/lambda-api-ci/src/package.json +++ b/typescript/lambda-api-ci/src/package.json @@ -9,11 +9,11 @@ "test": "jest" }, "devDependencies": { - "@types/node": "22.7.9", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "@types/node": "^24.10.1", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { "@aws-sdk/client-s3": "^3.525.0" diff --git a/typescript/lambda-cloudwatch-dashboard/package.json b/typescript/lambda-cloudwatch-dashboard/package.json index d38c901eb3..795caa17ff 100644 --- a/typescript/lambda-cloudwatch-dashboard/package.json +++ b/typescript/lambda-cloudwatch-dashboard/package.json @@ -11,16 +11,16 @@ }, "devDependencies": { "@aws-cdk/assert": "*", - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", - "aws-cdk": "2.1010.0", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "jest": "^30", + "ts-jest": "^29", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.16" } diff --git a/typescript/lambda-cron/package.json b/typescript/lambda-cron/package.json index 03866404ae..65fb404ff8 100644 --- a/typescript/lambda-cron/package.json +++ b/typescript/lambda-cron/package.json @@ -16,14 +16,14 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "@types/jest": "^29.5.14", - "aws-cdk": "2.1010.0", - "jest": "^29.7.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "@types/jest": "^30", + "aws-cdk": "2.1114.1", + "jest": "^30", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/lambda-layer/package.json b/typescript/lambda-layer/package.json index 93e528171c..de0ba8a55b 100644 --- a/typescript/lambda-layer/package.json +++ b/typescript/lambda-layer/package.json @@ -11,13 +11,13 @@ }, "devDependencies": { "@aws-cdk/assert": "*", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.16" } diff --git a/typescript/lambda-manage-s3-event-notification/package.json b/typescript/lambda-manage-s3-event-notification/package.json index 68278902b9..cc13ba178c 100644 --- a/typescript/lambda-manage-s3-event-notification/package.json +++ b/typescript/lambda-manage-s3-event-notification/package.json @@ -11,14 +11,14 @@ }, "devDependencies": { "@aws-cdk/assert": "*", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { "@aws-sdk/client-s3": "^3.427.0", - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.16" } diff --git a/typescript/lambda-provisioned-concurrency-autoscaling/package.json b/typescript/lambda-provisioned-concurrency-autoscaling/package.json index 242ccfe24e..aefaffb995 100644 --- a/typescript/lambda-provisioned-concurrency-autoscaling/package.json +++ b/typescript/lambda-provisioned-concurrency-autoscaling/package.json @@ -17,15 +17,15 @@ }, "devDependencies": { "@aws-cdk/assert": "*", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "@types/jest": "^29.5.14", - "jest": "^29.7.0", - "typescript": "~5.6.3" + "@types/jest": "^30", + "jest": "^30", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/lexbot/package.json b/typescript/lexbot/package.json index df820fce15..a04d14b08b 100644 --- a/typescript/lexbot/package.json +++ b/typescript/lexbot/package.json @@ -11,16 +11,16 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", - "aws-cdk": "2.1010.0", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "jest": "^30", + "ts-jest": "^29", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" } diff --git a/typescript/my-widget-service/package.json b/typescript/my-widget-service/package.json index 048df96a22..6b6500c57c 100644 --- a/typescript/my-widget-service/package.json +++ b/typescript/my-widget-service/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "*" } diff --git a/typescript/neptune-with-vpc/package.json b/typescript/neptune-with-vpc/package.json index 422f0380c1..3569d3589c 100644 --- a/typescript/neptune-with-vpc/package.json +++ b/typescript/neptune-with-vpc/package.json @@ -10,7 +10,7 @@ "cdk": "cdk" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "@aws-cdk/aws-neptune-alpha": "^2.0.0-alpha.10", "@types/jest": "^26.0.10", diff --git a/typescript/opensearch/cwlogs_ingestion/package.json b/typescript/opensearch/cwlogs_ingestion/package.json index 0bce4d724f..92328edc72 100644 --- a/typescript/opensearch/cwlogs_ingestion/package.json +++ b/typescript/opensearch/cwlogs_ingestion/package.json @@ -11,19 +11,19 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", "constructs": "^10.2.43", "globals": "^15.6.0", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { "@aws-cdk/aws-lambda-python-alpha": "2.165.0-alpha.0", - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" } diff --git a/typescript/opensearch/os_vpc_provision/package.json b/typescript/opensearch/os_vpc_provision/package.json index 32a3722dc2..45197a2799 100644 --- a/typescript/opensearch/os_vpc_provision/package.json +++ b/typescript/opensearch/os_vpc_provision/package.json @@ -10,18 +10,18 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", - "aws-cdk": "2.1010.0", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "jest": "^30", + "ts-jest": "^29", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3", + "typescript": "~5.9.3", "constructs": "^10.2.43" }, "dependencies": { "aws-cdk": "^2.102.0", - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" } diff --git a/typescript/postgres-lambda/package.json b/typescript/postgres-lambda/package.json index 6e91ecf261..b1df08a4ab 100644 --- a/typescript/postgres-lambda/package.json +++ b/typescript/postgres-lambda/package.json @@ -19,17 +19,17 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "^2.1020.2", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "^2.204.0", - "constructs": "^10.4.2", + "aws-cdk-lib": "2.248.0", + "constructs": "^10.0.0", "esbuild": "^0.25.6" } } diff --git a/typescript/quicksight/package.json b/typescript/quicksight/package.json index 27f51dcf32..c1f2edc716 100644 --- a/typescript/quicksight/package.json +++ b/typescript/quicksight/package.json @@ -10,16 +10,16 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" } diff --git a/typescript/r53-resolver/package.json b/typescript/r53-resolver/package.json index 1c6f4abcca..244150d230 100644 --- a/typescript/r53-resolver/package.json +++ b/typescript/r53-resolver/package.json @@ -11,17 +11,17 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { "@aws-cdk/aws-route53resolver-alpha": "^2.133.0-alpha.0", - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" } diff --git a/typescript/rds/aurora/package.json b/typescript/rds/aurora/package.json index 4f7466fe05..e3c84c5a09 100644 --- a/typescript/rds/aurora/package.json +++ b/typescript/rds/aurora/package.json @@ -10,16 +10,16 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "jest": "^29.7.0", - "aws-cdk": "2.1010.0", - "ts-jest": "^29.2.5", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "jest": "^30", + "aws-cdk": "2.1114.1", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" } diff --git a/typescript/rds/mysql/package.json b/typescript/rds/mysql/package.json index 1810636462..4cb0a14074 100644 --- a/typescript/rds/mysql/package.json +++ b/typescript/rds/mysql/package.json @@ -10,17 +10,17 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "esModuleInterop": true, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" } diff --git a/typescript/rds/oracle/package.json b/typescript/rds/oracle/package.json index 0b69403600..b613f8d837 100644 --- a/typescript/rds/oracle/package.json +++ b/typescript/rds/oracle/package.json @@ -10,16 +10,16 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "jest": "^29.7.0", - "aws-cdk": "2.1010.0", - "ts-jest": "^29.2.5", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "jest": "^30", + "aws-cdk": "2.1114.1", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" } diff --git a/typescript/rekognition-lambda-s3-trigger/package.json b/typescript/rekognition-lambda-s3-trigger/package.json index 22fe89ae38..76bdf78326 100644 --- a/typescript/rekognition-lambda-s3-trigger/package.json +++ b/typescript/rekognition-lambda-s3-trigger/package.json @@ -10,15 +10,15 @@ "cdk": "cdk" }, "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { "@aws-sdk/client-dynamodb": "^3.538.0", "@aws-sdk/client-rekognition": "^3.535.0", - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.16" } diff --git a/typescript/resource-overrides/package.json b/typescript/resource-overrides/package.json index 6127e72f7b..7718c71566 100644 --- a/typescript/resource-overrides/package.json +++ b/typescript/resource-overrides/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "aws-cdk": "2.1010.0", - "@types/node": "22.7.9", - "typescript": "~5.6.3" + "aws-cdk": "2.1114.1", + "@types/node": "^24.10.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/route53-resolver-dns-firewall/package.json b/typescript/route53-resolver-dns-firewall/package.json index 02a1dcee5b..c2100d5d9e 100644 --- a/typescript/route53-resolver-dns-firewall/package.json +++ b/typescript/route53-resolver-dns-firewall/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" } diff --git a/typescript/s3-kms-cross-account-replication/package.json b/typescript/s3-kms-cross-account-replication/package.json index 8f357dc411..fe3974b66e 100644 --- a/typescript/s3-kms-cross-account-replication/package.json +++ b/typescript/s3-kms-cross-account-replication/package.json @@ -11,18 +11,18 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", "cdk-nag": "^2.0.0", - "jest": "^29.7.0", + "jest": "^30", "prettier": "2.6.2", - "ts-jest": "^29.2.5", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.16" } diff --git a/typescript/s3-object-lambda/package.json b/typescript/s3-object-lambda/package.json index dddd05be89..001544385d 100644 --- a/typescript/s3-object-lambda/package.json +++ b/typescript/s3-object-lambda/package.json @@ -10,14 +10,14 @@ "cdk": "cdk" }, "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { "@aws-sdk/client-s3": "^3.537.0", - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" } diff --git a/typescript/s3-sns-lambda-chain/package.json b/typescript/s3-sns-lambda-chain/package.json index 7bad11500a..774342f565 100644 --- a/typescript/s3-sns-lambda-chain/package.json +++ b/typescript/s3-sns-lambda-chain/package.json @@ -12,16 +12,16 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" }, "jest": { diff --git a/typescript/secrets-manager-rotation/package.json b/typescript/secrets-manager-rotation/package.json index b682cab2f0..4433575e71 100644 --- a/typescript/secrets-manager-rotation/package.json +++ b/typescript/secrets-manager-rotation/package.json @@ -15,16 +15,16 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "jest": "^30", + "ts-jest": "^29", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "@aws-cdk/aws-lambda-python-alpha": "*", "constructs": "^10.0.0" } diff --git a/typescript/servicecatalog/portfolio-with-ec2-product/package.json b/typescript/servicecatalog/portfolio-with-ec2-product/package.json index 40e701a9c3..67deb6b1cd 100644 --- a/typescript/servicecatalog/portfolio-with-ec2-product/package.json +++ b/typescript/servicecatalog/portfolio-with-ec2-product/package.json @@ -10,16 +10,16 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", - "aws-cdk": "2.1010.0", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "jest": "^30", + "ts-jest": "^29", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/ssm-document-association/package.json b/typescript/ssm-document-association/package.json index af01880151..465c66157f 100644 --- a/typescript/ssm-document-association/package.json +++ b/typescript/ssm-document-association/package.json @@ -10,16 +10,16 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", - "aws-cdk": "2.1010.0", + "@types/jest": "^30", + "@types/node": "^24.10.1", + "jest": "^30", + "ts-jest": "^29", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/static-site-basic/package.json b/typescript/static-site-basic/package.json index 1c2060e82f..c540b7bcb2 100644 --- a/typescript/static-site-basic/package.json +++ b/typescript/static-site-basic/package.json @@ -14,12 +14,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "ts-node": "^10.9.2" } diff --git a/typescript/static-site/package.json b/typescript/static-site/package.json index e06f615a77..7eec7c93a7 100644 --- a/typescript/static-site/package.json +++ b/typescript/static-site/package.json @@ -14,12 +14,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/stepfunction-external-definition/package.json b/typescript/stepfunction-external-definition/package.json index a0f7bdcc25..c40d76a609 100644 --- a/typescript/stepfunction-external-definition/package.json +++ b/typescript/stepfunction-external-definition/package.json @@ -10,13 +10,13 @@ "cdk": "cdk" }, "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", "ts-node": "^10.9.2", - "typescript": "~5.6.3" + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "source-map-support": "^0.5.21" } diff --git a/typescript/stepfunctions-job-poller/package.json b/typescript/stepfunctions-job-poller/package.json index 50cc11f99f..e36e47c0c8 100644 --- a/typescript/stepfunctions-job-poller/package.json +++ b/typescript/stepfunctions-job-poller/package.json @@ -15,12 +15,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0" } } diff --git a/typescript/waf/package.json b/typescript/waf/package.json index ffabdf62fa..1973088286 100644 --- a/typescript/waf/package.json +++ b/typescript/waf/package.json @@ -10,13 +10,13 @@ "cdk": "cdk" }, "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "22.7.9", - "aws-cdk": "2.1010.0", - "typescript": "~5.6.3" + "@types/jest": "^30", + "@types/node": "^24.10.1", + "aws-cdk": "2.1114.1", + "typescript": "~5.9.3" }, "dependencies": { - "aws-cdk-lib": "2.190.0", + "aws-cdk-lib": "2.248.0", "constructs": "^10.0.0", "jest": "^26.4.2", "ts-jest": "^26.2.0",