Skip to content

Commit 89924d3

Browse files
committed
Update to version v1.48.0
1 parent dd4a85b commit 89924d3

File tree

56 files changed

+2751
-470
lines changed

Some content is hidden

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

56 files changed

+2751
-470
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.48.0] - 2020-07-06
8+
9+
### Added
10+
- Upgraded all patterns to CDK v1.48.0
11+
- aws-lambda-step-function pattern added
12+
13+
### Changed
14+
- Fix for aws-sqs-lambda pattern bug when using FIFO queue ([#13](https://github.com/awslabs/aws-solutions-constructs/pull/13))
15+
- Minor updates to CONTRIBUTING.md and deployment/build-patterns.sh
16+
717
## [1.47.0] - 2020-06-25
818

919
### Added

CONTRIBUTING.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,9 @@ First run a clean Full Build before doing the partial build.
182182
```console
183183
$ cd <root-of-aws-solutions-constructs-repo>
184184
$ docker run --rm --net=host -it -v $PWD:$PWD -w $PWD jsii/superchain
185-
docker$ cd source/patterns/@aws-solutions-constructs/my-module
185+
docker$ cd source
186+
docker$ export PATH=$(npm bin):$PATH
187+
docker$ cd patterns/@aws-solutions-constructs/my-module
186188
docker$ npm run build+lint+test
187189
docker$ exit
188190
```

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# AWS Solutions Constructs
22

3+
| **Browse Library**:| <span style="font-weight: normal">https://aws.amazon.com/solutions/constructs/patterns/</span>|
4+
|:-------------|:-------------|
35
| **Reference Documentation**:| <span style="font-weight: normal">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|
46
|:-------------|:-------------|
57
<div style="height:8px"></div>

deployment/build-patterns.sh

-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,3 @@ yarn install --frozen-lockfile
2525
echo "============================================================================================="
2626
echo "building..."
2727
time lerna run $bail --stream $runtarget || fail
28-
29-
echo "============================================================================================="
30-
echo "packaging..."
31-
time lerna run $bail --stream jsii-pacmak || fail

source/lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"./patterns/@aws-solutions-constructs/*"
77
],
88
"rejectCycles": "true",
9-
"version": "1.47.0"
9+
"version": "1.48.0"
1010
}

