Skip to content

Commit b7b24d4

Browse files
committed
Update to version v1.64.0
1 parent b7b77c7 commit b7b24d4

File tree

262 files changed

+3405
-1723
lines changed

Some content is hidden

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

262 files changed

+3405
-1723
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ 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.64.0] - 2020-09-24
8+
9+
### Changed
10+
- Upgraded all patterns to CDK v1.64.0
11+
- Fix `aws-cognito-apigateway-lambda` pattern bug with override for `cognitoUserPoolClientProps` ([#71](https://github.com/awslabs/aws-solutions-constructs/issues/71))
12+
- Fix `api-gateway-sqs` pattern bug with override for `createRequestTemplate` ([#69](https://github.com/awslabs/aws-solutions-constructs/issues/69))
13+
- Fix `aws-kinesisfirehose-s3-and-kinesisanalytics` pattern bug with override for `kinesisFirehoseProps` ([#73](https://github.com/awslabs/aws-solutions-constructs/issues/73))
14+
- Fix `aws-cloudfront-apigateway-lambda` pattern bug with override for `apiGatewayProps`
15+
- Fix ALL patterns to use the ARNs with `${cdk.Aws.PARTITION}` partition instead of `aws` ([#67](https://github.com/awslabs/aws-solutions-constructs/issues/67))
16+
- Update `aws-lambda-elasticsearch-kibana` pattern to add an optional construct props to provide Cognito Domain separately ([#54](https://github.com/awslabs/aws-solutions-constructs/issues/54))
17+
- Update ALL S3 patterns to disable versioning for the Logging bucket and apply default lifecycle policy for the versioned buckets ([#44](https://github.com/awslabs/aws-solutions-constructs/issues/44))
18+
- Fix ALL SQS patterns to not create DLQ when user provides the `existingQueueObj`
19+
- Update `aws-sqs-lambda` pattern to allow for overriding `sqsEventSourceProps`
20+
721
## [1.63.0] - 2020-09-14
822

923
### Changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ BREAKING CHANGE: Description of what broke and how to achieve this behavior now
162162
#### CodeBuild Build steps
163163

164164
The CodeBuild runs through the following build steps:
165-
* Content scanning using Viperlight utility. It is a security, vulnerability and general risk highlighting tool. The source code for utility is located [here](https://s3.amazonaws.com/viperlight-scanner/latest/viperlight.zip) It uses [.viperlightignore](https://github.com/awslabs/aws-solutions-constructs/blob/master/.viperlightignore) to override any false alarms.
165+
* Content scanning using Viperlight utility. It is a security, vulnerability and general risk highlighting tool. The source code for utility is located [here](https://viperlight-scanner.s3.amazonaws.com/latest/viperlight.zip) It uses [.viperlightignore](https://github.com/awslabs/aws-solutions-constructs/blob/master/.viperlightignore) to override any false alarms.
166166
* Build/validate/package all the constructs in the library
167167
* Scan the Cloudformation templates generated by [Integration Tests](https://github.com/awslabs/aws-solutions-constructs/blob/master/CONTRIBUTING.md#integration-tests) using (cfn_nag)[https://github.com/stelligent/cfn_nag]
168168

source/lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"./patterns/@aws-solutions-constructs/*"
77
],
88
"rejectCycles": "true",
9-
"version": "1.63.0"
9+
"version": "1.64.0"
1010
}

source/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aws-solutions-constructs",
3-
"version": "1.63.0",
3+
"version": "1.64.0",
44
"description": "AWS Solutions Constructs Library",
55
"repository": {
66
"type": "git",

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,12 @@
2626
## Overview
2727
This AWS Solutions Construct implements an Amazon API Gateway REST API connected to Amazon DynamoDB table.
2828

29-
Here is a minimal deployable pattern definition:
29+
Here is a minimal deployable pattern definition in Typescript:
3030

31-
``` javascript
31+
``` typescript
3232
import { ApiGatewayToDynamoDBProps, ApiGatewayToDynamoDB } from "@aws-solutions-constructs/aws-apigateway-dynamodb";
3333

34-
const props: ApiGatewayToDynamoDBProps = {};
35-
36-
new ApiGatewayToDynamoDB(stack, 'test-api-gateway-dynamodb-default', props);
34+
new ApiGatewayToDynamoDB(this, 'test-api-gateway-dynamodb-default', {});
3735

3836
```
3937

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-solutions-constructs/aws-apigateway-dynamodb",
3-
"version": "1.63.0",
3+
"version": "1.64.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,16 +53,16 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@aws-cdk/core": "~1.63.0",
57-
"@aws-cdk/aws-apigateway": "~1.63.0",
58-
"@aws-cdk/aws-iam": "~1.63.0",
59-
"@aws-cdk/aws-dynamodb": "~1.63.0",
60-
"@aws-cdk/aws-logs": "~1.63.0",
61-
"@aws-solutions-constructs/core": "~1.63.0",
56+
"@aws-cdk/core": "~1.64.0",
57+
"@aws-cdk/aws-apigateway": "~1.64.0",
58+
"@aws-cdk/aws-iam": "~1.64.0",
59+
"@aws-cdk/aws-dynamodb": "~1.64.0",
60+
"@aws-cdk/aws-logs": "~1.64.0",
61+
"@aws-solutions-constructs/core": "~1.64.0",
6262
"constructs": "^3.0.4"
6363
},
6464
"devDependencies": {
65-
"@aws-cdk/assert": "~1.63.0",
65+
"@aws-cdk/assert": "~1.64.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.63.0",
76-
"@aws-cdk/aws-apigateway": "~1.63.0",
77-
"@aws-cdk/aws-iam": "~1.63.0",
78-
"@aws-cdk/aws-dynamodb": "~1.63.0",
79-
"@aws-solutions-constructs/core": "~1.63.0",
75+
"@aws-cdk/core": "~1.64.0",
76+
"@aws-cdk/aws-apigateway": "~1.64.0",
77+
"@aws-cdk/aws-iam": "~1.64.0",
78+
"@aws-cdk/aws-dynamodb": "~1.64.0",
79+
"@aws-solutions-constructs/core": "~1.64.0",
8080
"constructs": "^3.0.4",
81-
"@aws-cdk/aws-logs": "~1.63.0"
81+
"@aws-cdk/aws-logs": "~1.64.0"
8282
}
8383
}

source/patterns/@aws-solutions-constructs/aws-apigateway-dynamodb/test/__snapshots__/apigateway-dynamodb.test.js.snap

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,11 @@ Object {
109109
"Fn::Join": Array [
110110
"",
111111
Array [
112-
"arn:aws:logs:",
112+
"arn:",
113+
Object {
114+
"Ref": "AWS::Partition",
115+
},
116+
":logs:",
113117
Object {
114118
"Ref": "AWS::Region",
115119
},

source/patterns/@aws-solutions-constructs/aws-apigateway-dynamodb/test/integ.apigateway-dynamodb-CRUD.expected.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,11 @@
499499
"Fn::Join": [
500500
"",
501501
[
502-
"arn:aws:logs:",
502+
"arn:",
503+
{
504+
"Ref": "AWS::Partition"
505+
},
506+
":logs:",
503507
{
504508
"Ref": "AWS::Region"
505509
},

source/patterns/@aws-solutions-constructs/aws-apigateway-dynamodb/test/integ.no-arguments.expected.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,11 @@
244244
"Fn::Join": [
245245
"",
246246
[
247-
"arn:aws:logs:",
247+
"arn:",
248+
{
249+
"Ref": "AWS::Partition"
250+
},
251+
":logs:",
248252
{
249253
"Ref": "AWS::Region"
250254
},

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ Here is a minimal deployable pattern definition in Typescript:
3131
``` javascript
3232
import { ApiGatewayToKinesisStreams, ApiGatewayToKinesisStreamsProps } from '@aws-solutions-constructs/aws-apigateway-kinesisstreams';
3333

34-
const props: ApiGatewayToKinesisStreamsProps = {};
35-
36-
new ApiGatewayToKinesisStreams(this, 'test-apigw-kinesis', props);
34+
new ApiGatewayToKinesisStreams(this, 'test-apigw-kinesis', {});
3735

3836
```
3937

0 commit comments

Comments
 (0)