@aws-solutions-constructs/aws-sqs-lambda 2.5.0 → 2.8.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.5.0",
12
- "aws-cdk-lib": "^2.15.0",
11
+ "@aws-solutions-constructs/core": "2.8.0",
12
+ "aws-cdk-lib": "^2.23.0",
13
13
  "constructs": "^10.0.0"
14
14
  },
15
15
  "dependencyClosure": {
@@ -403,6 +403,19 @@
403
403
  }
404
404
  }
405
405
  },
406
+ "aws-cdk-lib.aws_billingconductor": {
407
+ "targets": {
408
+ "dotnet": {
409
+ "namespace": "Amazon.CDK.AWS.BillingConductor"
410
+ },
411
+ "java": {
412
+ "package": "software.amazon.awscdk.services.billingconductor"
413
+ },
414
+ "python": {
415
+ "module": "aws_cdk.aws_billingconductor"
416
+ }
417
+ }
418
+ },
406
419
  "aws-cdk-lib.aws_budgets": {
407
420
  "targets": {
408
421
  "dotnet": {
@@ -1522,6 +1535,19 @@
1522
1535
  }
1523
1536
  }
1524
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
+ },
1525
1551
  "aws-cdk-lib.aws_iotwireless": {
1526
1552
  "targets": {
1527
1553
  "dotnet": {
@@ -1925,6 +1951,19 @@
1925
1951
  }
1926
1952
  }
1927
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
+ },
1928
1967
  "aws-cdk-lib.aws_memorydb": {
1929
1968
  "targets": {
1930
1969
  "dotnet": {
@@ -2068,6 +2107,19 @@
2068
2107
  }
2069
2108
  }
2070
2109
  },
