@aws-solutions-constructs/aws-alb-lambda 2.6.0 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii CHANGED
@@ -8,8 +8,8 @@
8
8
  "url": "https://aws.amazon.com"
9
9
  },
10
10
  "dependencies": {
11
- "@aws-solutions-constructs/core": "2.6.0",
12
- "aws-cdk-lib": "^2.20.0",
11
+ "@aws-solutions-constructs/core": "2.9.0",
12
+ "aws-cdk-lib": "^2.23.0",
13
13
  "constructs": "^10.0.0"
14
14
  },
15
15
  "dependencyClosure": {
@@ -1535,6 +1535,19 @@
1535
1535
  }
1536
1536
  }
1537
1537
  },
1538
+ "aws-cdk-lib.aws_iottwinmaker": {
1539
+ "targets": {
1540
+ "dotnet": {
1541
+ "namespace": "Amazon.CDK.AWS.IoTTwinMaker"
1542
+ },
1543
+ "java": {
1544
+ "package": "software.amazon.awscdk.services.iottwinmaker"
1545
+ },
1546
+ "python": {
1547
+ "module": "aws_cdk.aws_iottwinmaker"
1548
+ }
1549
+ }
1550
+ },
1538
1551
  "aws-cdk-lib.aws_iotwireless": {
1539
1552
  "targets": {
1540
1553
  "dotnet": {
@@ -1938,6 +1951,19 @@
1938
1951
  }
1939
1952
  }
1940
1953
  },