source/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aws-solutions-constructs",
3-
"version": "1.47.0",
3+
"version": "1.48.0",
44
"description": "AWS Solutions Constructs Library",
55
"repository": {
66
"type": "git",

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

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-solutions-constructs/aws-apigateway-dynamodb",
3-
"version": "1.47.0",
3+
"version": "1.48.0",
44
"description": "CDK Constructs for AWS API Gateway and Amazon DynamoDB integration.",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -53,15 +53,15 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/core": "~1.47.0",
57-
"@aws-cdk/aws-apigateway": "~1.47.0",
58-
"@aws-cdk/aws-iam": "~1.47.0",
59-
"@aws-cdk/aws-dynamodb": "~1.47.0",
60-
"@aws-solutions-constructs/core": "~1.47.0",
56+
"@aws-cdk/core": "~1.48.0",
57+
"@aws-cdk/aws-apigateway": "~1.48.0",
58+
"@aws-cdk/aws-iam": "~1.48.0",
59+
"@aws-cdk/aws-dynamodb": "~1.48.0",
60+
"@aws-solutions-constructs/core": "~1.48.0",
6161
"constructs": "^3.0.2"
6262
},
6363
"devDependencies": {
64-
"@aws-cdk/assert": "~1.47.0",
64+
"@aws-cdk/assert": "~1.48.0",
6565
"@types/jest": "^24.0.23",
6666
"@types/node": "^10.3.0"
6767
},
@@ -71,11 +71,11 @@
7171
]
7272
},
7373
"peerDependencies": {
74-
"@aws-cdk/core": "~1.47.0",
75-
"@aws-cdk/aws-apigateway": "~1.47.0",
76-
"@aws-cdk/aws-iam": "~1.47.0",
77-
"@aws-cdk/aws-dynamodb": "~1.47.0",
78-
"@aws-solutions-constructs/core": "~1.47.0",
74+
"@aws-cdk/core": "~1.48.0",
75+
"@aws-cdk/aws-apigateway": "~1.48.0",
76+
"@aws-cdk/aws-iam": "~1.48.0",
77+
"@aws-cdk/aws-dynamodb": "~1.48.0",
78+
"@aws-solutions-constructs/core": "~1.48.0",
7979
"constructs": "^3.0.2"
8080
}
8181
}

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

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-solutions-constructs/aws-apigateway-lambda",
3-
"version": "1.47.0",
3+
"version": "1.48.0",
44
"description": "CDK constructs for defining an interaction between an API Gateway and a Lambda function.",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -53,15 +53,15 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/aws-apigateway": "~1.47.0",
57-
"@aws-cdk/aws-lambda": "~1.47.0",
58-
"@aws-cdk/aws-logs": "~1.47.0",
59-
"@aws-cdk/core": "~1.47.0",
60-
"@aws-solutions-constructs/core": "~1.47.0",
56+
"@aws-cdk/aws-apigateway": "~1.48.0",
57+
"@aws-cdk/aws-lambda": "~1.48.0",
58+
"@aws-cdk/aws-logs": "~1.48.0",
59+
"@aws-cdk/core": "~1.48.0",
60+
"@aws-solutions-constructs/core": "~1.48.0",
6161
"constructs": "^3.0.2"
6262
},
6363
"devDependencies": {
64-
"@aws-cdk/assert": "~1.47.0",
64+
"@aws-cdk/assert": "~1.48.0",
6565
"@types/jest": "^24.0.23",
6666
"@types/node": "^10.3.0"
6767
},
@@ -71,11 +71,11 @@
7171
]
7272
},
7373
"peerDependencies": {
74-
"@aws-cdk/aws-apigateway": "~1.47.0",
75-
"@aws-cdk/aws-lambda": "~1.47.0",
76-
"@aws-cdk/aws-logs": "~1.47.0",
77-
"@aws-cdk/core": "~1.47.0",
78-
"@aws-solutions-constructs/core": "~1.47.0",
74+
"@aws-cdk/aws-apigateway": "~1.48.0",
75+
"@aws-cdk/aws-lambda": "~1.48.0",
76+
"@aws-cdk/aws-logs": "~1.48.0",
77+
"@aws-cdk/core": "~1.48.0",
78+
"@aws-solutions-constructs/core": "~1.48.0",
7979
"constructs": "^3.0.2"
8080
}
8181
}

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

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-solutions-constructs/aws-apigateway-sqs",
3-
"version": "1.47.0",
3+
"version": "1.48.0",
44
"description": "CDK constructs for defining an interaction between an AWS Lambda function and an Amazon S3 bucket.",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -53,16 +53,16 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/aws-apigateway": "~1.47.0",
57-
"@aws-cdk/aws-sqs": "~1.47.0",
58-
"@aws-cdk/aws-kms": "~1.47.0",
59-
"@aws-cdk/aws-iam": "~1.47.0",
60-
"@aws-cdk/core": "~1.47.0",
61-
"@aws-solutions-constructs/core": "~1.47.0",
56+
"@aws-cdk/aws-apigateway": "~1.48.0",
57+
"@aws-cdk/aws-sqs": "~1.48.0",
58+
"@aws-cdk/aws-kms": "~1.48.0",
59+
"@aws-cdk/aws-iam": "~1.48.0",
60+
"@aws-cdk/core": "~1.48.0",
61+
"@aws-solutions-constructs/core": "~1.48.0",
6262
"constructs": "^3.0.2"
6363
},
6464
"devDependencies": {
65-
"@aws-cdk/assert": "~1.47.0",
65+
"@aws-cdk/assert": "~1.48.0",
6666
"@types/jest": "^24.0.23",
6767
"@types/node": "^10.3.0"
6868
},
@@ -72,12 +72,12 @@
7272
]
7373
},
7474
"peerDependencies": {
75-
"@aws-cdk/aws-apigateway": "~1.47.0",
76-
"@aws-cdk/aws-sqs": "~1.47.0",
77-
"@aws-cdk/aws-kms": "~1.47.0",
78-
"@aws-cdk/aws-iam": "~1.47.0",
79-
"@aws-cdk/core": "~1.47.0",
80-
"@aws-solutions-constructs/core": "~1.47.0",
75+
"@aws-cdk/aws-apigateway": "~1.48.0",
76+
"@aws-cdk/aws-sqs": "~1.48.0",
77+
"@aws-cdk/aws-kms": "~1.48.0",
78+
"@aws-cdk/aws-iam": "~1.48.0",
79+
"@aws-cdk/core": "~1.48.0",
80+
"@aws-solutions-constructs/core": "~1.48.0",
8181
"constructs": "^3.0.2"
8282
}
8383
}

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

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-solutions-constructs/aws-cloudfront-apigateway-lambda",
3-
"version": "1.47.0",
3+
"version": "1.48.0",
44
"description": "CDK Constructs for AWS Cloudfront to AWS API Gateway to AWS Lambda integration.",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -53,17 +53,17 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/core": "~1.47.0",
57-
"@aws-cdk/aws-cloudfront": "~1.47.0",
58-
"@aws-cdk/aws-apigateway": "~1.47.0",
59-
"@aws-cdk/aws-lambda": "~1.47.0",
60-
"@aws-cdk/aws-logs": "~1.47.0",
61-
"@aws-solutions-constructs/aws-cloudfront-apigateway": "~1.47.0",
62-
"@aws-solutions-constructs/core": "~1.47.0",
56+
"@aws-cdk/core": "~1.48.0",
57+
"@aws-cdk/aws-cloudfront": "~1.48.0",
58+
"@aws-cdk/aws-apigateway": "~1.48.0",
59+
"@aws-cdk/aws-lambda": "~1.48.0",
60+
"@aws-cdk/aws-logs": "~1.48.0",
61+
"@aws-solutions-constructs/aws-cloudfront-apigateway": "~1.48.0",
62+
"@aws-solutions-constructs/core": "~1.48.0",
6363
"constructs": "^3.0.2"
6464
},
6565
"devDependencies": {
66-
"@aws-cdk/assert": "~1.47.0",
66+
"@aws-cdk/assert": "~1.48.0",
6767
"@types/jest": "^24.0.23",
6868
"@types/node": "^10.3.0"
6969
},
@@ -73,13 +73,13 @@
7373
]
7474
},
7575
"peerDependencies": {
76-
"@aws-cdk/core": "~1.47.0",
77-
"@aws-cdk/aws-cloudfront": "~1.47.0",
78-
"@aws-cdk/aws-apigateway": "~1.47.0",
79-
"@aws-solutions-constructs/core": "~1.47.0",
80-
"@aws-cdk/aws-lambda": "~1.47.0",
81-
"@aws-cdk/aws-logs": "~1.47.0",
82-
"@aws-solutions-constructs/aws-cloudfront-apigateway": "~1.47.0",
76+
"@aws-cdk/core": "~1.48.0",
77+
"@aws-cdk/aws-cloudfront": "~1.48.0",
78+
"@aws-cdk/aws-apigateway": "~1.48.0",
79+
"@aws-solutions-constructs/core": "~1.48.0",
80+
"@aws-cdk/aws-lambda": "~1.48.0",
81+
"@aws-cdk/aws-logs": "~1.48.0",
82+
"@aws-solutions-constructs/aws-cloudfront-apigateway": "~1.48.0",
8383
"constructs": "^3.0.2"
8484
}
8585
}

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

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-solutions-constructs/aws-cloudfront-apigateway",
3-
"version": "1.47.0",
3+
"version": "1.48.0",
44
"description": "CDK Constructs for AWS Cloudfront to AWS API Gateway integration.",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -53,16 +53,16 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/core": "~1.47.0",
57-
"@aws-cdk/aws-cloudfront": "~1.47.0",
58-
"@aws-cdk/aws-apigateway": "~1.47.0",
59-
"@aws-cdk/aws-lambda": "~1.47.0",
60-
"@aws-cdk/aws-logs": "~1.47.0",
61-
"@aws-solutions-constructs/core": "~1.47.0",
56+
"@aws-cdk/core": "~1.48.0",
57+
"@aws-cdk/aws-cloudfront": "~1.48.0",
58+
"@aws-cdk/aws-apigateway": "~1.48.0",
59+
"@aws-cdk/aws-lambda": "~1.48.0",
60+
"@aws-cdk/aws-logs": "~1.48.0",
61+
"@aws-solutions-constructs/core": "~1.48.0",
6262
"constructs": "^3.0.2"
6363
},
6464
"devDependencies": {
65-
"@aws-cdk/assert": "~1.47.0",
65+
"@aws-cdk/assert": "~1.48.0",
6666
"@types/jest": "^24.0.23",
6767
"@types/node": "^10.3.0"
6868
},
@@ -72,12 +72,12 @@
7272
]
7373
},
7474
"peerDependencies": {
75-
"@aws-cdk/core": "~1.47.0",
76-
"@aws-cdk/aws-cloudfront": "~1.47.0",
77-
"@aws-cdk/aws-apigateway": "~1.47.0",
78-
"@aws-solutions-constructs/core": "~1.47.0",
79-
"@aws-cdk/aws-lambda": "~1.47.0",
80-
"@aws-cdk/aws-logs": "~1.47.0",
75+
"@aws-cdk/core": "~1.48.0",
76+
"@aws-cdk/aws-cloudfront": "~1.48.0",
77+
"@aws-cdk/aws-apigateway": "~1.48.0",
78+
"@aws-solutions-constructs/core": "~1.48.0",
79+
"@aws-cdk/aws-lambda": "~1.48.0",
80+
"@aws-cdk/aws-logs": "~1.48.0",
8181
"constructs": "^3.0.2"
8282
}
8383
}

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

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-solutions-constructs/aws-cloudfront-s3",
3-
"version": "1.47.0",
3+
"version": "1.48.0",
44
"description": "CDK Constructs for AWS Cloudfront to AWS S3 integration.",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -53,14 +53,14 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/core": "~1.47.0",
57-
"@aws-cdk/aws-cloudfront": "~1.47.0",
58-
"@aws-cdk/aws-s3": "~1.47.0",
59-
"@aws-solutions-constructs/core": "~1.47.0",
56+
"@aws-cdk/core": "~1.48.0",
57+
"@aws-cdk/aws-cloudfront": "~1.48.0",
58+
"@aws-cdk/aws-s3": "~1.48.0",
59+
"@aws-solutions-constructs/core": "~1.48.0",
6060
"constructs": "^3.0.2"
6161
},
6262
"devDependencies": {
63-
"@aws-cdk/assert": "~1.47.0",
63+
"@aws-cdk/assert": "~1.48.0",
6464
"@types/jest": "^24.0.23",
6565
"@types/node": "^10.3.0"
6666
},
@@ -70,10 +70,10 @@
7070
]
7171
},
7272
"peerDependencies": {
73-
"@aws-cdk/core": "~1.47.0",
74-
"@aws-cdk/aws-cloudfront": "~1.47.0",
75-
"@aws-cdk/aws-s3": "~1.47.0",
76-
"@aws-solutions-constructs/core": "~1.47.0",
73+
"@aws-cdk/core": "~1.48.0",
74+
"@aws-cdk/aws-cloudfront": "~1.48.0",
75+
"@aws-cdk/aws-s3": "~1.48.0",
76+
"@aws-solutions-constructs/core": "~1.48.0",
7777
"constructs": "^3.0.2"
7878
}
7979
}

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

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-solutions-constructs/aws-cognito-apigateway-lambda",
3-
"version": "1.47.0",
3+
"version": "1.48.0",
44
"description": "CDK Constructs for AWS Cognito to AWS API Gateway to AWS Lambda integration",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -53,15 +53,15 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/aws-lambda": "~1.47.0",
57-
"@aws-cdk/core": "~1.47.0",
58-
"@aws-cdk/aws-cognito": "~1.47.0",
59-
"@aws-cdk/aws-apigateway": "~1.47.0",
60-
"@aws-solutions-constructs/core": "~1.47.0",
56+
"@aws-cdk/aws-lambda": "~1.48.0",
57+
"@aws-cdk/core": "~1.48.0",
58+
"@aws-cdk/aws-cognito": "~1.48.0",
59+
"@aws-cdk/aws-apigateway": "~1.48.0",
60+
"@aws-solutions-constructs/core": "~1.48.0",
6161
"constructs": "^3.0.2"
6262
},
6363
"devDependencies": {
64-
"@aws-cdk/assert": "~1.47.0",
64+
"@aws-cdk/assert": "~1.48.0",
6565
"@types/jest": "^24.0.23",
6666
"@types/node": "^10.3.0"
6767
},
@@ -71,11 +71,11 @@
7171
]
7272
},
7373
"peerDependencies": {
74-
"@aws-cdk/aws-lambda": "~1.47.0",
75-
"@aws-cdk/core": "~1.47.0",
76-
"@aws-cdk/aws-cognito": "~1.47.0",
77-
"@aws-cdk/aws-apigateway": "~1.47.0",
78-
"@aws-solutions-constructs/core": "~1.47.0",
74+
"@aws-cdk/aws-lambda": "~1.48.0",
75+
"@aws-cdk/core": "~1.48.0",
76+
"@aws-cdk/aws-cognito": "~1.48.0",
77+
"@aws-cdk/aws-apigateway": "~1.48.0",
78+
"@aws-solutions-constructs/core": "~1.48.0",
7979
"constructs": "^3.0.2"
8080
}
8181
}

0 commit comments

Comments
 (0)