Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): 2.75.0 #1241

Merged
merged 14 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .viperlightignore
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,4 @@ source/patterns/@aws-solutions-constructs/aws-route53-alb/test/integ.r53alb-depl
source/patterns/@aws-solutions-constructs/aws-route53-alb/test/integ.r53alb-deployPublicApiNewAlb.js.snapshot/r53alb-deployPublicApiNewAlb.template.json:214
source/patterns/@aws-solutions-constructs/aws-route53-alb/test/integ.r53alb-deployPublicApiNewAlb.js.snapshot/tree.json:269
# compressed test web site
source/use_cases/aws-s3-static-website/test/integ.basic-deployment.js.snapshot/asset.3322b7049fb0ed2b7cbb644a2ada8d1116ff80c32dca89e6ada846b5de26f961.zip
source/use_cases/aws-s3-static-website/test/integ.basic-deployment.js.snapshot/asset.eafa2d6c6a55bda16b1603003f1721e2f66a024c0c31d6665ee1c5ff59b565d9.zip
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [2.75.0](https://github.com/awslabs/aws-solutions-constructs/compare/v2.74.0...v2.75.0) (2024-12-23)


### Features

* **aws-dynamodbstreams-pipes-stepfunctions:** new construct ([#1238](https://github.com/awslabs/aws-solutions-constructs/issues/1238)) ([7afe6e8](https://github.com/awslabs/aws-solutions-constructs/commit/7afe6e84f81db0a088301e15c8890d454ebf25da))
* **aws-dynomodbstreams-pipes-stepfunctions:** add default maximum retries ([#1240](https://github.com/awslabs/aws-solutions-constructs/issues/1240)) ([50404c1](https://github.com/awslabs/aws-solutions-constructs/commit/50404c112407119c2dc7e282fe0de37d8ed586d0))

## [2.74.0](https://github.com/awslabs/aws-solutions-constructs/compare/v2.73.0...v2.74.0) (2024-10-22)

Build on CDK v2.161.0
Expand Down
2 changes: 0 additions & 2 deletions NOTICE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ This software includes third party software subject to the following copyrights:
aws-cdk under the Apache License Version 2.0
aws-sdk under the Apache License Version 2.0
aws-sdk-mock under the Apache License Version 2.0
bootstrap under the Massachusetts Institute of Technology (MIT) license
chai under the Massachusetts Institute of Technology (MIT) license
color under the Massachusetts Institute of Technology (MIT) license
color-name under the Massachusetts Institute of Technology (MIT) license
deepmerge under the MIT License
Expand Down
2 changes: 1 addition & 1 deletion deployment/v2/align-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const nullVersionMarker = process.argv[2];
const targetSolutionsConstructsVersion = process.argv[3];

// these versions need to be sourced from a config file
const awsCdkLibVersion = '2.161.0';
const awsCdkLibVersion = '2.163.1';

for (const file of process.argv.splice(4)) {
const pkg = JSON.parse(fs.readFileSync(file).toString());
Expand Down
522 changes: 522 additions & 0 deletions source/THIRD-PARTY-LICENSES.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion source/lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"patterns/@aws-solutions-constructs/*"
],
"rejectCycles": "true",
"version": "2.74.0"
"version": "2.75.0"
}
22 changes: 11 additions & 11 deletions source/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,27 @@
},
"private": true,
"dependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"constructs": "^10.0.0"
},
"devDependencies": {
"@aws-cdk/integ-tests-alpha": "2.163.1-alpha.0",
"@typescript-eslint/eslint-plugin": "^2.14.0",
"@typescript-eslint/parser": "^2.14.0",
"eslint": "^6.8.0",
"eslint-import-resolver-node": "^0.3.2",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-license-header": "^0.2.0",
"fs-extra": "^8.1.0",
"typescript": "4.7.4",
"jest": "^27.4.0",
"jsii": "~5.4.26",
"jsii-rosetta": "~5.4.25",
"jsii-pacmak": "^1.92.0",
"tslint": "^5.20.1",
"typescript": "4.7.4",
"constructs": "^10.0.0"
},
"devDependencies": {
"lerna": "8.1.8",
"eslint": "^6.8.0",
"eslint-import-resolver-node": "^0.3.2",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-license-header": "^0.2.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
"aws-cdk-lib": "2.163.1"
},
"workspaces": {
"packages": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
}
},
"dependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0"
},
"devDependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@types/jest": "^27.4.0",
"@aws-solutions-constructs/core": "0.0.0",
"@types/node": "^10.3.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const certificate = acm.Certificate.fromCertificateArn(
const constructProps: AlbToLambdaProps = {
lambdaFunctionProps: {
code: lambda.Code.fromAsset(`lambda`),
runtime: lambda.Runtime.NODEJS_16_X,
runtime: lambda.Runtime.NODEJS_20_X,
handler: 'index.handler'
},
listenerProps: {
Expand Down Expand Up @@ -85,7 +85,7 @@ certificate = acm.Certificate.from_certificate_arn(
# MyStack(app, 'id', env=cdk.Environment(account='123456789012', region='us-east-1'))
AlbToLambda(self, 'new-construct',
lambda_function_props=_lambda.FunctionProps(
runtime=_lambda.Runtime.PYTHON_3_7,
runtime=_lambda.Runtime.Python_3_11,
code=_lambda.Code.from_asset('lambda'),
handler='index.handler',
),
Expand Down Expand Up @@ -121,7 +121,7 @@ ListenerCertificate listenerCertificate = ListenerCertificate
// .build());
new AlbToLambda(this, "AlbToLambdaPattern", new AlbToLambdaProps.Builder()
.lambdaFunctionProps(new FunctionProps.Builder()
.runtime(Runtime.NODEJS_16_X)
.runtime(Runtime.NODEJS_20_X)
.code(Code.fromAsset("lambda"))
.handler("index.handler")
.build())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
}
},
"dependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0"
},
"devDependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@types/jest": "^27.4.0",
"@aws-solutions-constructs/core": "0.0.0",
"@types/node": "^10.3.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
* with the License. A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
* OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/

exports.handler = async function (event) {
console.log("request:", JSON.stringify(event, undefined, 2));
return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
}
},
"dependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0"
},
"devDependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "^10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
}
},
"dependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0"
},
"devDependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "^10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
}
},
"dependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0"
},
"devDependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "^10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import * as lambda from 'aws-cdk-lib/aws-lambda';

