Skip to content

Commit

Permalink
Update to version v1.64.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hnishar committed Sep 24, 2020
1 parent b7b77c7 commit b7b24d4
Show file tree
Hide file tree
Showing 262 changed files with 3,405 additions and 1,723 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.64.0] - 2020-09-24

### Changed
- Upgraded all patterns to CDK v1.64.0
- Fix `aws-cognito-apigateway-lambda` pattern bug with override for `cognitoUserPoolClientProps` ([#71](https://github.com/awslabs/aws-solutions-constructs/issues/71))
- Fix `api-gateway-sqs` pattern bug with override for `createRequestTemplate` ([#69](https://github.com/awslabs/aws-solutions-constructs/issues/69))
- Fix `aws-kinesisfirehose-s3-and-kinesisanalytics` pattern bug with override for `kinesisFirehoseProps` ([#73](https://github.com/awslabs/aws-solutions-constructs/issues/73))
- Fix `aws-cloudfront-apigateway-lambda` pattern bug with override for `apiGatewayProps`
- 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))
- 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))
- 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))
- Fix ALL SQS patterns to not create DLQ when user provides the `existingQueueObj`
- Update `aws-sqs-lambda` pattern to allow for overriding `sqsEventSourceProps`

## [1.63.0] - 2020-09-14

### Changed
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ BREAKING CHANGE: Description of what broke and how to achieve this behavior now
#### CodeBuild Build steps

The CodeBuild runs through the following build steps:
* 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.
* 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.
* Build/validate/package all the constructs in the library
* 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]

Expand Down
2 changes: 1 addition & 1 deletion source/lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"./patterns/@aws-solutions-constructs/*"
],
"rejectCycles": "true",
"version": "1.63.0"
"version": "1.64.0"
}
2 changes: 1 addition & 1 deletion source/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-solutions-constructs",
"version": "1.63.0",
"version": "1.64.0",
"description": "AWS Solutions Constructs Library",
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,12 @@
## Overview
This AWS Solutions Construct implements an Amazon API Gateway REST API connected to Amazon DynamoDB table.

Here is a minimal deployable pattern definition:
Here is a minimal deployable pattern definition in Typescript:

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

const props: ApiGatewayToDynamoDBProps = {};

new ApiGatewayToDynamoDB(stack, 'test-api-gateway-dynamodb-default', props);
new ApiGatewayToDynamoDB(this, 'test-api-gateway-dynamodb-default', {});

```

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-solutions-constructs/aws-apigateway-dynamodb",
"version": "1.63.0",
"version": "1.64.0",
"description": "CDK Constructs for AWS API Gateway and Amazon DynamoDB integration.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -53,16 +53,16 @@
}
},
"dependencies": {
"@aws-cdk/core": "~1.63.0",
"@aws-cdk/aws-apigateway": "~1.63.0",
"@aws-cdk/aws-iam": "~1.63.0",
"@aws-cdk/aws-dynamodb": "~1.63.0",
"@aws-cdk/aws-logs": "~1.63.0",
"@aws-solutions-constructs/core": "~1.63.0",
"@aws-cdk/core": "~1.64.0",
"@aws-cdk/aws-apigateway": "~1.64.0",
"@aws-cdk/aws-iam": "~1.64.0",
"@aws-cdk/aws-dynamodb": "~1.64.0",
"@aws-cdk/aws-logs": "~1.64.0",
"@aws-solutions-constructs/core": "~1.64.0",
"constructs": "^3.0.4"
},
"devDependencies": {
"@aws-cdk/assert": "~1.63.0",
"@aws-cdk/assert": "~1.64.0",
"@types/jest": "^24.0.23",
"@types/node": "^10.3.0"
},
Expand All @@ -72,12 +72,12 @@
]
},
"peerDependencies": {
"@aws-cdk/core": "~1.63.0",
"@aws-cdk/aws-apigateway": "~1.63.0",
"@aws-cdk/aws-iam": "~1.63.0",
"@aws-cdk/aws-dynamodb": "~1.63.0",
"@aws-solutions-constructs/core": "~1.63.0",
"@aws-cdk/core": "~1.64.0",
"@aws-cdk/aws-apigateway": "~1.64.0",
"@aws-cdk/aws-iam": "~1.64.0",
"@aws-cdk/aws-dynamodb": "~1.64.0",
"@aws-solutions-constructs/core": "~1.64.0",
"constructs": "^3.0.4",
"@aws-cdk/aws-logs": "~1.63.0"
"@aws-cdk/aws-logs": "~1.64.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,11 @@ Object {
"Fn::Join": Array [
"",
Array [
"arn:aws:logs:",
"arn:",
Object {
"Ref": "AWS::Partition",
},
":logs:",
Object {
"Ref": "AWS::Region",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,11 @@
"Fn::Join": [
"",
[
"arn:aws:logs:",
"arn:",
{
"Ref": "AWS::Partition"
},
":logs:",
{
"Ref": "AWS::Region"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,11 @@
"Fn::Join": [
"",
[
"arn:aws:logs:",
"arn:",
{
"Ref": "AWS::Partition"
},
":logs:",
{
"Ref": "AWS::Region"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ Here is a minimal deployable pattern definition in Typescript:
``` javascript
import { ApiGatewayToKinesisStreams, ApiGatewayToKinesisStreamsProps } from '@aws-solutions-constructs/aws-apigateway-kinesisstreams';