1954
+ "aws-cdk-lib.aws_mediatailor": {
1955
+ "targets": {
1956
+ "dotnet": {
1957
+ "namespace": "Amazon.CDK.AWS.MediaTailor"
1958
+ },
1959
+ "java": {
1960
+ "package": "software.amazon.awscdk.services.mediatailor"
1961
+ },
1962
+ "python": {
1963
+ "module": "aws_cdk.aws_mediatailor"
1964
+ }
1965
+ }
1966
+ },
1941
1967
  "aws-cdk-lib.aws_memorydb": {
1942
1968
  "targets": {
1943
1969
  "dotnet": {
@@ -2981,7 +3007,7 @@
2981
3007
  },
2982
3008
  "description": "CDK Constructs for Application Load Balancer to AWS Lambda integration",
2983
3009
  "homepage": "https://github.com/awslabs/aws-solutions-constructs.git",
2984
- "jsiiVersion": "1.58.0 (build f8ba112)",
3010
+ "jsiiVersion": "1.60.1 (build 2799dc8)",
2985
3011
  "keywords": [
2986
3012
  "aws",
2987
3013
  "cdk",
@@ -3000,7 +3026,7 @@
3000
3026
  },
3001
3027
  "name": "@aws-solutions-constructs/aws-alb-lambda",
3002
3028
  "readme": {
3003
- "markdown": "# aws-alb-lambda module\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![Stability: Experimental](https://img.shields.io/badge/stability-Experimental-important.svg?style=for-the-badge)\n\n> All classes are under active development and subject to non-backward compatible changes or removal in any\n> future version. These are not subject to the [Semantic Versioning](https://semver.org/) model.\n> This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.\n\n---\n<!--END STABILITY BANNER-->\n\n| **Reference Documentation**:| <span style=\"font-weight: normal\">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|\n|:-------------|:-------------|\n<div style=\"height:8px\"></div>\n\n| **Language** | **Package** |\n|:-------------|-----------------|\n|![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`aws_solutions_constructs.aws_alb_lambda`|\n|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-alb-lambda`|\n|![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.alblambda`|\n\nThis AWS Solutions Construct implements an an Application Load Balancer to an AWS Lambda function\n\nHere is a minimal deployable pattern definition:\n\nTypescript\n``` typescript\nimport { Construct } from 'constructs';\nimport { Stack, StackProps } from 'aws-cdk-lib';\nimport { AlbToLambda, AlbToLambdaProps } from '@aws-solutions-constructs/aws-alb-lambda';\nimport * as acm from 'aws-cdk-lib/aws-certificatemanager';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\n// Obtain a pre-existing certificate from your account\nconst certificate = acm.Certificate.fromCertificateArn(\n this,\n 'existing-cert',\n \"arn:aws:acm:us-east-1:123456789012:certificate/11112222-3333-1234-1234-123456789012\"\n);\n\nconst constructProps: AlbToLambdaProps = {\n lambdaFunctionProps: {\n code: lambda.Code.fromAsset(`lambda`),\n runtime: lambda.Runtime.NODEJS_14_X,\n handler: 'index.handler'\n },\n listenerProps: {\n certificates: [certificate]\n },\n publicApi: true\n};\n\n// Note - all alb constructs turn on ELB logging by default, so require that an environment including account\n// and region be provided when creating the stack\n//\n// new MyStack(app, 'id', {env: {account: '123456789012', region: 'us-east-1' }});\nnew AlbToLambda(this, 'new-construct', constructProps);\n```\n\nPython\n``` python\nfrom aws_solutions_constructs.aws_alb_lambda import AlbToLambda, AlbToLambdaProps\nfrom aws_cdk import (\n aws_certificatemanager as acm,\n aws_lambda as _lambda,\n aws_elasticloadbalancingv2 as alb,\n Stack\n)\nfrom constructs import Construct\n\n# Obtain a pre-existing certificate from your account\ncertificate = acm.Certificate.from_certificate_arn(\n self,\n 'existing-cert',\n \"arn:aws:acm:us-east-1:123456789012:certificate/11112222-3333-1234-1234-123456789012\"\n)\n\n# Note - all alb constructs turn on ELB logging by default, so require that an environment including account\n# and region be provided when creating the stack\n#\n# MyStack(app, 'id', env=cdk.Environment(account='679431688440', region='us-east-1'))\nAlbToLambda(self, 'new-construct',\n lambda_function_props=_lambda.FunctionProps(\n runtime=_lambda.Runtime.PYTHON_3_7,\n code=_lambda.Code.from_asset('lambda'),\n handler='index.handler',\n ),\n listener_props=alb.BaseApplicationListenerProps(\n certificates=[certificate]\n ),\n public_api=True)\n```\n\nJava\n``` java\nimport software.constructs.Construct;\nimport java.util.List;\n\nimport software.amazon.awscdk.Stack;\nimport software.amazon.awscdk.StackProps;\nimport software.amazon.awscdk.services.elasticloadbalancingv2.*;\nimport software.amazon.awscdk.services.lambda.*;\nimport software.amazon.awscdk.services.lambda.Runtime;\nimport software.amazon.awsconstructs.services.alblambda.*;\n\n// Obtain a pre-existing certificate from your account\nListenerCertificate listenerCertificate = ListenerCertificate\n .fromArn(\"arn:aws:acm:us-east-1:123456789012:certificate/11112222-3333-1234-1234-123456789012\");\n\n// Note - all alb constructs turn on ELB logging by default, so require that an environment including account\n// and region be provided when creating the stack\n//\n// new MyStack(app, \"id\", StackProps.builder()\n// .env(Environment.builder()\n// .account(\"123456789012\")\n// .region(\"us-east-1\")\n// .build());\nnew AlbToLambda(this, \"AlbToLambdaPattern\", new AlbToLambdaProps.Builder()\n .lambdaFunctionProps(new FunctionProps.Builder()\n .runtime(Runtime.NODEJS_14_X)\n .code(Code.fromAsset(\"lambda\"))\n .handler(\"index.handler\")\n .build())\n .listenerProps(new BaseApplicationListenerProps.Builder()\n .certificates(List.of(listenerCertificate))\n .build())\n .publicApi(true)\n .build());\n```\n\n## Pattern Construct Props\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n| loadBalancerProps? | [elasticloadbalancingv2.ApplicationLoadBalancerProps](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-elasticloadbalancingv2.ApplicationLoadBalancerProps.html) | Optional custom properties for a new loadBalancer. Providing both this and existingLoadBalancer is an error. This cannot specify a VPC, it will use the VPC in existingVpc or the VPC created by the construct. |\n| existingLoadBalancerObj? | [elasticloadbalancingv2.ApplicationLoadBalancer](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-elasticloadbalancingv2.ApplicationLoadBalancer.html) | Existing Application Load Balancer to incorporate into the construct architecture. Providing both this and loadBalancerProps is an error. The VPC containing this loadBalancer must match the VPC provided in existingVpc. |\n| listenerProps? | [ApplicationListenerProps](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-elasticloadbalancingv2.ApplicationListenerProps.html) | Props to define the listener. Must be provided when adding the listener to an ALB (eg - when creating the alb), may not be provided when adding a second target to an already established listener. When provided, must include either a certificate or protocol: HTTP |\n| targetProps? | [ApplicationTargetGroupProps](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-elasticloadbalancingv2.ApplicationTargetGroupProps.html) | Optional custom properties for a new target group. While this is a standard attribute of props for ALB constructs, there are few pertinent properties for a Lambda target. |\n| ruleProps? | [AddRuleProps](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-elasticloadbalancingv2.AddRuleProps.html) | Rules for directing traffic to the target being created. May not be specified for the first listener added to an ALB, and must be specified for the second target added to a listener. Add a second target by instantiating this construct a second time and providing the existingAlb from the first instantiation. |\n| vpcProps? | [ec2.VpcProps](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ec2.VpcProps.html) | Optional custom properties for a VPC the construct will create. This VPC will be used by the new ALB and any Private Hosted Zone the construct creates (that's why loadBalancerProps and privateHostedZoneProps can't include a VPC). Providing both this and existingVpc is an error. |\n|existingLambdaObj?|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.Function.html)|Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.|\n|lambdaFunctionProps?|[`lambda.FunctionProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.FunctionProps.html)|Optional user provided props to override the default props for the Lambda function.|\n| existingVpc? | [ec2.IVpc](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ec2.IVpc.html) | An existing VPC in which to deploy the construct. Providing both this and vpcProps is an error. If the client provides an existing load balancer and/or existing Private Hosted Zone, those constructs must exist in this VPC. |\n| logAlbAccessLogs? | boolean| Whether to turn on Access Logs for the Application Load Balancer. Uses an S3 bucket with associated storage costs.Enabling Access Logging is a best practice. default - true |\n| albLoggingBucketProps? | [s3.BucketProps](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-s3.BucketProps.html) | Optional properties to customize the bucket used to store the ALB Access Logs. Supplying this and setting logAccessLogs to false is an error. @default - none |\n| publicApi | boolean | Whether the construct is deploying a private or public API. This has implications for the VPC and ALB. |\n\n## Pattern Properties\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n| vpc | [ec2.IVpc](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ec2.IVpc.html) | The VPC used by the construct (whether created by the construct or providedb by the client) |\n| loadBalancer | [elasticloadbalancingv2.ApplicationLoadBalancer](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-elasticloadbalancingv2.ApplicationLoadBalancer.html) | The Load Balancer used by the construct (whether created by the construct or provided by the client) |\n|lambdaFunction|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.Function.html)|Returns an instance of the Lambda function used in the pattern.|\n| listener | [`elb.ApplicationListener`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-elasticloadbalancingv2.ApplicationListener.html) | The listener used by this pattern. |\n\n## Default settings\n\nOut of the box implementation of the Construct without any override will set the following defaults:\n\n### Application Load Balancer\n* Creates or configures an Application Load Balancer with:\n * Required listeners\n * New target group with routing rules if appropriate\n\n### AWS Lambda Function\n* Configure limited privilege access IAM role for Lambda function\n* Enable reusing connections with Keep-Alive for NodeJs Lambda function\n* Enable X-Ray Tracing\n* Set Environment Variables\n * AWS_NODEJS_CONNECTION_REUSE_ENABLED (for Node 10.x and higher functions)\n\n## Architecture\n![Architecture Diagram](architecture.png)\n\n***\n&copy; Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n"
3029
+ "markdown": "# aws-alb-lambda module\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![Stability: Experimental](https://img.shields.io/badge/stability-Experimental-important.svg?style=for-the-badge)\n\n> All classes are under active development and subject to non-backward compatible changes or removal in any\n> future version. These are not subject to the [Semantic Versioning](https://semver.org/) model.\n> This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.\n\n---\n<!--END STABILITY BANNER-->\n\n| **Reference Documentation**:| <span style=\"font-weight: normal\">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|\n|:-------------|:-------------|\n<div style=\"height:8px\"></div>\n\n| **Language** | **Package** |\n|:-------------|-----------------|\n|![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`aws_solutions_constructs.aws_alb_lambda`|\n|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-alb-lambda`|\n|![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.alblambda`|\n\n## Overview\nThis AWS Solutions Construct implements an an Application Load Balancer to an AWS Lambda function\n\nHere is a minimal deployable pattern definition:\n\nTypescript\n``` typescript\nimport { Construct } from 'constructs';\nimport { Stack, StackProps } from 'aws-cdk-lib';\nimport { AlbToLambda, AlbToLambdaProps } from '@aws-solutions-constructs/aws-alb-lambda';\nimport * as acm from 'aws-cdk-lib/aws-certificatemanager';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\n// Obtain a pre-existing certificate from your account\nconst certificate = acm.Certificate.fromCertificateArn(\n this,\n 'existing-cert',\n \"arn:aws:acm:us-east-1:123456789012:certificate/11112222-3333-1234-1234-123456789012\"\n);\n\nconst constructProps: AlbToLambdaProps = {\n lambdaFunctionProps: {\n code: lambda.Code.fromAsset(`lambda`),\n runtime: lambda.Runtime.NODEJS_14_X,\n handler: 'index.handler'\n },\n listenerProps: {\n certificates: [certificate]\n },\n publicApi: true\n};\n\n// Note - all alb constructs turn on ELB logging by default, so require that an environment including account\n// and region be provided when creating the stack\n//\n// new MyStack(app, 'id', {env: {account: '123456789012', region: 'us-east-1' }});\nnew AlbToLambda(this, 'new-construct', constructProps);\n```\n\nPython\n``` python\nfrom aws_solutions_constructs.aws_alb_lambda import AlbToLambda, AlbToLambdaProps\nfrom aws_cdk import (\n aws_certificatemanager as acm,\n aws_lambda as _lambda,\n aws_elasticloadbalancingv2 as alb,\n Stack\n)\nfrom constructs import Construct\n\n# Obtain a pre-existing certificate from your account\ncertificate = acm.Certificate.from_certificate_arn(\n self,\n 'existing-cert',\n \"arn:aws:acm:us-east-1:123456789012:certificate/11112222-3333-1234-1234-123456789012\"\n)\n\n# Note - all alb constructs turn on ELB logging by default, so require that an environment including account\n# and region be provided when creating the stack\n#\n# MyStack(app, 'id', env=cdk.Environment(account='679431688440', region='us-east-1'))\nAlbToLambda(self, 'new-construct',\n lambda_function_props=_lambda.FunctionProps(\n runtime=_lambda.Runtime.PYTHON_3_7,\n code=_lambda.Code.from_asset('lambda'),\n handler='index.handler',\n ),\n listener_props=alb.BaseApplicationListenerProps(\n certificates=[certificate]\n ),\n public_api=True)\n```\n\nJava\n``` java\nimport software.constructs.Construct;\nimport java.util.List;\n\nimport software.amazon.awscdk.Stack;\nimport software.amazon.awscdk.StackProps;\nimport software.amazon.awscdk.services.elasticloadbalancingv2.*;\nimport software.amazon.awscdk.services.lambda.*;\nimport software.amazon.awscdk.services.lambda.Runtime;\nimport software.amazon.awsconstructs.services.alblambda.*;\n\n// Obtain a pre-existing certificate from your account\nListenerCertificate listenerCertificate = ListenerCertificate\n .fromArn(\"arn:aws:acm:us-east-1:123456789012:certificate/11112222-3333-1234-1234-123456789012\");\n\n// Note - all alb constructs turn on ELB logging by default, so require that an environment including account\n// and region be provided when creating the stack\n//\n// new MyStack(app, \"id\", StackProps.builder()\n// .env(Environment.builder()\n// .account(\"123456789012\")\n// .region(\"us-east-1\")\n// .build());\nnew AlbToLambda(this, \"AlbToLambdaPattern\", new AlbToLambdaProps.Builder()\n .lambdaFunctionProps(new FunctionProps.Builder()\n .runtime(Runtime.NODEJS_14_X)\n .code(Code.fromAsset(\"lambda\"))\n .handler(\"index.handler\")\n .build())\n .listenerProps(new BaseApplicationListenerProps.Builder()\n .certificates(List.of(listenerCertificate))\n .build())\n .publicApi(true)\n .build());\n```\n\n## Pattern Construct Props\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n| loadBalancerProps? | [elasticloadbalancingv2.ApplicationLoadBalancerProps](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-elasticloadbalancingv2.ApplicationLoadBalancerProps.html) | Optional custom properties for a new loadBalancer. Providing both this and existingLoadBalancer is an error. This cannot specify a VPC, it will use the VPC in existingVpc or the VPC created by the construct. |\n| existingLoadBalancerObj? | [elasticloadbalancingv2.ApplicationLoadBalancer](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-elasticloadbalancingv2.ApplicationLoadBalancer.html) | Existing Application Load Balancer to incorporate into the construct architecture. Providing both this and loadBalancerProps is an error. The VPC containing this loadBalancer must match the VPC provided in existingVpc. |\n| listenerProps? | [ApplicationListenerProps](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-elasticloadbalancingv2.ApplicationListenerProps.html) | Props to define the listener. Must be provided when adding the listener to an ALB (eg - when creating the alb), may not be provided when adding a second target to an already established listener. When provided, must include either a certificate or protocol: HTTP |\n| targetProps? | [ApplicationTargetGroupProps](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-elasticloadbalancingv2.ApplicationTargetGroupProps.html) | Optional custom properties for a new target group. While this is a standard attribute of props for ALB constructs, there are few pertinent properties for a Lambda target. |\n| ruleProps? | [AddRuleProps](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-elasticloadbalancingv2.AddRuleProps.html) | Rules for directing traffic to the target being created. May not be specified for the first listener added to an ALB, and must be specified for the second target added to a listener. Add a second target by instantiating this construct a second time and providing the existingAlb from the first instantiation. |\n| vpcProps? | [ec2.VpcProps](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ec2.VpcProps.html) | Optional custom properties for a VPC the construct will create. This VPC will be used by the new ALB and any Private Hosted Zone the construct creates (that's why loadBalancerProps and privateHostedZoneProps can't include a VPC). Providing both this and existingVpc is an error. |\n|existingLambdaObj?|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.Function.html)|Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.|\n|lambdaFunctionProps?|[`lambda.FunctionProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.FunctionProps.html)|Optional user provided props to override the default props for the Lambda function.|\n| existingVpc? | [ec2.IVpc](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ec2.IVpc.html) | An existing VPC in which to deploy the construct. Providing both this and vpcProps is an error. If the client provides an existing load balancer and/or existing Private Hosted Zone, those constructs must exist in this VPC. |\n| logAlbAccessLogs? | boolean| Whether to turn on Access Logs for the Application Load Balancer. Uses an S3 bucket with associated storage costs.Enabling Access Logging is a best practice. default - true |\n| albLoggingBucketProps? | [s3.BucketProps](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-s3.BucketProps.html) | Optional properties to customize the bucket used to store the ALB Access Logs. Supplying this and setting logAccessLogs to false is an error. @default - none |\n| publicApi | boolean | Whether the construct is deploying a private or public API. This has implications for the VPC and ALB. |\n\n## Pattern Properties\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n| vpc | [ec2.IVpc](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ec2.IVpc.html) | The VPC used by the construct (whether created by the construct or providedb by the client) |\n| loadBalancer | [elasticloadbalancingv2.ApplicationLoadBalancer](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-elasticloadbalancingv2.ApplicationLoadBalancer.html) | The Load Balancer used by the construct (whether created by the construct or provided by the client) |\n|lambdaFunction|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.Function.html)|Returns an instance of the Lambda function used in the pattern.|\n| listener | [`elb.ApplicationListener`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-elasticloadbalancingv2.ApplicationListener.html) | The listener used by this pattern. |\n\n## Default settings\n\nOut of the box implementation of the Construct without any override will set the following defaults:\n\n### Application Load Balancer\n* Creates or configures an Application Load Balancer with:\n * Required listeners\n * New target group with routing rules if appropriate\n\n### AWS Lambda Function\n* Configure limited privilege access IAM role for Lambda function\n* Enable reusing connections with Keep-Alive for NodeJs Lambda function\n* Enable X-Ray Tracing\n* Set Environment Variables\n * AWS_NODEJS_CONNECTION_REUSE_ENABLED (for Node 10.x and higher functions)\n\n## Architecture\n![Architecture Diagram](architecture.png)\n\n***\n&copy; Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n"
3004
3030
  },
3005
3031
  "repository": {
3006
3032
  "directory": "source/patterns/@aws-solutions-constructs/aws-alb-lambda",
@@ -3343,6 +3369,6 @@
3343
3369
  "symbolId": "lib/index:AlbToLambdaProps"
3344
3370
  }
3345
3371
  },
3346
- "version": "2.6.0",
3347
- "fingerprint": "DVxNw6SsERCAJw/U7tIu0/Qhf8B1BdaFkaSRb2FVfhc="
3372
+ "version": "2.9.0",
3373
+ "fingerprint": "gkpzjbGXrCpHDbhVOrviSMJNe2QF06XCrka88ZIndS8="
3348
3374
  }