new ApiGatewayToLambda(this, 'ApiGatewayToLambdaPattern', {
lambdaFunctionProps: {
runtime: lambda.Runtime.NODEJS_16_X,
runtime: lambda.Runtime.NODEJS_20_X,
handler: 'index.handler',
code: lambda.Code.fromAsset(`lambda`)
}
Expand All @@ -51,7 +51,7 @@ from constructs import Construct

ApiGatewayToLambda(self, 'ApiGatewayToLambdaPattern',
lambda_function_props=_lambda.FunctionProps(
runtime=_lambda.Runtime.PYTHON_3_9,
runtime=_lambda.Runtime.Python_3_11,
handler='index.handler',
code=_lambda.Code.from_asset('lambda')
)
Expand All @@ -71,7 +71,7 @@ import software.amazon.awsconstructs.services.apigatewaylambda.*;

new ApiGatewayToLambda(this, "ApiGatewayToLambdaPattern", new ApiGatewayToLambdaProps.Builder()
.lambdaFunctionProps(new FunctionProps.Builder()
.runtime(Runtime.NODEJS_16_X)
.runtime(Runtime.NODEJS_20_X)
.code(Code.fromAsset("lambda"))
.handler("index.handler")
.build())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
}
},
"dependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0"
},
"devDependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "^10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
}
},
"dependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0"
},
"devDependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "^10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
}
},
"dependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0"
},
"devDependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "^10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
}
},
"dependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0"
},
"devDependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "^10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import * as lambda from 'aws-cdk-lib/aws-lambda';
new CloudFrontToApiGatewayToLambda(this, 'test-cloudfront-apigateway-lambda', {
lambdaFunctionProps: {
code: lambda.Code.fromAsset(`lambda`),
runtime: lambda.Runtime.NODEJS_16_X,
runtime: lambda.Runtime.NODEJS_20_X,
handler: 'index.handler'
},
apiGatewayProps: {
Expand All @@ -57,7 +57,7 @@ from constructs import Construct
CloudFrontToApiGatewayToLambda(
self, 'CloudFrontApiGatewayToLambda',
lambda_function_props=_lambda.FunctionProps(
runtime=_lambda.Runtime.PYTHON_3_7,
runtime=_lambda.Runtime.Python_3_11,
code=_lambda.Code.from_asset('lambda'),
handler='hello.handler',
),
Expand Down Expand Up @@ -86,7 +86,7 @@ import software.amazon.awsconstructs.services.cloudfrontapigatewaylambda.CloudFr

new CloudFrontToApiGatewayToLambda(this, "ApiGatewayToLambdaPattern", new CloudFrontToApiGatewayToLambdaProps.Builder()
.lambdaFunctionProps(new FunctionProps.Builder()
.runtime(Runtime.NODEJS_16_X) // execution environment
.runtime(Runtime.NODEJS_20_X) // execution environment
.code(Code.fromAsset("lambda")) // code loaded from the `lambda` directory (under root, next to `src`)
.handler("hello.handler") // file is `hello`, function is `handler`
.build())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@
}
},
"dependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@aws-solutions-constructs/aws-cloudfront-apigateway": "0.0.0",
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0"
},
"devDependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "^10.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
* with the License. A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
* OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/

console.log('Loading function');

exports.handler = async (event, context) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import * as api from 'aws-cdk-lib/aws-apigateway';

const lambdaProps: lambda.FunctionProps = {
code: lambda.Code.fromAsset(`lambda`),
runtime: lambda.Runtime.NODEJS_16_X,
runtime: lambda.Runtime.NODEJS_20_X,
handler: 'index.handler'
};

Expand Down Expand Up @@ -69,7 +69,7 @@ from constructs import Construct
lambda_function = _lambda.Function(self, 'LambdaFunction',
code=_lambda.Code.from_asset(
'lambda'),
runtime=_lambda.Runtime.PYTHON_3_9,
runtime=_lambda.Runtime.Python_3_11,
handler='index.handler')

api_gateway = api.LambdaRestApi(self, 'LambdaRestApi',
Expand Down Expand Up @@ -99,7 +99,7 @@ import software.amazon.awscdk.services.apigateway.*;
import software.amazon.awsconstructs.services.cloudfrontapigateway.*;

final Function lambdaFunction = Function.Builder.create(this, "IndexHandler")
.runtime(Runtime.NODEJS_16_X)
.runtime(Runtime.NODEJS_20_X)
.code(Code.fromAsset("lambda"))
.handler("index.handler")
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
}
},
"dependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0"
},
"devDependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "^10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
}
},
"dependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0"
},
"devDependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "^10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,12 @@
}
},
"dependencies": {
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@aws-solutions-constructs/core": "0.0.0",
"@aws-solutions-constructs/resources": "0.0.0",
"constructs": "^10.0.0"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
"@types/node": "^10.3.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
Expand Down
Loading