2110
+ "aws-cdk-lib.aws_personalize": {
2111
+ "targets": {
2112
+ "dotnet": {
2113
+ "namespace": "Amazon.CDK.AWS.Personalize"
2114
+ },
2115
+ "java": {
2116
+ "package": "software.amazon.awscdk.services.personalize"
2117
+ },
2118
+ "python": {
2119
+ "module": "aws_cdk.aws_personalize"
2120
+ }
2121
+ }
2122
+ },
2071
2123
  "aws-cdk-lib.aws_pinpoint": {
2072
2124
  "targets": {
2073
2125
  "dotnet": {
@@ -2955,7 +3007,7 @@
2955
3007
  },
2956
3008
  "description": "CDK constructs for defining an interaction between an Amazon SQS queue and an AWS Lambda function.",
2957
3009
  "homepage": "https://github.com/awslabs/aws-solutions-constructs.git",
2958
- "jsiiVersion": "1.55.1 (build 07d2d90)",
3010
+ "jsiiVersion": "1.59.0 (build eb02c92)",
2959
3011
  "keywords": [
2960
3012
  "aws",
2961
3013
  "cdk",
@@ -2974,7 +3026,7 @@
2974
3026
  },
2975
3027
  "name": "@aws-solutions-constructs/aws-sqs-lambda",
2976
3028
  "readme": {
2977
- "markdown": "# aws-sqs-lambda module\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![Stability: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)\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_sqs_lambda`|\n|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-sqs-lambda`|\n|![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.sqslambda`|\n\nThis AWS Solutions Construct implements an Amazon SQS queue connected to an AWS Lambda function.\n\nHere is a minimal deployable pattern definition in Typescript:\n\n``` typescript\nimport { SqsToLambda, SqsToLambdaProps } from \"@aws-solutions-constructs/aws-sqs-lambda\";\n\nnew SqsToLambda(this, 'SqsToLambdaPattern', {\n lambdaFunctionProps: {\n runtime: lambda.Runtime.NODEJS_14_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(`${__dirname}/lambda`)\n }\n});\n\n```\n\n## Initializer\n\n``` text\nnew SqsToLambda(scope: Construct, id: string, props: SqsToLambdaProps);\n```\n\n_Parameters_\n\n* scope [`Construct`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_core.Construct.html)\n* id `string`\n* props [`SqsToLambdaProps`](#pattern-construct-props)\n\n## Pattern Construct Props\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\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)|User provided props to override the default props for the Lambda function.|\n|existingQueueObj?|[`sqs.Queue`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-sqs.Queue.html)|An optional, existing SQS queue to be used instead of the default queue. Providing both this and `queueProps` will cause an error.|\n|queueProps?|[`sqs.QueueProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-sqs.QueueProps.html)|Optional user-provided props to override the default props for the SQS queue.|\n|deadLetterQueueProps?|[`sqs.QueueProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-sqs.QueueProps.html)|Optional user-provided props to override the default props for the dead letter SQS queue.|\n|deployDeadLetterQueue?|`boolean`|Whether to create a secondary queue to be used as a dead letter queue. Defaults to true.|\n|maxReceiveCount?|`number`|The number of times a message can be unsuccessfully dequeued before being moved to the dead letter queue. Defaults to 15.|\n|sqsEventSourceProps?| [`SqsEventSourceProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda-event-sources.SqsEventSourceProps.html)|Optional user provided properties for the queue event source.|\n\n## Pattern Properties\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\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 created by the pattern.|\n|sqsQueue|[`sqs.Queue`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-sqs.Queue.html)|Returns an instance of the SQS queue created by the pattern.|\n|deadLetterQueue?|[`sqs.Queue`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-sqs.Queue.html)|Returns an instance of the dead-letter SQS queue created by the pattern.|\n\n## Default settings\n\nOut of the box implementation of the Construct without any override will set the following defaults:\n\n### Amazon SQS Queue\n* Deploy SQS dead-letter queue for the source SQS Queue\n* Enable server-side encryption for source SQS Queue using AWS Managed KMS Key\n* Enforce encryption of data in transit\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-sqs-lambda module\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![Stability: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)\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_sqs_lambda`|\n|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-sqs-lambda`|\n|![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.sqslambda`|\n\nThis AWS Solutions Construct implements an Amazon SQS queue connected 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 { SqsToLambda, SqsToLambdaProps } from \"@aws-solutions-constructs/aws-sqs-lambda\";\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\nnew SqsToLambda(this, 'SqsToLambdaPattern', {\n lambdaFunctionProps: {\n runtime: lambda.Runtime.NODEJS_14_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(`lambda`)\n }\n});\n```\n\nPython\n``` python\nfrom aws_solutions_constructs.aws_sqs_lambda import SqsToLambda\nfrom aws_cdk import (\n aws_lambda as _lambda,\n Stack\n)\nfrom constructs import Construct\n\n\nSqsToLambda(self, 'SqsToLambdaPattern',\n lambda_function_props=_lambda.FunctionProps(\n code=_lambda.Code.from_asset('lambda'),\n runtime=_lambda.Runtime.PYTHON_3_9,\n handler='index.handler'\n )\n )\n```\n\nJava\n``` java\nimport software.constructs.Construct;\n\nimport software.amazon.awscdk.Stack;\nimport software.amazon.awscdk.StackProps;\nimport software.amazon.awscdk.services.lambda.*;\nimport software.amazon.awscdk.services.lambda.Runtime;\nimport software.amazon.awsconstructs.services.sqslambda.*;\n\nnew SqsToLambda(this, \"SnsToSqsPattern\", new SqsToLambdaProps.Builder()\n .lambdaFunctionProps(new FunctionProps.Builder()\n .runtime(Runtime.NODEJS_14_X)\n .code(Code.fromAsset(\"lambda\"))\n .handler(\"index.handler\")\n .build())\n .build());\n```\n\n## Pattern Construct Props\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\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)|User provided props to override the default props for the Lambda function.|\n|existingQueueObj?|[`sqs.Queue`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-sqs.Queue.html)|An optional, existing SQS queue to be used instead of the default queue. Providing both this and `queueProps` will cause an error.|\n|queueProps?|[`sqs.QueueProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-sqs.QueueProps.html)|Optional user-provided props to override the default props for the SQS queue.|\n|deadLetterQueueProps?|[`sqs.QueueProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-sqs.QueueProps.html)|Optional user-provided props to override the default props for the dead letter SQS queue.|\n|deployDeadLetterQueue?|`boolean`|Whether to create a secondary queue to be used as a dead letter queue. Defaults to true.|\n|maxReceiveCount?|`number`|The number of times a message can be unsuccessfully dequeued before being moved to the dead letter queue. Defaults to 15.|\n|sqsEventSourceProps?| [`SqsEventSourceProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda-event-sources.SqsEventSourceProps.html)|Optional user provided properties for the queue event source.|\n\n## Pattern Properties\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\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 created by the pattern.|\n|sqsQueue|[`sqs.Queue`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-sqs.Queue.html)|Returns an instance of the SQS queue created by the pattern.|\n|deadLetterQueue?|[`sqs.Queue`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-sqs.Queue.html)|Returns an instance of the dead-letter SQS queue created by the pattern.|\n\n## Default settings\n\nOut of the box implementation of the Construct without any override will set the following defaults:\n\n### Amazon SQS Queue\n* Deploy SQS dead-letter queue for the source SQS Queue\n* Enable server-side encryption for source SQS Queue using AWS Managed KMS Key\n* Enforce encryption of data in transit\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"
2978
3030
  },
2979
3031
  "repository": {
2980
3032
  "directory": "source/patterns/@aws-solutions-constructs/aws-sqs-lambda",
@@ -3256,6 +3308,6 @@
3256
3308
  "symbolId": "lib/index:SqsToLambdaProps"
3257
3309
  }
3258
3310
  },
3259
- "version": "2.5.0",
3260
- "fingerprint": "ry/Gx3WSQLmHgCc00RIl5RmKgxclZloTmmAkblEZrCQ="
3311
+ "version": "2.8.0",
3312
+ "fingerprint": "LgOlOJ/E13cO/Bbqkxb86SEN47u4o5JZsRFqjfYnLb4="
3261
3313
  }