package/README.md CHANGED
@@ -22,6 +22,7 @@
22
22
  |![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-alb-lambda`|
23
23
  |![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.alblambda`|
24
24
 
25
+ ## Overview
25
26
  This AWS Solutions Construct implements an an Application Load Balancer to an AWS Lambda function
26
27
 
27
28
  Here is a minimal deployable pattern definition:
@@ -177,4 +178,4 @@ Out of the box implementation of the Construct without any override will set the
177
178
  ![Architecture Diagram](architecture.png)
178
179
 
179
180
  ***
180
- &copy; Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
181
+ &copy; Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
package/lib/index.js CHANGED
@@ -53,5 +53,5 @@ class AlbToLambda extends constructs_1.Construct {
53
53
  }
54
54
  exports.AlbToLambda = AlbToLambda;
55
55
  _a = JSII_RTTI_SYMBOL_1;
56
- AlbToLambda[_a] = { fqn: "@aws-solutions-constructs/aws-alb-lambda.AlbToLambda", version: "2.6.0" };
56
+ AlbToLambda[_a] = { fqn: "@aws-solutions-constructs/aws-alb-lambda.AlbToLambda", version: "2.9.0" };
57
57
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQWlCQSwyQ0FBdUM7QUFDdkMsMkRBQTJEO0FBRTNELHlEQUFtRTtBQWlHbkUsTUFBYSxXQUFZLFNBQVEsc0JBQVM7SUFNeEMsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxLQUF1QjtRQUMvRCxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBQ2pCLFFBQVEsQ0FBQyxVQUFVLENBQUMsS0FBSyxDQUFDLENBQUM7UUFDM0IsUUFBUSxDQUFDLGFBQWEsQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUU5QixpREFBaUQ7UUFDakQsSUFBSSxDQUFDLEdBQUcsR0FBRyxRQUFRLENBQUMsUUFBUSxDQUFDLEtBQUssRUFBRTtZQUNsQyxXQUFXLEVBQUUsS0FBSyxDQUFDLFdBQVc7WUFDOUIsZUFBZSxFQUFFLEtBQUssQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLFFBQVEsQ0FBQyw0QkFBNEIsRUFBRSxDQUFDLENBQUMsQ0FBQyxRQUFRLENBQUMsdUJBQXVCLEVBQUU7WUFDL0csWUFBWSxFQUFFLEtBQUssQ0FBQyxRQUFRO1lBQzVCLGlCQUFpQixFQUFFLEtBQUssQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUMsRUFBRSxrQkFBa0IsRUFBRSxJQUFJLEVBQUUsZ0JBQWdCLEVBQUUsSUFBSSxFQUFFO1NBQy9GLENBQUMsQ0FBQztRQUVILElBQU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gLy8gdGhpcy5saXN0ZW5lciBuZWVkcyB0byBiZSBzZXQgb24gdGhlIGNvbnN0cnVjdC5cbiAgICAvLyBjb3VsZCBiZSBhYm92ZTogZWxzZSB7IGRlZmF1bHRzLkdldEFjdGl2ZUxpc3RlbmVyIH1cbiAgICAvLyBkbyB3ZSB0aGVuIG1vdmUgdGhhdCBmdW5jaW9uYWxpdHkgYmFjayBpbnRvIHRoZSBjb25zdHJ1Y3QgKG5vdCB0aGUgZnVuY3Rpb24pLiBJZiBzbyBkb1xuICAgIC8vIHdlIGxlYXZlIGl0IGluIEFkZE5ld1RhcmdldCBvciBqdXN0IGRvIGl0IGhlcmUgYW5kIHBhc3MgdGhlIGxpc3RlbmVyP1xuICAgIGlmIChuZXdMaXN0ZW5lciAmJiB0aGlzLmxpc3RlbmVyKSB7XG4gICAgICBjb25zdCBsZXZlbE9uZUxpc3RlbmVyID0gdGhpcy5saXN0ZW5lci5ub2RlLmRlZmF1bHRDaGlsZCBhcyBDZm5MaXN0ZW5lcjtcbiAgICAgIGNvbnN0IGNmblRhcmdldEdyb3VwID0gbmV3VGFyZ2V0R3JvdXAubm9kZS5kZWZhdWx0Q2hpbGQgYXMgQ2ZuVGFyZ2V0R3JvdXA7XG4gICAgICBsZXZlbE9uZUxpc3RlbmVyLmFkZERlcGVuZHNPbihjZm5UYXJnZXRHcm91cCk7XG4gICAgfVxuXG4gIH1cbn1cbiJdfQ==
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-solutions-constructs/aws-alb-lambda",
3
- "version": "2.6.0",
3
+ "version": "2.9.0",
4
4
  "description": "CDK Constructs for Application Load Balancer to AWS Lambda integration",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -53,14 +53,14 @@
53
53
  }