const props: ApiGatewayToKinesisStreamsProps = {};

new ApiGatewayToKinesisStreams(this, 'test-apigw-kinesis', props);
new ApiGatewayToKinesisStreams(this, 'test-apigw-kinesis', {});

```

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-solutions-constructs/aws-apigateway-kinesisstreams",
"version": "1.63.0",
"version": "1.64.0",
"description": "CDK Constructs for AWS API Gateway and Amazon Kinesis Data Streams integration.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -53,16 +53,16 @@
}
},
"dependencies": {
"@aws-cdk/core": "~1.63.0",
"@aws-cdk/aws-apigateway": "~1.63.0",
"@aws-cdk/aws-iam": "~1.63.0",
"@aws-cdk/aws-kinesis": "~1.63.0",
"@aws-cdk/aws-logs": "~1.63.0",
"@aws-solutions-constructs/core": "~1.63.0",
"@aws-cdk/core": "~1.64.0",
"@aws-cdk/aws-apigateway": "~1.64.0",
"@aws-cdk/aws-iam": "~1.64.0",
"@aws-cdk/aws-kinesis": "~1.64.0",
"@aws-cdk/aws-logs": "~1.64.0",
"@aws-solutions-constructs/core": "~1.64.0",
"constructs": "^3.0.4"
},
"devDependencies": {
"@aws-cdk/assert": "~1.63.0",
"@aws-cdk/assert": "~1.64.0",
"@types/jest": "^24.0.23",
"@types/node": "^10.3.0"
},
Expand All @@ -72,12 +72,12 @@
]
},
"peerDependencies": {
"@aws-cdk/core": "~1.63.0",
"@aws-cdk/aws-apigateway": "~1.63.0",
"@aws-cdk/aws-iam": "~1.63.0",
"@aws-cdk/aws-kinesis": "~1.63.0",
"@aws-solutions-constructs/core": "~1.63.0",
"@aws-cdk/core": "~1.64.0",
"@aws-cdk/aws-apigateway": "~1.64.0",
"@aws-cdk/aws-iam": "~1.64.0",
"@aws-cdk/aws-kinesis": "~1.64.0",
"@aws-solutions-constructs/core": "~1.64.0",
"constructs": "^3.0.4",
"@aws-cdk/aws-logs": "~1.63.0"
"@aws-cdk/aws-logs": "~1.64.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,11 @@ Object {
"Fn::Join": Array [
"",
Array [
"arn:aws:logs:",
"arn:",
Object {
"Ref": "AWS::Partition",
},
":logs:",
Object {
"Ref": "AWS::Region",
},
Expand Down Expand Up @@ -666,7 +670,11 @@ Object {
"Fn::Join": Array [
"",
Array [
"arn:aws:logs:",
"arn:",
Object {
"Ref": "AWS::Partition",
},
":logs:",
Object {
"Ref": "AWS::Region",
},
Expand Down Expand Up @@ -1148,7 +1156,11 @@ Object {
"Fn::Join": Array [
"",
Array [
"arn:aws:logs:",
"arn:",
Object {
"Ref": "AWS::Partition",
},
":logs:",
Object {
"Ref": "AWS::Region",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,11 @@
"Fn::Join": [
"",
[
"arn:aws:logs:",
"arn:",
{
"Ref": "AWS::Partition"
},
":logs:",
{
"Ref": "AWS::Region"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,11 @@
"Fn::Join": [
"",
[
"arn:aws:logs:",
"arn:",
{
"Ref": "AWS::Partition"
},
":logs:",
{
"Ref": "AWS::Region"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@

This AWS Solutions Construct implements an Amazon API Gateway REST API connected to an AWS Lambda function pattern.

Here is a minimal deployable pattern definition:
Here is a minimal deployable pattern definition in Typescript:

``` javascript
const { ApiGatewayToLambda } = require('@aws-solutions-constructs/aws-apigateway-lambda');
``` typescript
import { ApiGatewayToLambda } from '@aws-solutions-constructs/aws-apigateway-lambda';

new ApiGatewayToLambda(stack, 'ApiGatewayToLambdaPattern', {
new ApiGatewayToLambda(this, 'ApiGatewayToLambdaPattern', {
lambdaFunctionProps: {
runtime: lambda.Runtime.NODEJS_10_X,
handler: 'index.handler',
code: lambda.Code.asset(`${__dirname}/lambda`)
code: lambda.Code.fromAsset(`${__dirname}/lambda`)
}
});

Expand Down Expand Up @@ -90,4 +90,4 @@ Out of the box implementation of the Construct without any override will set the
![Architecture Diagram](architecture.png)

***
© Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
© Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-solutions-constructs/aws-apigateway-lambda",
"version": "1.63.0",
"version": "1.64.0",
"description": "CDK constructs for defining an interaction between an API Gateway and a Lambda function.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -53,16 +53,16 @@
}
},
"dependencies": {
"@aws-cdk/aws-apigateway": "~1.63.0",
"@aws-cdk/aws-lambda": "~1.63.0",
"@aws-cdk/aws-logs": "~1.63.0",
"@aws-cdk/core": "~1.63.0",
"@aws-cdk/aws-iam": "~1.63.0",
"@aws-solutions-constructs/core": "~1.63.0",
"@aws-cdk/aws-apigateway": "~1.64.0",
"@aws-cdk/aws-lambda": "~1.64.0",
"@aws-cdk/aws-logs": "~1.64.0",
"@aws-cdk/core": "~1.64.0",
"@aws-cdk/aws-iam": "~1.64.0",
"@aws-solutions-constructs/core": "~1.64.0",
"constructs": "^3.0.4"
},
"devDependencies": {
"@aws-cdk/assert": "~1.63.0",
"@aws-cdk/assert": "~1.64.0",
"@types/jest": "^24.0.23",
"@types/node": "^10.3.0"
},
Expand All @@ -72,12 +72,12 @@
]
},
"peerDependencies": {
"@aws-cdk/aws-apigateway": "~1.63.0",
"@aws-cdk/aws-lambda": "~1.63.0",
"@aws-cdk/aws-logs": "~1.63.0",
"@aws-cdk/core": "~1.63.0",
"@aws-solutions-constructs/core": "~1.63.0",
"@aws-cdk/aws-apigateway": "~1.64.0",
"@aws-cdk/aws-lambda": "~1.64.0",
"@aws-cdk/aws-logs": "~1.64.0",
"@aws-cdk/core": "~1.64.0",
"@aws-solutions-constructs/core": "~1.64.0",
"constructs": "^3.0.4",
"@aws-cdk/aws-iam": "~1.63.0"
"@aws-cdk/aws-iam": "~1.64.0"
}
}
Loading

0 comments on commit b7b24d4

Please sign in to comment.