package/README.md CHANGED
@@ -20,32 +20,61 @@
20
20
 
21
21
  This AWS Solutions Construct implements an Amazon SQS queue connected to an AWS Lambda function.
22
22
 
23
- Here is a minimal deployable pattern definition in Typescript:
23
+ Here is a minimal deployable pattern definition:
24
24
 
25
+ Typescript
25
26
  ``` typescript
27
+ import { Construct } from 'constructs';
28
+ import { Stack, StackProps } from 'aws-cdk-lib';
26
29
  import { SqsToLambda, SqsToLambdaProps } from "@aws-solutions-constructs/aws-sqs-lambda";
30
+ import * as lambda from 'aws-cdk-lib/aws-lambda';
27
31
 
28
32
  new SqsToLambda(this, 'SqsToLambdaPattern', {
29
33
  lambdaFunctionProps: {
30
- runtime: lambda.Runtime.NODEJS_14_X,
31
- handler: 'index.handler',
32
- code: lambda.Code.fromAsset(`${__dirname}/lambda`)
34
+ runtime: lambda.Runtime.NODEJS_14_X,
35
+ handler: 'index.handler',
36
+ code: lambda.Code.fromAsset(`lambda`)
33
37
  }
34
38
  });
35
-
36
39
  ```
37
40
 