54
54
  },
55
55
  "dependencies": {
56
- "@aws-solutions-constructs/core": "2.6.0"
56
+ "@aws-solutions-constructs/core": "2.9.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-cdk/assert": "2.20.0",
59
+ "@aws-cdk/assert": "2.23.0",
60
60
  "@types/jest": "^27.4.0",
61
- "@aws-solutions-constructs/core": "2.6.0",
61
+ "@aws-solutions-constructs/core": "2.9.0",
62
62
  "@types/node": "^10.3.0",
63
- "aws-cdk-lib": "2.20.0",
63
+ "aws-cdk-lib": "2.23.0",
64
64
  "constructs": "^10.0.0"
65
65
  },
66
66
  "jest": {
@@ -78,8 +78,8 @@
78
78
  ]
79
79
  },
80
80
  "peerDependencies": {
81
- "@aws-solutions-constructs/core": "2.6.0",
82
- "aws-cdk-lib": "^2.20.0",
81
+ "@aws-solutions-constructs/core": "2.9.0",
82
+ "aws-cdk-lib": "^2.23.0",
83
83
  "constructs": "^10.0.0"
84
84
  },
85
85
  "keywords": [
@@ -19,11 +19,11 @@
19
19
  "VpcPublicSubnet1Subnet5C2D37C4": {
20
20
  "Type": "AWS::EC2::Subnet",
21
21
  "Properties": {
22
- "CidrBlock": "172.168.0.0/19",
23
22
  "VpcId": {
24
23
  "Ref": "Vpc8378EB38"
25
24
  },
26
25
  "AvailabilityZone": "test-region-1a",
26
+ "CidrBlock": "172.168.0.0/19",
27
27
  "MapPublicIpOnLaunch": true,
28
28
  "Tags": [
29
29
  {
@@ -126,11 +126,11 @@
126
126
  "VpcPublicSubnet2Subnet691E08A3": {
127
127
  "Type": "AWS::EC2::Subnet",
128
128
  "Properties": {
129
- "CidrBlock": "172.168.32.0/19",
130
129
  "VpcId": {
131
130
  "Ref": "Vpc8378EB38"
132
131
  },
133
132
  "AvailabilityZone": "test-region-1b",
133
+ "CidrBlock": "172.168.32.0/19",
134
134
  "MapPublicIpOnLaunch": true,
135
135
  "Tags": [
136
136
  {
@@ -233,11 +233,11 @@
233
233
  "VpcPublicSubnet3SubnetBE12F0B6": {
234
234
  "Type": "AWS::EC2::Subnet",
235
235
  "Properties": {
236
- "CidrBlock": "172.168.64.0/19",
237
236
  "VpcId": {
238
237
  "Ref": "Vpc8378EB38"
239
238
  },
240
239
  "AvailabilityZone": "test-region-1c",
240
+ "CidrBlock": "172.168.64.0/19",
241
241
  "MapPublicIpOnLaunch": true,
242
242
  "Tags": [
243
243
  {
@@ -340,11 +340,11 @@
340
340
  "VpcPrivateSubnet1Subnet536B997A": {
341
341
  "Type": "AWS::EC2::Subnet",
342
342
  "Properties": {
343
- "CidrBlock": "172.168.96.0/19",
344
343
  "VpcId": {
345
344
  "Ref": "Vpc8378EB38"
346
345
  },
347
346
  "AvailabilityZone": "test-region-1a",
347
+ "CidrBlock": "172.168.96.0/19",
348
348
  "MapPublicIpOnLaunch": false,
349
349
  "Tags": [
350
350
  {
@@ -402,11 +402,11 @@
402
402
  "VpcPrivateSubnet2Subnet3788AAA1": {
403
403
  "Type": "AWS::EC2::Subnet",
404
404
  "Properties": {
405
- "CidrBlock": "172.168.128.0/19",
406
405
  "VpcId": {
407
406
  "Ref": "Vpc8378EB38"
408
407
  },
409
408
  "AvailabilityZone": "test-region-1b",
409
+ "CidrBlock": "172.168.128.0/19",
410
410
  "MapPublicIpOnLaunch": false,
411
411
  "Tags": [
412
412
  {
@@ -464,11 +464,11 @@
464
464
  "VpcPrivateSubnet3SubnetF258B56E": {
465
465
  "Type": "AWS::EC2::Subnet",
466
466
  "Properties": {
467
- "CidrBlock": "172.168.160.0/19",
468
467
  "VpcId": {
469
468
  "Ref": "Vpc8378EB38"
470
469
  },
471
470
  "AvailabilityZone": "test-region-1c",
471
+ "CidrBlock": "172.168.160.0/19",
472
472
  "MapPublicIpOnLaunch": false,
473
473
  "Tags": [
474
474
  {
@@ -856,7 +856,7 @@
856
856
  }
857
857
  }
858
858
  },
859
- "LambdaFunctionInvokeServicePrincipalelasticloadbalancingamazonawscom842E1595": {
859
+ "LambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HYAD69E89D": {
860
860
  "Type": "AWS::Lambda::Permission",
861
861
  "Properties": {
862
862
  "Action": "lambda:InvokeFunction",
@@ -1324,7 +1324,7 @@
1324
1324
  "TargetType": "lambda"
1325
1325
  },
1326
1326
  "DependsOn": [
1327
- "LambdaFunctionInvokeServicePrincipalelasticloadbalancingamazonawscom842E1595"
1327
+ "LambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HYAD69E89D"
1328
1328
  ]
1329
1329
  }
1330
1330
  },
@@ -533,7 +533,7 @@
533
533
  }
534
534
  }
535
535
  },
536
- "testoneLambdaFunctionInvokeServicePrincipalelasticloadbalancingamazonawscom776E5E70": {
536
+ "testoneLambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HY508A8518": {
537
537
  "Type": "AWS::Lambda::Permission",
538
538
  "Properties": {
539
539
  "Action": "lambda:InvokeFunction",
@@ -593,7 +593,7 @@
593
593
  "TargetType": "lambda"
594
594
  },
595
595
  "DependsOn": [
596
- "testoneLambdaFunctionInvokeServicePrincipalelasticloadbalancingamazonawscom776E5E70"
596
+ "testoneLambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HY508A8518"
597
597
  ]
598
598
  },
599
599
  "Vpc8378EB38": {
@@ -614,11 +614,11 @@
614
614
  "VpcisolatedSubnet1SubnetE62B1B9B": {
615
615
  "Type": "AWS::EC2::Subnet",
616
616
  "Properties": {
617
- "CidrBlock": "10.0.0.0/18",
618
617
  "VpcId": {
619
618
  "Ref": "Vpc8378EB38"
620
619
  },
621
620
  "AvailabilityZone": "test-region-1a",
621
+ "CidrBlock": "10.0.0.0/18",
622
622
  "MapPublicIpOnLaunch": false,
623
623
  "Tags": [
624
624
  {
@@ -664,11 +664,11 @@
664
664
  "VpcisolatedSubnet2Subnet39217055": {
665
665
  "Type": "AWS::EC2::Subnet",
666
666
  "Properties": {
667
- "CidrBlock": "10.0.64.0/18",
668
667
  "VpcId": {
669
668
  "Ref": "Vpc8378EB38"
670
669
  },
671
670
  "AvailabilityZone": "test-region-1b",
671
+ "CidrBlock": "10.0.64.0/18",
672
672
  "MapPublicIpOnLaunch": false,
673
673
  "Tags": [
674
674
  {
@@ -714,11 +714,11 @@
714
714
  "VpcisolatedSubnet3Subnet44F2537D": {
715
715
  "Type": "AWS::EC2::Subnet",
716
716
  "Properties": {
717
- "CidrBlock": "10.0.128.0/18",
718
717
  "VpcId": {
719
718
  "Ref": "Vpc8378EB38"
720
719
  },
721
720
  "AvailabilityZone": "test-region-1c",
721
+ "CidrBlock": "10.0.128.0/18",
722
722
  "MapPublicIpOnLaunch": false,
723
723
  "Tags": [
724
724
  {
@@ -19,11 +19,11 @@
19
19
  "VpcPublicSubnet1Subnet5C2D37C4": {
20
20
  "Type": "AWS::EC2::Subnet",
21
21
  "Properties": {
22
- "CidrBlock": "172.168.0.0/19",
23
22
  "VpcId": {
24
23
  "Ref": "Vpc8378EB38"
25
24
  },
26
25
  "AvailabilityZone": "test-region-1a",
26
+ "CidrBlock": "172.168.0.0/19",
27
27
  "MapPublicIpOnLaunch": true,
28
28
  "Tags": [
29
29
  {
@@ -126,11 +126,11 @@
126
126
  "VpcPublicSubnet2Subnet691E08A3": {
127
127
  "Type": "AWS::EC2::Subnet",
128
128
  "Properties": {
129
- "CidrBlock": "172.168.32.0/19",
130
129
  "VpcId": {
131
130
  "Ref": "Vpc8378EB38"
132
131
  },
133
132
  "AvailabilityZone": "test-region-1b",
133
+ "CidrBlock": "172.168.32.0/19",
134
134
  "MapPublicIpOnLaunch": true,
135
135
  "Tags": [
136
136
  {
@@ -233,11 +233,11 @@
233
233
  "VpcPublicSubnet3SubnetBE12F0B6": {
234
234
  "Type": "AWS::EC2::Subnet",
235
235
  "Properties": {
236
- "CidrBlock": "172.168.64.0/19",
237
236
  "VpcId": {
238
237
  "Ref": "Vpc8378EB38"
239
238
  },
240
239
  "AvailabilityZone": "test-region-1c",
240
+ "CidrBlock": "172.168.64.0/19",
241
241
  "MapPublicIpOnLaunch": true,
242
242
  "Tags": [
243
243
  {
@@ -340,11 +340,11 @@
340
340
  "VpcPrivateSubnet1Subnet536B997A": {
341
341
  "Type": "AWS::EC2::Subnet",
342
342
  "Properties": {
343
- "CidrBlock": "172.168.96.0/19",
344
343
  "VpcId": {
345
344
  "Ref": "Vpc8378EB38"
346
345
  },
347
346
  "AvailabilityZone": "test-region-1a",
347
+ "CidrBlock": "172.168.96.0/19",
348
348
  "MapPublicIpOnLaunch": false,
349
349
  "Tags": [
350
350
  {
@@ -402,11 +402,11 @@
402
402
  "VpcPrivateSubnet2Subnet3788AAA1": {
403
403
  "Type": "AWS::EC2::Subnet",
404
404
  "Properties": {
405
- "CidrBlock": "172.168.128.0/19",
406
405
  "VpcId": {
407
406
  "Ref": "Vpc8378EB38"
408
407
  },
409
408
  "AvailabilityZone": "test-region-1b",
409
+ "CidrBlock": "172.168.128.0/19",
410
410
  "MapPublicIpOnLaunch": false,
411
411
  "Tags": [
412
412
  {
@@ -464,11 +464,11 @@
464
464
  "VpcPrivateSubnet3SubnetF258B56E": {
465
465
  "Type": "AWS::EC2::Subnet",
466
466
  "Properties": {
467
- "CidrBlock": "172.168.160.0/19",
468
467
  "VpcId": {
469
468
  "Ref": "Vpc8378EB38"
470
469
  },
471
470
  "AvailabilityZone": "test-region-1c",
471
+ "CidrBlock": "172.168.160.0/19",
472
472
  "MapPublicIpOnLaunch": false,
473
473
  "Tags": [
474
474
  {
@@ -856,7 +856,7 @@
856
856
  }
857
857
  }
858
858
  },
859
- "LambdaFunctionInvokeServicePrincipalelasticloadbalancingamazonawscom842E1595": {
859
+ "LambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HYAD69E89D": {
860
860
  "Type": "AWS::Lambda::Permission",
861
861
  "Properties": {
862
862
  "Action": "lambda:InvokeFunction",
@@ -1324,7 +1324,7 @@
1324
1324
  "TargetType": "lambda"
1325
1325
  },
1326
1326
  "DependsOn": [
1327
- "LambdaFunctionInvokeServicePrincipalelasticloadbalancingamazonawscom842E1595"
1327
+ "LambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HYAD69E89D"
1328
1328
  ]
1329
1329
  }
1330
1330
  },
@@ -536,7 +536,7 @@
536
536
  }
537
537
  }
538
538
  },
539
- "testoneLambdaFunctionInvokeServicePrincipalelasticloadbalancingamazonawscom776E5E70": {
539
+ "testoneLambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HY508A8518": {
540
540
  "Type": "AWS::Lambda::Permission",
541
541
  "Properties": {
542
542
  "Action": "lambda:InvokeFunction",
@@ -596,7 +596,7 @@
596
596
  "TargetType": "lambda"
597
597
  },
598
598
  "DependsOn": [
599
- "testoneLambdaFunctionInvokeServicePrincipalelasticloadbalancingamazonawscom776E5E70"
599
+ "testoneLambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HY508A8518"
600
600
  ]
601
601
  },
602
602
  "Vpc8378EB38": {
@@ -617,11 +617,11 @@
617
617
  "VpcPublicSubnet1Subnet5C2D37C4": {
618
618
  "Type": "AWS::EC2::Subnet",
619
619
  "Properties": {
620
- "CidrBlock": "10.0.0.0/19",
621
620
  "VpcId": {
622
621
  "Ref": "Vpc8378EB38"
623
622
  },
624
623
  "AvailabilityZone": "test-region-1a",
624
+ "CidrBlock": "10.0.0.0/19",
625
625
  "MapPublicIpOnLaunch": true,
626
626
  "Tags": [
627
627
  {
@@ -724,11 +724,11 @@
724
724
  "VpcPublicSubnet2Subnet691E08A3": {
725
725
  "Type": "AWS::EC2::Subnet",
726
726
  "Properties": {
727
- "CidrBlock": "10.0.32.0/19",
728
727
  "VpcId": {
729
728
  "Ref": "Vpc8378EB38"
730
729
  },
731
730
  "AvailabilityZone": "test-region-1b",
731
+ "CidrBlock": "10.0.32.0/19",
732
732
  "MapPublicIpOnLaunch": true,
733
733
  "Tags": [
734
734
  {
@@ -831,11 +831,11 @@
831
831
  "VpcPublicSubnet3SubnetBE12F0B6": {
832
832
  "Type": "AWS::EC2::Subnet",
833
833
  "Properties": {
834
- "CidrBlock": "10.0.64.0/19",
835
834
  "VpcId": {
836
835
  "Ref": "Vpc8378EB38"
837
836
  },
838
837
  "AvailabilityZone": "test-region-1c",
838
+ "CidrBlock": "10.0.64.0/19",
839
839
  "MapPublicIpOnLaunch": true,
840
840
  "Tags": [
841
841
  {
@@ -938,11 +938,11 @@
938
938
  "VpcPrivateSubnet1Subnet536B997A": {
939
939
  "Type": "AWS::EC2::Subnet",
940
940
  "Properties": {
941
- "CidrBlock": "10.0.96.0/19",
942
941
  "VpcId": {
943
942
  "Ref": "Vpc8378EB38"
944
943
  },
945
944
  "AvailabilityZone": "test-region-1a",
945
+ "CidrBlock": "10.0.96.0/19",
946
946
  "MapPublicIpOnLaunch": false,
947
947
  "Tags": [
948
948
  {
@@ -1000,11 +1000,11 @@
1000
1000
  "VpcPrivateSubnet2Subnet3788AAA1": {
1001
1001
  "Type": "AWS::EC2::Subnet",
1002
1002
  "Properties": {
1003
- "CidrBlock": "10.0.128.0/19",
1004
1003
  "VpcId": {
1005
1004
  "Ref": "Vpc8378EB38"
1006
1005
  },
1007
1006
  "AvailabilityZone": "test-region-1b",
1007
+ "CidrBlock": "10.0.128.0/19",
1008
1008
  "MapPublicIpOnLaunch": false,
1009
1009
  "Tags": [
1010
1010
  {
@@ -1062,11 +1062,11 @@
1062
1062
  "VpcPrivateSubnet3SubnetF258B56E": {
1063
1063
  "Type": "AWS::EC2::Subnet",
1064
1064
  "Properties": {
1065
- "CidrBlock": "10.0.160.0/19",
1066
1065
  "VpcId": {
1067
1066
  "Ref": "Vpc8378EB38"
1068
1067
  },
1069
1068
  "AvailabilityZone": "test-region-1c",
1069
+ "CidrBlock": "10.0.160.0/19",
1070
1070
  "MapPublicIpOnLaunch": false,
1071
1071
  "Tags": [
1072
1072
  {
@@ -536,7 +536,7 @@
536
536
  }
537
537
  }
538
538
  },
539
- "testoneLambdaFunctionInvokeServicePrincipalelasticloadbalancingamazonawscom776E5E70": {
539
+ "testoneLambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HY508A8518": {
540
540
  "Type": "AWS::Lambda::Permission",
541
541
  "Properties": {
542
542
  "Action": "lambda:InvokeFunction",
@@ -623,7 +623,7 @@
623
623
  "TargetType": "lambda"
624
624
  },
625
625
  "DependsOn": [
626
- "testoneLambdaFunctionInvokeServicePrincipalelasticloadbalancingamazonawscom776E5E70"
626
+ "testoneLambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HY508A8518"
627
627
  ]
628
628
  },
629
629
  "Vpc8378EB38": {
@@ -644,11 +644,11 @@
644
644
  "VpcPublicSubnet1Subnet5C2D37C4": {
645
645
  "Type": "AWS::EC2::Subnet",
646
646
  "Properties": {
647
- "CidrBlock": "10.0.0.0/19",
648
647
  "VpcId": {
649
648
  "Ref": "Vpc8378EB38"
650
649
  },
651
650
  "AvailabilityZone": "test-region-1a",
651
+ "CidrBlock": "10.0.0.0/19",
652
652
  "MapPublicIpOnLaunch": true,
653
653
  "Tags": [
654
654
  {
@@ -751,11 +751,11 @@
751
751
  "VpcPublicSubnet2Subnet691E08A3": {
752
752
  "Type": "AWS::EC2::Subnet",
753
753
  "Properties": {
754
- "CidrBlock": "10.0.32.0/19",
755
754
  "VpcId": {
756
755
  "Ref": "Vpc8378EB38"
757
756
  },
758
757
  "AvailabilityZone": "test-region-1b",
758
+ "CidrBlock": "10.0.32.0/19",
759
759
  "MapPublicIpOnLaunch": true,
760
760
  "Tags": [
761
761
  {
@@ -858,11 +858,11 @@
858
858
  "VpcPublicSubnet3SubnetBE12F0B6": {
859
859
  "Type": "AWS::EC2::Subnet",
860
860
  "Properties": {
861
- "CidrBlock": "10.0.64.0/19",
862
861
  "VpcId": {
863
862
  "Ref": "Vpc8378EB38"
864
863
  },
865
864
  "AvailabilityZone": "test-region-1c",
865
+ "CidrBlock": "10.0.64.0/19",
866
866
  "MapPublicIpOnLaunch": true,
867
867
  "Tags": [
868
868
  {
@@ -965,11 +965,11 @@
965
965
  "VpcPrivateSubnet1Subnet536B997A": {
966
966
  "Type": "AWS::EC2::Subnet",
967
967
  "Properties": {
968
- "CidrBlock": "10.0.96.0/19",
969
968
  "VpcId": {
970
969
  "Ref": "Vpc8378EB38"
971
970
  },
972
971
  "AvailabilityZone": "test-region-1a",
972
+ "CidrBlock": "10.0.96.0/19",
973
973
  "MapPublicIpOnLaunch": false,
974
974
  "Tags": [
975
975
  {
@@ -1027,11 +1027,11 @@
1027
1027
  "VpcPrivateSubnet2Subnet3788AAA1": {
1028
1028
  "Type": "AWS::EC2::Subnet",
1029
1029
  "Properties": {
1030
- "CidrBlock": "10.0.128.0/19",
1031
1030
  "VpcId": {
1032
1031
  "Ref": "Vpc8378EB38"
1033
1032
  },
1034
1033
  "AvailabilityZone": "test-region-1b",
1034
+ "CidrBlock": "10.0.128.0/19",
1035
1035
  "MapPublicIpOnLaunch": false,
1036
1036
  "Tags": [
1037
1037
  {
@@ -1089,11 +1089,11 @@
1089
1089
  "VpcPrivateSubnet3SubnetF258B56E": {
1090
1090
  "Type": "AWS::EC2::Subnet",
1091
1091
  "Properties": {
1092
- "CidrBlock": "10.0.160.0/19",
1093
1092
  "VpcId": {
1094
1093
  "Ref": "Vpc8378EB38"
1095
1094
  },
1096
1095
  "AvailabilityZone": "test-region-1c",
1096
+ "CidrBlock": "10.0.160.0/19",
1097
1097
  "MapPublicIpOnLaunch": false,
1098
1098
  "Tags": [
1099
1099
  {
@@ -1559,7 +1559,7 @@
1559
1559
  }
1560
1560
  }
1561
1561
  },
1562
- "testtwoLambdaFunctionInvokeServicePrincipalelasticloadbalancingamazonawscom1048E788": {
1562
+ "testtwoLambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HY068D8D47": {
1563
1563
  "Type": "AWS::Lambda::Permission",
1564
1564
  "Properties": {
1565
1565
  "Action": "lambda:InvokeFunction",
@@ -1588,7 +1588,7 @@
1588
1588
  "TargetType": "lambda"
1589
1589
  },
1590
1590
  "DependsOn": [
1591
- "testtwoLambdaFunctionInvokeServicePrincipalelasticloadbalancingamazonawscom1048E788"
1591
+ "testtwoLambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HY068D8D47"
1592
1592
  ]
1593
1593
  }
1594
1594
  },