Skip to content

Commit e7943a0

Browse files
authored
Merge pull request #1241 from awslabs/bump/2.75.0
chore(release): 2.75.0
2 parents 072aa18 + 9adc33c commit e7943a0

File tree

440 files changed

+30624
-2263
lines changed

Some content is hidden

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

440 files changed

+30624
-2263
lines changed

.viperlightignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,4 +183,4 @@ source/patterns/@aws-solutions-constructs/aws-route53-alb/test/integ.r53alb-depl
183183
source/patterns/@aws-solutions-constructs/aws-route53-alb/test/integ.r53alb-deployPublicApiNewAlb.js.snapshot/r53alb-deployPublicApiNewAlb.template.json:214
184184
source/patterns/@aws-solutions-constructs/aws-route53-alb/test/integ.r53alb-deployPublicApiNewAlb.js.snapshot/tree.json:269
185185
# compressed test web site
186-
source/use_cases/aws-s3-static-website/test/integ.basic-deployment.js.snapshot/asset.3322b7049fb0ed2b7cbb644a2ada8d1116ff80c32dca89e6ada846b5de26f961.zip
186+
source/use_cases/aws-s3-static-website/test/integ.basic-deployment.js.snapshot/asset.eafa2d6c6a55bda16b1603003f1721e2f66a024c0c31d6665ee1c5ff59b565d9.zip

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

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

5+
## [2.75.0](https://github.com/awslabs/aws-solutions-constructs/compare/v2.74.0...v2.75.0) (2024-12-23)
6+
7+
8+
### Features
9+
10+
* **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))
11+
* **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))
12+
513
## [2.74.0](https://github.com/awslabs/aws-solutions-constructs/compare/v2.73.0...v2.74.0) (2024-10-22)
614

715
Build on CDK v2.161.0

NOTICE.txt

-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ This software includes third party software subject to the following copyrights:
2020
aws-cdk under the Apache License Version 2.0
2121
aws-sdk under the Apache License Version 2.0
2222
aws-sdk-mock under the Apache License Version 2.0
23-
bootstrap under the Massachusetts Institute of Technology (MIT) license
24-
chai under the Massachusetts Institute of Technology (MIT) license
2523
color under the Massachusetts Institute of Technology (MIT) license
2624
color-name under the Massachusetts Institute of Technology (MIT) license
2725
deepmerge under the MIT License

deployment/v2/align-version.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const nullVersionMarker = process.argv[2];
1010
const targetSolutionsConstructsVersion = process.argv[3];
1111

1212
// these versions need to be sourced from a config file
13-
const awsCdkLibVersion = '2.161.0';
13+
const awsCdkLibVersion = '2.163.1';
1414

1515
for (const file of process.argv.splice(4)) {
1616
const pkg = JSON.parse(fs.readFileSync(file).toString());

source/THIRD-PARTY-LICENSES.txt

+522
Large diffs are not rendered by default.

source/lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"patterns/@aws-solutions-constructs/*"
66
],
77
"rejectCycles": "true",
8-
"version": "2.74.0"
8+
"version": "2.75.0"
99
}

