Skip to content

Commit

Permalink
Update to version v1.67.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hnishar committed Oct 9, 2020
1 parent 5d64dc2 commit 6af666f
Show file tree
Hide file tree
Showing 277 changed files with 1,331 additions and 1,142 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ 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.67.0] - 2020-10-09

### Changed
- Upgraded all patterns to CDK v1.66.0
- Make CloudWatch alarm creation optional ([#85](https://github.com/awslabs/aws-solutions-constructs/issues/85))

## [1.66.0] - 2020-10-06

### Added
Expand Down
2 changes: 1 addition & 1 deletion NOTICE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AWS Solutions Constructs
Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Copyright 2020 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/
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ This library includes a collection of functional use case implementations to dem
* Use case pattern: https://github.com/awslabs/aws-solutions-constructs/tree/master/source/use_cases/aws-serverless-web-app

***
© Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
© Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
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.66.0"
"version": "1.67.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.66.0",
"version": "1.67.0",
"description": "AWS Solutions Constructs Library",
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2020 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
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.66.0",
"version": "1.67.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.66.0",
"@aws-cdk/aws-apigateway": "~1.66.0",
"@aws-cdk/aws-iam": "~1.66.0",
"@aws-cdk/aws-dynamodb": "~1.66.0",
"@aws-cdk/aws-logs": "~1.66.0",
"@aws-solutions-constructs/core": "~1.66.0",
"@aws-cdk/core": "~1.67.0",
"@aws-cdk/aws-apigateway": "~1.67.0",
"@aws-cdk/aws-iam": "~1.67.0",
"@aws-cdk/aws-dynamodb": "~1.67.0",
"@aws-cdk/aws-logs": "~1.67.0",
"@aws-solutions-constructs/core": "~1.67.0",
"constructs": "^3.0.4"
},
"devDependencies": {
"@aws-cdk/assert": "~1.66.0",
"@aws-cdk/assert": "~1.67.0",
"@types/jest": "^24.0.23",
"@types/node": "^10.3.0"
},
Expand All @@ -72,12 +72,12 @@
]
},
"peerDependencies": {
"@aws-cdk/core": "~1.66.0",
"@aws-cdk/aws-apigateway": "~1.66.0",
"@aws-cdk/aws-iam": "~1.66.0",
"@aws-cdk/aws-dynamodb": "~1.66.0",
"@aws-solutions-constructs/core": "~1.66.0",
"@aws-cdk/core": "~1.67.0",
"@aws-cdk/aws-apigateway": "~1.67.0",
"@aws-cdk/aws-iam": "~1.67.0",
"@aws-cdk/aws-dynamodb": "~1.67.0",
"@aws-solutions-constructs/core": "~1.67.0",
"constructs": "^3.0.4",
"@aws-cdk/aws-logs": "~1.66.0"
"@aws-cdk/aws-logs": "~1.67.0"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2020 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2020 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2020 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2020 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-solutions-constructs/aws-apigateway-iot",
"version": "1.66.0",
"version": "1.67.0",
"description": "CDK constructs to proxy communication to IotCore using a APIGateway(REST).",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -53,15 +53,15 @@
}
},
"dependencies": {
"@aws-cdk/aws-apigateway": "~1.66.0",
"@aws-cdk/aws-logs": "~1.66.0",
"@aws-cdk/core": "~1.66.0",
"@aws-cdk/aws-iam": "~1.66.0",
"@aws-solutions-constructs/core": "~1.66.0",
"@aws-cdk/aws-apigateway": "~1.67.0",
"@aws-cdk/aws-logs": "~1.67.0",
"@aws-cdk/core": "~1.67.0",
"@aws-cdk/aws-iam": "~1.67.0",
"@aws-solutions-constructs/core": "~1.67.0",
"constructs": "^3.0.4"
},
"devDependencies": {
"@aws-cdk/assert": "~1.66.0",
"@aws-cdk/assert": "~1.67.0",
"@types/jest": "^24.0.23",
"@types/node": "^10.3.0"
},
Expand All @@ -71,11 +71,11 @@
]
},
"peerDependencies": {
"@aws-cdk/aws-apigateway": "~1.66.0",
"@aws-cdk/aws-logs": "~1.66.0",
"@aws-cdk/core": "~1.66.0",
"@aws-solutions-constructs/core": "~1.66.0",
"@aws-cdk/aws-apigateway": "~1.67.0",
"@aws-cdk/aws-logs": "~1.67.0",
"@aws-cdk/core": "~1.67.0",
"@aws-solutions-constructs/core": "~1.67.0",
"constructs": "^3.0.4",
"@aws-cdk/aws-iam": "~1.66.0"
"@aws-cdk/aws-iam": "~1.67.0"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2020 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2020 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2020 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2020 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2020 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
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.66.0",
"version": "1.67.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.66.0",
"@aws-cdk/aws-apigateway": "~1.66.0",
"@aws-cdk/aws-iam": "~1.66.0",
"@aws-cdk/aws-kinesis": "~1.66.0",
"@aws-cdk/aws-logs": "~1.66.0",
"@aws-solutions-constructs/core": "~1.66.0",
"@aws-cdk/core": "~1.67.0",
"@aws-cdk/aws-apigateway": "~1.67.0",
"@aws-cdk/aws-iam": "~1.67.0",
"@aws-cdk/aws-kinesis": "~1.67.0",
"@aws-cdk/aws-logs": "~1.67.0",
"@aws-solutions-constructs/core": "~1.67.0",
"constructs": "^3.0.4"
},
"devDependencies": {
"@aws-cdk/assert": "~1.66.0",
"@aws-cdk/assert": "~1.67.0",
"@types/jest": "^24.0.23",
"@types/node": "^10.3.0"
},
Expand All @@ -72,12 +72,12 @@
]
},
"peerDependencies": {
"@aws-cdk/core": "~1.66.0",
"@aws-cdk/aws-apigateway": "~1.66.0",
"@aws-cdk/aws-iam": "~1.66.0",
"@aws-cdk/aws-kinesis": "~1.66.0",
"@aws-solutions-constructs/core": "~1.66.0",
"@aws-cdk/core": "~1.67.0",
"@aws-cdk/aws-apigateway": "~1.67.0",
"@aws-cdk/aws-iam": "~1.67.0",
"@aws-cdk/aws-kinesis": "~1.67.0",
"@aws-solutions-constructs/core": "~1.67.0",
"constructs": "^3.0.4",
"@aws-cdk/aws-logs": "~1.66.0"
"@aws-cdk/aws-logs": "~1.67.0"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2020 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2020 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2020 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2020 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-solutions-constructs/aws-apigateway-lambda",
"version": "1.66.0",
"version": "1.67.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.66.0",
"@aws-cdk/aws-lambda": "~1.66.0",
"@aws-cdk/aws-logs": "~1.66.0",
"@aws-cdk/core": "~1.66.0",
"@aws-cdk/aws-iam": "~1.66.0",
"@aws-solutions-constructs/core": "~1.66.0",
"@aws-cdk/aws-apigateway": "~1.67.0",
"@aws-cdk/aws-lambda": "~1.67.0",
"@aws-cdk/aws-logs": "~1.67.0",
"@aws-cdk/core": "~1.67.0",
"@aws-cdk/aws-iam": "~1.67.0",
"@aws-solutions-constructs/core": "~1.67.0",
"constructs": "^3.0.4"
},
"devDependencies": {
"@aws-cdk/assert": "~1.66.0",
"@aws-cdk/assert": "~1.67.0",
"@types/jest": "^24.0.23",
"@types/node": "^10.3.0"
},
Expand All @@ -72,12 +72,12 @@
]
},
"peerDependencies": {
"@aws-cdk/aws-apigateway": "~1.66.0",
"@aws-cdk/aws-lambda": "~1.66.0",
"@aws-cdk/aws-logs": "~1.66.0",
"@aws-cdk/core": "~1.66.0",
"@aws-solutions-constructs/core": "~1.66.0",
"@aws-cdk/aws-apigateway": "~1.67.0",
"@aws-cdk/aws-lambda": "~1.67.0",
"@aws-cdk/aws-logs": "~1.67.0",
"@aws-cdk/core": "~1.67.0",
"@aws-solutions-constructs/core": "~1.67.0",
"constructs": "^3.0.4",
"@aws-cdk/aws-iam": "~1.66.0"
"@aws-cdk/aws-iam": "~1.67.0"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2020 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2020 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2020 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
Expand Down Expand Up @@ -191,4 +191,32 @@ test('Test deployment ApiGateway AuthorizationType override', () => {
HttpMethod: "ANY",
AuthorizationType: "NONE"
});
});
});

// -----------------------------------------------------------------
// Test deployment for override ApiGateway cloudWatchRole = false
// -----------------------------------------------------------------
test('Test deployment ApiGateway override cloudWatchRole = false', () => {
// Stack
const stack = new Stack();
// Helper declaration
new ApiGatewayToLambda(stack, 'api-gateway-lambda', {
apiGatewayProps: {
cloudWatchRole: false
},
lambdaFunctionProps: {
runtime: lambda.Runtime.NODEJS_10_X,
handler: 'index.handler',
code: lambda.Code.fromAsset(`${__dirname}/lambda`)
}
});
// Assertion 1
expect(stack).toHaveResourceLike("AWS::ApiGateway::Account", {
CloudWatchRoleArn: {
"Fn::GetAtt": [
"apigatewaylambdaLambdaRestApiCloudWatchRoleA759E8AC",
"Arn"
]
}
});
});
Loading

0 comments on commit 6af666f

Please sign in to comment.