38
- ## Initializer
39
-
40
- ``` text
41
- new SqsToLambda(scope: Construct, id: string, props: SqsToLambdaProps);
41
+ Python
42
+ ``` python
43
+ from aws_solutions_constructs.aws_sqs_lambda import SqsToLambda
44
+ from aws_cdk import (
45
+ aws_lambda as _lambda,
46
+ Stack
47
+ )
48
+ from constructs import Construct
49
+
50
+
51
+ SqsToLambda(self, 'SqsToLambdaPattern',
52
+ lambda_function_props=_lambda.FunctionProps(
53
+ code=_lambda.Code.from_asset('lambda'),
54
+ runtime=_lambda.Runtime.PYTHON_3_9,
55
+ handler='index.handler'
56
+ )
57
+ )
42
58
  ```
43
59
 
44
- _Parameters_
45
-
46
- * scope [`Construct`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_core.Construct.html)
47
- * id `string`
48
- * props [`SqsToLambdaProps`](#pattern-construct-props)
60
+ Java
61
+ ``` java
62
+ import software.constructs.Construct;
63
+
64
+ import software.amazon.awscdk.Stack;
65
+ import software.amazon.awscdk.StackProps;
66
+ import software.amazon.awscdk.services.lambda.*;
67
+ import software.amazon.awscdk.services.lambda.Runtime;
68
+ import software.amazon.awsconstructs.services.sqslambda.*;
69
+
70
+ new SqsToLambda(this, "SnsToSqsPattern", new SqsToLambdaProps.Builder()
71
+ .lambdaFunctionProps(new FunctionProps.Builder()
72
+ .runtime(Runtime.NODEJS_14_X)
73
+ .code(Code.fromAsset("lambda"))
74
+ .handler("index.handler")
75
+ .build())
76
+ .build());
77
+ ```
49
78
 
50
79
  ## Pattern Construct Props
51
80
 
@@ -88,4 +117,4 @@ Out of the box implementation of the Construct without any override will set the
88
117
  ![Architecture Diagram](architecture.png)
89
118
 
90
119
  ***
91
- &copy; Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
120
+ &copy; Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
package/lib/index.d.ts CHANGED
@@ -84,3 +84,4 @@ export declare class SqsToLambda extends Construct {
84
84
  */
85
85
  constructor(scope: Construct, id: string, props: SqsToLambdaProps);
86
86
  }
87
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAC;AAC3C,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AAGjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAkB,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC;IAC7C;;;;OAIG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC,aAAa,CAAC;IACpD;;;;OAIG;IACH,QAAQ,CAAC,gBAAgB,CAAC,EAAE,GAAG,CAAC,KAAK,CAAC;IACtC;;;;OAIG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,GAAG,CAAC,UAAU,CAAC;IACrC;;;;OAIG;IACH,QAAQ,CAAC,oBAAoB,CAAC,EAAE,GAAG,CAAC,UAAU,CAAC;IAC/C;;;;OAIG;IACH,QAAQ,CAAC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IACzC;;;;OAIG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,mBAAmB,CAAA;CACrD;AAED;;GAEG;AACH,qBAAa,WAAY,SAAQ,SAAS;IACtC,SAAgB,QAAQ,EAAE,GAAG,CAAC,KAAK,CAAC;IACpC,SAAgB,eAAe,CAAC,EAAE,GAAG,CAAC,eAAe,CAAC;IACtD,SAAgB,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC;IAEhD;;;;;;;OAOG;gBACS,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB;CA4BpE"}
package/lib/index.js CHANGED
@@ -46,5 +46,5 @@ class SqsToLambda extends constructs_1.Construct {
46
46
  }
47
47
  exports.SqsToLambda = SqsToLambda;
48
48
  _a = JSII_RTTI_SYMBOL_1;
49
- SqsToLambda[_a] = { fqn: "@aws-solutions-constructs/aws-sqs-lambda.SqsToLambda", version: "2.5.0" };
49
+ SqsToLambda[_a] = { fqn: "@aws-solutions-constructs/aws-sqs-lambda.SqsToLambda", version: "2.8.0" };
50
50
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQWdCQSwyREFBMkQ7QUFDM0Qsd0ZBQXdGO0FBQ3hGLDJDQUF1QztBQUN2QyxtRkFBMkY7QUF3RDNGOztHQUVHO0FBQ0gsTUFBYSxXQUFZLFNBQVEsc0JBQVM7SUFLdEM7Ozs7Ozs7T0FPRztJQUNILFlBQVksS0FBZ0IsRUFBRSxFQUFVLEVBQUUsS0FBdUI7UUFDL0QsS0FBSyx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pdmVDb3VudDogcHJvcHMubWF4UmVjZWl2ZUNvdW50XG4gICAgICB9KTtcblxuICAgICAgLy8gU2V0dXAgdGhlIHF1ZXVlXG4gICAgICBbdGhpcy5zcXNRdWV1ZV0gPSBkZWZhdWx0cy5idWlsZFF1ZXVlKHRoaXMsICdxdWV1ZScsIHtcbiAgICAgICAgZXhpc3RpbmdRdWV1ZU9iajogcHJvcHMuZXhpc3RpbmdRdWV1ZU9iaixcbiAgICAgICAgcXVldWVQcm9wczogcHJvcHMucXVldWVQcm9wcyxcbiAgICAgICAgZGVhZExldHRlclF1ZXVlOiB0aGlzLmRlYWRMZXR0ZXJRdWV1ZVxuICAgICAgfSk7XG5cbiAgICAgIC8vIFNldHVwIHRoZSBldmVudCBzb3VyY2UgbWFwcGluZ1xuICAgICAgdGhpcy5sYW1iZGFGdW5jdGlvbi5hZGRFdmVudFNvdXJjZShuZXcgU3FzRXZlbnRTb3VyY2UodGhpcy5zcXNRdWV1ZSwgcHJvcHMuc3FzRXZlbnRTb3VyY2VQcm9wcykpO1xuICAgIH1cbn0iXX0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-solutions-constructs/aws-sqs-lambda",
3
- "version": "2.5.0",
3
+ "version": "2.8.0",
4
4
  "description": "CDK constructs for defining an interaction between an Amazon SQS queue and an AWS Lambda function.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -53,13 +53,13 @@
53
53
  }
54
54
  },
55
55
  "dependencies": {
56
- "@aws-solutions-constructs/core": "2.5.0"
56
+ "@aws-solutions-constructs/core": "2.8.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-cdk/assert": "2.15.0",
59
+ "@aws-cdk/assert": "2.23.0",
60
60
  "@types/jest": "^27.4.0",
61
61
  "@types/node": "^10.3.0",
62
- "aws-cdk-lib": "2.15.0",
62
+ "aws-cdk-lib": "2.23.0",
63
63
  "constructs": "^10.0.0"
64
64
  },
65
65
  "jest": {
@@ -77,8 +77,8 @@
77
77
  ]
78
78
  },
79
79
  "peerDependencies": {
80
- "@aws-solutions-constructs/core": "2.5.0",
81
- "aws-cdk-lib": "^2.15.0",
80
+ "@aws-solutions-constructs/core": "2.8.0",
81
+ "aws-cdk-lib": "^2.23.0",
82
82
  "constructs": "^10.0.0"
83
83
  },
84
84
  "keywords": [
@@ -11,3 +11,4 @@
11
11
  * and limitations under the License.
12
12
  */
13
13
  export {};
14
+ //# sourceMappingURL=integ.deployFifoQueue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integ.deployFifoQueue.d.ts","sourceRoot":"","sources":["integ.deployFifoQueue.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG"}
@@ -11,3 +11,4 @@
11
11
  * and limitations under the License.
12
12
  */
13
13
  export {};
14
+ //# sourceMappingURL=integ.deployFunction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integ.deployFunction.d.ts","sourceRoot":"","sources":["integ.deployFunction.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG"}
@@ -11,3 +11,4 @@
11
11
  * and limitations under the License.
12
12
  */
13
13
  export {};
14
+ //# sourceMappingURL=integ.existingFunction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integ.existingFunction.d.ts","sourceRoot":"","sources":["integ.existingFunction.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG"}
@@ -11,3 +11,4 @@
11
11
  * and limitations under the License.
12
12
  */
13
13
  import '@aws-cdk/assert/jest';
14
+ //# sourceMappingURL=test.sqs-lambda.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test.sqs-lambda.test.d.ts","sourceRoot":"","sources":["test.sqs-lambda.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAMH,OAAO,sBAAsB,CAAC"}