Skip to content

Commit

Permalink
chore(release): 1.155.0 (#699)
Browse files Browse the repository at this point in the history
* chore(release): 2.7.0

* chore(changelog): Updated CHANGELOG.v2.md

* feat(aws-fargate-stepfunctions): new construct (#677)

* created README.md

* removed arn env var prop and fixed state machine doc comments

* made createCloudWatchAlarms prop optional

* created new construct

* fixed README typo

* refactored test to single concept design

* updated default for vpcProps

* Update copyright year to 2022 (#693)


Skipping review, only copyright messages have been changed.

* fix(Test Coverage): Improve test coverage of 2 core files (#691)

* Added additional tests

* More coverage based on review

* chore(Improve documentation): Environment Variable descriptions (#692)

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update Environment Variable documenation/comments

* Results of self-review

* Response to review

* Review 2

* Review 3

* Update DESIGN_GUIDELINES.md

* Pin @types/prettier 2.6.0 til 2.6.1 issue resolved (#698)

No one is available to review and this is time sensitive. The nature of the change makes any review rather perfunctory as it a single line added to the package.json file

* chore(release): 1.155.0

* chore(changelog): Updated CHANGELOG.md

* chore(changelog): Updated CHANGELOG.md

* Refresh to accomodate CDK changes

* Align CDK V2 version

* Align CDK Versions

* Align CDK Versions

Co-authored-by: biffgaut <[email protected]>
Co-authored-by: mickychetta <[email protected]>
  • Loading branch information
3 people authored May 13, 2022
1 parent de26e8c commit d920b19
Show file tree
Hide file tree
Showing 145 changed files with 4,083 additions and 249 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

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.

## [1.155.0](https://github.com/awslabs/aws-solutions-constructs/compare/v2.7.0...v1.155.0) (2022-05-13)

* Upgraded all patterns to CDK v1.155.0

### Features

* **aws-fargate-stepfunctions:** new construct ([#677](https://github.com/awslabs/aws-solutions-constructs/issues/677)) ([f4829ba](https://github.com/awslabs/aws-solutions-constructs/commit/f4829ba1af3643a8b42bb74af9dfa8207d383da3))

### Bug Fixes

* **Test Coverage:** Improve test coverage of 2 core files ([#691](https://github.com/awslabs/aws-solutions-constructs/issues/691)) ([0ea1743](https://github.com/awslabs/aws-solutions-constructs/commit/0ea1743ca1de577ab02ecd3ad0ef67fa56e51a90))
* **@types/prettier** Pin library to version 2.6.0 of @types/prettier

## [1.154.0](https://github.com/awslabs/aws-solutions-constructs/compare/v2.6.0...v1.154.0) (2022-05-08)

* Upgraded all patterns to CDK v1.154.0
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

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.

## [2.7.0](https://github.com/awslabs/aws-solutions-constructs/compare/v2.6.0...v2.7.0) (2022-05-09)

* Includes all functionality of V1.154.0
* Built upon underlying CDK version V2.15.0

## [2.6.0](https://github.com/awslabs/aws-solutions-constructs/compare/v2.5.0...v2.6.0) (2022-05-07)

* Includes all functionality of V1.153.1
Expand Down
8 changes: 4 additions & 4 deletions DESIGN_GUIDELINES.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ Existing Inconsistencies would not be published, that’s for our internal use

| Name | Type | Description | Notes |
| --- | --- | --- | --- |
| eventsRule | [`events.Rule`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-events.Rule.html)|Returns an instance of `events.Rule` created by the construct. |
| eventsRule | [`events.Rule`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-events.Rule.html)|Returns an instance of `events.Rule` created by the construct. Only exposed when EventBridge is the soure of events, not exposed when other services (Lambda, Fargate) are triggering events. |
| eventBus? | [`events.IEventBus`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-events.IEventBus.html)|Returns the instance of `events.IEventBus` used by the construct| Required only for non-default Event Buses.|

## Fargate
Expand Down Expand Up @@ -347,14 +347,14 @@ Existing Inconsistencies would not be published, that’s for our internal use
| Name | Type | Description | Notes |
| --- | --- | --- |--- |
| stateMachineProps |[`sfn.StateMachineProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-stepfunctions.StateMachineProps.html)|Optional user provided props to override the default props for `sfn.StateMachine`|
| createCloudWatchAlarms | `boolean`|Whether to create recommended CloudWatch alarms.|
| createCloudWatchAlarms? | `boolean`|Whether to create recommended CloudWatch alarms.|

**Required Construct Properties**

| Name | Type | Description | Notes |
| --- | --- | --- |--- |
| stateMachine| [`sfn.StateMachine`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-stepfunctions.StateMachine.html)|Returns an instance of `sfn.StateMachine` created by the construct.|
| stateMachineLoggingGroup|[`logs.ILogGroup`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-logs.ILogGroup.html)|Returns an instance of the `logs.ILogGroup` created by the construct for StateMachine.|
| stateMachineLogGroup|[`logs.ILogGroup`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-logs.ILogGroup.html)|Returns an instance of the `logs.ILogGroup` created by the construct for StateMachine.|
| cloudwatchAlarms? | [`cloudwatch.Alarm[]`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-cloudwatch.Alarm.html)|Returns a list of `cloudwatch.Alarm` created by the construct.|

## VPC
Expand Down Expand Up @@ -384,4 +384,4 @@ Existing Inconsistencies would not be published, that’s for our internal use

| Name | Type | Description | Notes |
| --- | --- | --- |--- |
| webacl| [`waf.CfnWebACL`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-wafv2.CfnWebACL.html)|Returns an instance of the `waf.CfnWebACL` created by the construct.|
| webacl| [`waf.CfnWebACL`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-wafv2.CfnWebACL.html)|Returns an instance of the `waf.CfnWebACL` created by the construct.|
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 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Copyright 2022 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 @@ -49,4 +49,4 @@ containing a central DynamoDB table for managing orders, as well as a Lambda lay
* Use case pattern: https://github.com/awslabs/aws-solutions-constructs/tree/master/source/use_cases/aws-restaurant-management-demo

***
&copy; Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
&copy; Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2 changes: 1 addition & 1 deletion deployment/v2/align-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const findVersion = process.argv[2];
const replaceVersion = process.argv[3];

// these versions need to be sourced from a config file
const awsCdkLibVersion = '2.20.0';
const awsCdkLibVersion = '2.23.0';
const constructsVersion = '10.0.0';
const MODULE_EXEMPTIONS = new Set([
'@aws-cdk/cloudformation-diff',
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.154.0"
"version": "1.155.0"
}
2 changes: 1 addition & 1 deletion source/lerna.v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"./patterns/@aws-solutions-constructs/*"
],
"rejectCycles": "true",
"version": "2.6.0"
"version": "2.7.0"
}
3 changes: 2 additions & 1 deletion source/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"aws-cdk-migration": "^1.135.0"
},
"devDependencies": {
"lerna": "^3.22.1"
"lerna": "^3.22.1",
"@types/prettier": "2.6.0"
},
"workspaces": {
"packages": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,4 @@ Out of the box implementation of the Construct without any override will set the
![Architecture Diagram](architecture.png)

***
&copy; Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
&copy; Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"VpcPublicSubnet1Subnet5C2D37C4": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"CidrBlock": "172.168.0.0/19",
"VpcId": {
"Ref": "Vpc8378EB38"
},
"AvailabilityZone": "test-region-1a",
"CidrBlock": "172.168.0.0/19",
"MapPublicIpOnLaunch": true,
"Tags": [
{
Expand Down Expand Up @@ -126,11 +126,11 @@
"VpcPublicSubnet2Subnet691E08A3": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"CidrBlock": "172.168.32.0/19",
"VpcId": {
"Ref": "Vpc8378EB38"
},
"AvailabilityZone": "test-region-1b",
"CidrBlock": "172.168.32.0/19",
"MapPublicIpOnLaunch": true,
"Tags": [
{
Expand Down Expand Up @@ -233,11 +233,11 @@
"VpcPublicSubnet3SubnetBE12F0B6": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"CidrBlock": "172.168.64.0/19",
"VpcId": {
"Ref": "Vpc8378EB38"
},
"AvailabilityZone": "test-region-1c",
"CidrBlock": "172.168.64.0/19",
"MapPublicIpOnLaunch": true,
"Tags": [
{
Expand Down Expand Up @@ -340,11 +340,11 @@
"VpcPrivateSubnet1Subnet536B997A": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"CidrBlock": "172.168.96.0/19",
"VpcId": {
"Ref": "Vpc8378EB38"
},
"AvailabilityZone": "test-region-1a",
"CidrBlock": "172.168.96.0/19",
"MapPublicIpOnLaunch": false,
"Tags": [
{
Expand Down Expand Up @@ -402,11 +402,11 @@
"VpcPrivateSubnet2Subnet3788AAA1": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"CidrBlock": "172.168.128.0/19",
"VpcId": {
"Ref": "Vpc8378EB38"
},
"AvailabilityZone": "test-region-1b",
"CidrBlock": "172.168.128.0/19",
"MapPublicIpOnLaunch": false,
"Tags": [
{
Expand Down Expand Up @@ -464,11 +464,11 @@
"VpcPrivateSubnet3SubnetF258B56E": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"CidrBlock": "172.168.160.0/19",
"VpcId": {
"Ref": "Vpc8378EB38"
},
"AvailabilityZone": "test-region-1c",
"CidrBlock": "172.168.160.0/19",
"MapPublicIpOnLaunch": false,
"Tags": [
{
Expand Down Expand Up @@ -856,7 +856,7 @@
}
}
},
"LambdaFunctionInvokeServicePrincipalelasticloadbalancingamazonawscom842E1595": {
"LambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HYAD69E89D": {
"Type": "AWS::Lambda::Permission",
"Properties": {
"Action": "lambda:InvokeFunction",
Expand Down Expand Up @@ -1324,7 +1324,7 @@
"TargetType": "lambda"
},
"DependsOn": [
"LambdaFunctionInvokeServicePrincipalelasticloadbalancingamazonawscom842E1595"
"LambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HYAD69E89D"
]
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@
}
}
},
"testoneLambdaFunctionInvokeServicePrincipalelasticloadbalancingamazonawscom776E5E70": {
"testoneLambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HY508A8518": {
"Type": "AWS::Lambda::Permission",
"Properties": {
"Action": "lambda:InvokeFunction",
Expand Down Expand Up @@ -593,7 +593,7 @@
"TargetType": "lambda"
},
"DependsOn": [
"testoneLambdaFunctionInvokeServicePrincipalelasticloadbalancingamazonawscom776E5E70"
"testoneLambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HY508A8518"
]
},
"Vpc8378EB38": {
Expand All @@ -614,11 +614,11 @@
"VpcisolatedSubnet1SubnetE62B1B9B": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"CidrBlock": "10.0.0.0/18",
"VpcId": {
"Ref": "Vpc8378EB38"
},
"AvailabilityZone": "test-region-1a",
"CidrBlock": "10.0.0.0/18",
"MapPublicIpOnLaunch": false,
"Tags": [
{
Expand Down Expand Up @@ -664,11 +664,11 @@
"VpcisolatedSubnet2Subnet39217055": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"CidrBlock": "10.0.64.0/18",
"VpcId": {
"Ref": "Vpc8378EB38"
},
"AvailabilityZone": "test-region-1b",
"CidrBlock": "10.0.64.0/18",
"MapPublicIpOnLaunch": false,
"Tags": [
{
Expand Down Expand Up @@ -714,11 +714,11 @@
"VpcisolatedSubnet3Subnet44F2537D": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"CidrBlock": "10.0.128.0/18",
"VpcId": {
"Ref": "Vpc8378EB38"
},
"AvailabilityZone": "test-region-1c",
"CidrBlock": "10.0.128.0/18",
"MapPublicIpOnLaunch": false,
"Tags": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"VpcPublicSubnet1Subnet5C2D37C4": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"CidrBlock": "172.168.0.0/19",
"VpcId": {
"Ref": "Vpc8378EB38"
},
"AvailabilityZone": "test-region-1a",
"CidrBlock": "172.168.0.0/19",
"MapPublicIpOnLaunch": true,
"Tags": [
{
Expand Down Expand Up @@ -126,11 +126,11 @@
"VpcPublicSubnet2Subnet691E08A3": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"CidrBlock": "172.168.32.0/19",
"VpcId": {
"Ref": "Vpc8378EB38"
},
"AvailabilityZone": "test-region-1b",
"CidrBlock": "172.168.32.0/19",
"MapPublicIpOnLaunch": true,
"Tags": [
{
Expand Down Expand Up @@ -233,11 +233,11 @@
"VpcPublicSubnet3SubnetBE12F0B6": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"CidrBlock": "172.168.64.0/19",
"VpcId": {
"Ref": "Vpc8378EB38"
},
"AvailabilityZone": "test-region-1c",
"CidrBlock": "172.168.64.0/19",
"MapPublicIpOnLaunch": true,
"Tags": [
{
Expand Down Expand Up @@ -340,11 +340,11 @@
"VpcPrivateSubnet1Subnet536B997A": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"CidrBlock": "172.168.96.0/19",
"VpcId": {
"Ref": "Vpc8378EB38"
},
"AvailabilityZone": "test-region-1a",
"CidrBlock": "172.168.96.0/19",
"MapPublicIpOnLaunch": false,
"Tags": [
{
Expand Down Expand Up @@ -402,11 +402,11 @@
"VpcPrivateSubnet2Subnet3788AAA1": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"CidrBlock": "172.168.128.0/19",
"VpcId": {
"Ref": "Vpc8378EB38"
},
"AvailabilityZone": "test-region-1b",
"CidrBlock": "172.168.128.0/19",
"MapPublicIpOnLaunch": false,
"Tags": [
{
Expand Down Expand Up @@ -464,11 +464,11 @@
"VpcPrivateSubnet3SubnetF258B56E": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"CidrBlock": "172.168.160.0/19",
"VpcId": {
"Ref": "Vpc8378EB38"
},
"AvailabilityZone": "test-region-1c",
"CidrBlock": "172.168.160.0/19",
"MapPublicIpOnLaunch": false,
"Tags": [
{
Expand Down Expand Up @@ -856,7 +856,7 @@
}
}
},
"LambdaFunctionInvokeServicePrincipalelasticloadbalancingamazonawscom842E1595": {
"LambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HYAD69E89D": {
"Type": "AWS::Lambda::Permission",
"Properties": {
"Action": "lambda:InvokeFunction",
Expand Down Expand Up @@ -1324,7 +1324,7 @@
"TargetType": "lambda"
},
"DependsOn": [
"LambdaFunctionInvokeServicePrincipalelasticloadbalancingamazonawscom842E1595"
"LambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HYAD69E89D"
]
}
},
Expand Down
Loading

0 comments on commit d920b19

Please sign in to comment.