source/package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,27 @@
1414
},
1515
"private": true,
1616
"dependencies": {
17-
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
17+
"constructs": "^10.0.0"
18+
},
19+
"devDependencies": {
20+
"@aws-cdk/integ-tests-alpha": "2.163.1-alpha.0",
1821
"@typescript-eslint/eslint-plugin": "^2.14.0",
1922
"@typescript-eslint/parser": "^2.14.0",
20-
"eslint": "^6.8.0",
21-
"eslint-import-resolver-node": "^0.3.2",
22-
"eslint-import-resolver-typescript": "^2.0.0",
23-
"eslint-plugin-import": "^2.19.1",
24-
"eslint-plugin-license-header": "^0.2.0",
2523
"fs-extra": "^8.1.0",
24+
"typescript": "4.7.4",
2625
"jest": "^27.4.0",
2726
"jsii": "~5.4.26",
2827
"jsii-rosetta": "~5.4.25",
2928
"jsii-pacmak": "^1.92.0",
3029
"tslint": "^5.20.1",
31-
"typescript": "4.7.4",
32-
"constructs": "^10.0.0"
33-
},
34-
"devDependencies": {
3530
"lerna": "8.1.8",
31+
"eslint": "^6.8.0",
32+
"eslint-import-resolver-node": "^0.3.2",
33+
"eslint-import-resolver-typescript": "^2.0.0",
34+
"eslint-plugin-import": "^2.19.1",
35+
"eslint-plugin-license-header": "^0.2.0",
3636
"constructs": "^10.0.0",
37-
"aws-cdk-lib": "0.0.0"
37+
"aws-cdk-lib": "2.163.1"
3838
},
3939
"workspaces": {
4040
"packages": [

source/patterns/@aws-solutions-constructs/aws-alb-fargate/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
5756
"@aws-solutions-constructs/core": "0.0.0",
5857
"constructs": "^10.0.0"
5958
},
6059
"devDependencies": {
60+
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
6161
"@types/jest": "^27.4.0",
6262
"@aws-solutions-constructs/core": "0.0.0",
6363
"@types/node": "^10.3.0",

source/patterns/@aws-solutions-constructs/aws-alb-lambda/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const certificate = acm.Certificate.fromCertificateArn(
4545
const constructProps: AlbToLambdaProps = {
4646
lambdaFunctionProps: {
4747
code: lambda.Code.fromAsset(`lambda`),
48-
runtime: lambda.Runtime.NODEJS_16_X,
48+
runtime: lambda.Runtime.NODEJS_20_X,
4949
handler: 'index.handler'
5050
},
5151
listenerProps: {
@@ -85,7 +85,7 @@ certificate = acm.Certificate.from_certificate_arn(
8585
# MyStack(app, 'id', env=cdk.Environment(account='123456789012', region='us-east-1'))
8686
AlbToLambda(self, 'new-construct',
8787
lambda_function_props=_lambda.FunctionProps(
88-
runtime=_lambda.Runtime.PYTHON_3_7,
88+
runtime=_lambda.Runtime.Python_3_11,
8989
code=_lambda.Code.from_asset('lambda'),
9090
handler='index.handler',
9191
),
@@ -121,7 +121,7 @@ ListenerCertificate listenerCertificate = ListenerCertificate
121121
// .build());
122122
new AlbToLambda(this, "AlbToLambdaPattern", new AlbToLambdaProps.Builder()
123123
.lambdaFunctionProps(new FunctionProps.Builder()
124-
.runtime(Runtime.NODEJS_16_X)
124+
.runtime(Runtime.NODEJS_20_X)
125125
.code(Code.fromAsset("lambda"))
126126
.handler("index.handler")
127127
.build())

source/patterns/@aws-solutions-constructs/aws-alb-lambda/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
5756
"@aws-solutions-constructs/core": "0.0.0",
5857
"constructs": "^10.0.0"
5958
},
6059
"devDependencies": {
60+
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
6161
"@types/jest": "^27.4.0",
6262
"@aws-solutions-constructs/core": "0.0.0",
6363
"@types/node": "^10.3.0",

source/patterns/@aws-solutions-constructs/aws-alb-lambda/test/lambda/index.js

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5+
* with the License. A copy of the License is located at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10+
* OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11+
* and limitations under the License.
12+
*/
13+
114
exports.handler = async function (event) {
215
console.log("request:", JSON.stringify(event, undefined, 2));
316
return {

source/patterns/@aws-solutions-constructs/aws-apigateway-dynamodb/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
5756
"@aws-solutions-constructs/core": "0.0.0",
5857
"constructs": "^10.0.0"
5958
},
6059
"devDependencies": {
60+
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
6161
"@types/jest": "^27.4.0",
6262
"@types/node": "^10.3.0",
6363
"constructs": "^10.0.0",

source/patterns/@aws-solutions-constructs/aws-apigateway-iot/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
5756
"@aws-solutions-constructs/core": "0.0.0",
5857
"constructs": "^10.0.0"
5958
},
6059
"devDependencies": {
60+
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
6161
"@types/jest": "^27.4.0",
6262
"@types/node": "^10.3.0",
6363
"constructs": "^10.0.0",

source/patterns/@aws-solutions-constructs/aws-apigateway-kinesisstreams/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
5756
"@aws-solutions-constructs/core": "0.0.0",
5857
"constructs": "^10.0.0"
5958
},
6059
"devDependencies": {
60+
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
6161
"@types/jest": "^27.4.0",
6262
"@types/node": "^10.3.0",
6363
"constructs": "^10.0.0",

source/patterns/@aws-solutions-constructs/aws-apigateway-lambda/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import * as lambda from 'aws-cdk-lib/aws-lambda';
3333

3434
new ApiGatewayToLambda(this, 'ApiGatewayToLambdaPattern', {
3535
lambdaFunctionProps: {
36-
runtime: lambda.Runtime.NODEJS_16_X,
36+
runtime: lambda.Runtime.NODEJS_20_X,
3737
handler: 'index.handler',
3838
code: lambda.Code.fromAsset(`lambda`)
3939
}
@@ -51,7 +51,7 @@ from constructs import Construct
5151

5252
ApiGatewayToLambda(self, 'ApiGatewayToLambdaPattern',
5353
lambda_function_props=_lambda.FunctionProps(
54-
runtime=_lambda.Runtime.PYTHON_3_9,
54+
runtime=_lambda.Runtime.Python_3_11,
5555
handler='index.handler',
5656
code=_lambda.Code.from_asset('lambda')
5757
)
@@ -71,7 +71,7 @@ import software.amazon.awsconstructs.services.apigatewaylambda.*;
7171

7272
new ApiGatewayToLambda(this, "ApiGatewayToLambdaPattern", new ApiGatewayToLambdaProps.Builder()
7373
.lambdaFunctionProps(new FunctionProps.Builder()
74-
.runtime(Runtime.NODEJS_16_X)
74+
.runtime(Runtime.NODEJS_20_X)
7575
.code(Code.fromAsset("lambda"))
7676
.handler("index.handler")
7777
.build())

source/patterns/@aws-solutions-constructs/aws-apigateway-lambda/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
5756
"@aws-solutions-constructs/core": "0.0.0",
5857
"constructs": "^10.0.0"
5958
},
6059
"devDependencies": {
60+
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
6161
"@types/jest": "^27.4.0",
6262
"@types/node": "^10.3.0",
6363
"constructs": "^10.0.0",

source/patterns/@aws-solutions-constructs/aws-apigateway-sagemakerendpoint/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
5756
"@aws-solutions-constructs/core": "0.0.0",
5857
"constructs": "^10.0.0"
5958
},
6059
"devDependencies": {
60+
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
6161
"@types/jest": "^27.4.0",
6262
"@types/node": "^10.3.0",
6363
"constructs": "^10.0.0",

source/patterns/@aws-solutions-constructs/aws-apigateway-sqs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
5756
"@aws-solutions-constructs/core": "0.0.0",
5857
"constructs": "^10.0.0"
5958
},
6059
"devDependencies": {
60+
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
6161
"@types/jest": "^27.4.0",
6262
"@types/node": "^10.3.0",
6363
"constructs": "^10.0.0",

source/patterns/@aws-solutions-constructs/aws-apigatewayv2websocket-sqs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
5756
"@aws-solutions-constructs/core": "0.0.0",
5857
"constructs": "^10.0.0"
5958
},
6059
"devDependencies": {
60+
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
6161
"@types/jest": "^27.4.0",
6262
"@types/node": "^10.3.0",
6363
"constructs": "^10.0.0",

source/patterns/@aws-solutions-constructs/aws-cloudfront-apigateway-lambda/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import * as lambda from 'aws-cdk-lib/aws-lambda';
3333
new CloudFrontToApiGatewayToLambda(this, 'test-cloudfront-apigateway-lambda', {
3434
lambdaFunctionProps: {
3535
code: lambda.Code.fromAsset(`lambda`),
36-
runtime: lambda.Runtime.NODEJS_16_X,
36+
runtime: lambda.Runtime.NODEJS_20_X,
3737
handler: 'index.handler'
3838
},
3939
apiGatewayProps: {
@@ -57,7 +57,7 @@ from constructs import Construct
5757
CloudFrontToApiGatewayToLambda(
5858
self, 'CloudFrontApiGatewayToLambda',
5959
lambda_function_props=_lambda.FunctionProps(
60-
runtime=_lambda.Runtime.PYTHON_3_7,
60+
runtime=_lambda.Runtime.Python_3_11,
6161
code=_lambda.Code.from_asset('lambda'),
6262
handler='hello.handler',
6363
),
@@ -86,7 +86,7 @@ import software.amazon.awsconstructs.services.cloudfrontapigatewaylambda.CloudFr
8686

8787
new CloudFrontToApiGatewayToLambda(this, "ApiGatewayToLambdaPattern", new CloudFrontToApiGatewayToLambdaProps.Builder()
8888
.lambdaFunctionProps(new FunctionProps.Builder()
89-
.runtime(Runtime.NODEJS_16_X) // execution environment
89+
.runtime(Runtime.NODEJS_20_X) // execution environment
9090
.code(Code.fromAsset("lambda")) // code loaded from the `lambda` directory (under root, next to `src`)
9191
.handler("hello.handler") // file is `hello`, function is `handler`
9292
.build())

source/patterns/@aws-solutions-constructs/aws-cloudfront-apigateway-lambda/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
5756
"@aws-solutions-constructs/aws-cloudfront-apigateway": "0.0.0",
5857
"@aws-solutions-constructs/core": "0.0.0",
5958
"constructs": "^10.0.0"
6059
},
6160
"devDependencies": {
61+
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
6262
"@types/jest": "^27.4.0",
6363
"@types/node": "^10.3.0",
6464
"constructs": "^10.0.0",

source/patterns/@aws-solutions-constructs/aws-cloudfront-apigateway-lambda/test/lambda/index.js

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5+
* with the License. A copy of the License is located at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10+
* OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11+
* and limitations under the License.
12+
*/
13+
114
console.log('Loading function');
215

316
exports.handler = async (event, context) => {

source/patterns/@aws-solutions-constructs/aws-cloudfront-apigateway/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import * as api from 'aws-cdk-lib/aws-apigateway';
3333

3434
const lambdaProps: lambda.FunctionProps = {
3535
code: lambda.Code.fromAsset(`lambda`),
36-
runtime: lambda.Runtime.NODEJS_16_X,
36+
runtime: lambda.Runtime.NODEJS_20_X,
3737
handler: 'index.handler'
3838
};
3939

@@ -69,7 +69,7 @@ from constructs import Construct
6969
lambda_function = _lambda.Function(self, 'LambdaFunction',
7070
code=_lambda.Code.from_asset(
7171
'lambda'),
72-
runtime=_lambda.Runtime.PYTHON_3_9,
72+
runtime=_lambda.Runtime.Python_3_11,
7373
handler='index.handler')
7474

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

101101
final Function lambdaFunction = Function.Builder.create(this, "IndexHandler")
102-
.runtime(Runtime.NODEJS_16_X)
102+
.runtime(Runtime.NODEJS_20_X)
103103
.code(Code.fromAsset("lambda"))
104104
.handler("index.handler")
105105
.build();

source/patterns/@aws-solutions-constructs/aws-cloudfront-apigateway/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
5756
"@aws-solutions-constructs/core": "0.0.0",
5857
"constructs": "^10.0.0"
5958
},
6059
"devDependencies": {
60+
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
6161
"@types/jest": "^27.4.0",
6262
"@types/node": "^10.3.0",
6363
"constructs": "^10.0.0",

source/patterns/@aws-solutions-constructs/aws-cloudfront-mediastore/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
5756
"@aws-solutions-constructs/core": "0.0.0",
5857
"constructs": "^10.0.0"
5958
},
6059
"devDependencies": {
60+
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
6161
"@types/jest": "^27.4.0",
6262
"@types/node": "^10.3.0",
6363
"constructs": "^10.0.0",

source/patterns/@aws-solutions-constructs/aws-cloudfront-s3/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,12 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
5756
"@aws-solutions-constructs/core": "0.0.0",
5857
"@aws-solutions-constructs/resources": "0.0.0",
5958
"constructs": "^10.0.0"
6059
},
6160
"devDependencies": {
62-
"@types/jest": "^27.4.0",
61+
"@aws-cdk/integ-tests-alpha": "0.0.0-alpha.0",
6362
"@types/node": "^10.3.0",
6463
"constructs": "^10.0.0",
6564
"aws-cdk-lib": "0.0.0"

0 commit comments

Comments
 (0)