@aws-solutions-constructs/aws-sns-lambda 2.85.2 → 2.85.3

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,7 +8,7 @@
8
8
  "url": "https://aws.amazon.com"
9
9
  },
10
10
  "dependencies": {
11
- "@aws-solutions-constructs/core": "2.85.2",
11
+ "@aws-solutions-constructs/core": "2.85.3",
12
12
  "aws-cdk-lib": "^2.193.0",
13
13
  "constructs": "^10.0.0"
14
14
  },
@@ -3993,7 +3993,7 @@
3993
3993
  },
3994
3994
  "name": "@aws-solutions-constructs/aws-sns-lambda",
3995
3995
  "readme": {
3996
- "markdown": "# aws-sns-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_sns_lambda`|\n|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-sns-lambda`|\n|![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.snslambda`|\n\n## Overview\nThis AWS Solutions Construct implements an Amazon SNS 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 { SnsToLambda, SnsToLambdaProps } from \"@aws-solutions-constructs/aws-sns-lambda\";\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\n\nnew SnsToLambda(this, 'test-sns-lambda', {\n lambdaFunctionProps: {\n runtime: lambda.Runtime.NODEJS_20_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(`lambda`)\n }\n});\n```\nPython\n```python\nfrom aws_solutions_constructs.aws_sns_lambda import SnsToLambda\nfrom aws_cdk import (\n aws_lambda as _lambda,\n Stack\n)\nfrom constructs import Construct\n\nSnsToLambda(self, 'test_sns_lambda',\n lambda_function_props=_lambda.FunctionProps(\n code=_lambda.Code.from_asset('lambda'),\n runtime=_lambda.Runtime.PYTHON_3_11,\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.snslambda.*;\n\nnew SnsToLambda(this, \"test-lambda-sqs-stack\", new SnsToLambdaProps.Builder()\n .lambdaFunctionProps(new FunctionProps.Builder()\n .runtime(Runtime.NODEJS_20_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/v2/docs/aws-cdk-lib.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/v2/docs/aws-cdk-lib.aws_lambda.FunctionProps.html)|User provided props to override the default props for the Lambda function.|\n|existingTopicObj?|[`sns.Topic`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Existing instance of SNS Topic object, providing both this and `topicProps` will cause an error.|\n|topicProps?|[`sns.TopicProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.TopicProps.html)|Optional user provided properties to override the default properties for the SNS topic.|\n|enableEncryptionWithCustomerManagedKey?|`boolean`|If no key is provided, this flag determines whether the SNS Topic is encrypted with a new CMK or an AWS managed key. This flag is ignored if any of the following are defined: topicProps.masterKey, encryptionKey or encryptionKeyProps.|\n|encryptionKey?|[`kms.Key`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html)|An optional, imported encryption key to encrypt the SNS Topic with.|\n|encryptionKeyProps?|[`kms.KeyProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html#construct-props)|Optional user provided properties to override the default properties for the KMS encryption key used to encrypt the SNS Topic with.|\n\n## Pattern Properties\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n|lambdaFunction|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Returns an instance of the Lambda function created by the pattern.|\n|snsTopic|[`sns.Topic`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.Topic.html)|Returns an instance of the SNS topic 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 SNS Topic\n* Configure least privilege access permissions for SNS Topic\n* Enable server-side encryption for SNS Topic 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 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n"
3996
+ "markdown": "Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-sns-lambda/README.adoc)\n"
3997
3997
  },
3998
3998
  "repository": {
3999
3999
  "directory": "source/patterns/@aws-solutions-constructs/aws-sns-lambda",
@@ -4247,6 +4247,6 @@
4247
4247
  "symbolId": "lib/index:SnsToLambdaProps"
4248
4248
  }
4249
4249
  },
4250
- "version": "2.85.2",
4251
- "fingerprint": "uXyuQrzaIPDoXNOA+nqrmQ/TBtzdpV25xUDA8xcE4Gc="
4250
+ "version": "2.85.3",
4251
+ "fingerprint": "9mMoIJ/7euBlcWkx4LfI8v18MaYaBd62Vn7BLD5dwyo="
4252
4252
  }
package/README.adoc ADDED
@@ -0,0 +1,184 @@
1
+ //!!NODE_ROOT <section>
2
+ //== aws-sns-lambda module
3
+
4
+ [.topic]
5
+ = aws-sns-lambda
6
+ :info_doctype: section
7
+ :info_title: aws-sns-lambda
8
+
9
+
10
+ image:https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge[Stability:Stable]
11
+
12
+ [width="100%",cols="<50%,<50%",options="header",]
13
+ |===
14
+ |*Reference Documentation*:
15
+ |https://docs.aws.amazon.com/solutions/latest/constructs/
16
+ |===
17
+
18
+ [width="100%",cols="<46%,54%",options="header",]
19
+ |===
20
+ |*Language* |*Package*
21
+ |image:https://docs.aws.amazon.com/cdk/api/latest/img/python32.png[Python
22
+ Logo] Python |`aws_solutions_constructs.aws_sns_lambda`
23
+
24
+ |image:https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png[Typescript
25
+ Logo] Typescript |`@aws-solutions-constructs/aws-sns-lambda`
26
+
27
+ |image:https://docs.aws.amazon.com/cdk/api/latest/img/java32.png[Java
28
+ Logo] Java |`software.amazon.awsconstructs.services.snslambda`
29
+ |===
30
+
31
+ == Overview
32
+
33
+ This AWS Solutions Construct implements an Amazon SNS connected to an
34
+ AWS Lambda function.
35
+
36
+ Here is a minimal deployable pattern definition:
37
+
38
+ ====
39
+ [role="tablist"]
40
+ Typescript::
41
+ +
42
+ [source,typescript]
43
+ ----
44
+ import { Construct } from 'constructs';
45
+ import { Stack, StackProps } from 'aws-cdk-lib';
46
+ import { SnsToLambda, SnsToLambdaProps } from "@aws-solutions-constructs/aws-sns-lambda";
47
+ import * as lambda from 'aws-cdk-lib/aws-lambda';
48
+
49
+ new SnsToLambda(this, 'test-sns-lambda', {
50
+ lambdaFunctionProps: {
51
+ runtime: lambda.Runtime.NODEJS_20_X,
52
+ handler: 'index.handler',
53
+ code: lambda.Code.fromAsset(`lambda`)
54
+ }
55
+ });
56
+ ----
57
+
58
+ Python::
59
+ +
60
+ [source,python]
61
+ ----
62
+ from aws_solutions_constructs.aws_sns_lambda import SnsToLambda
63
+ from aws_cdk import (
64
+ aws_lambda as _lambda,
65
+ Stack
66
+ )
67
+ from constructs import Construct
68
+
69
+ SnsToLambda(self, 'test_sns_lambda',
70
+ lambda_function_props=_lambda.FunctionProps(
71
+ code=_lambda.Code.from_asset('lambda'),
72
+ runtime=_lambda.Runtime.PYTHON_3_11,
73
+ handler='index.handler'
74
+ )
75
+ )
76
+ ----
77
+
78
+ Java::
79
+ +
80
+ [source,java]
81
+ ----
82
+ import software.constructs.Construct;
83
+
84
+ import software.amazon.awscdk.Stack;
85
+ import software.amazon.awscdk.StackProps;
86
+ import software.amazon.awscdk.services.lambda.*;
87
+ import software.amazon.awscdk.services.lambda.Runtime;
88
+ import software.amazon.awsconstructs.services.snslambda.*;
89
+
90
+ new SnsToLambda(this, "test-lambda-sqs-stack", new SnsToLambdaProps.Builder()
91
+ .lambdaFunctionProps(new FunctionProps.Builder()
92
+ .runtime(Runtime.NODEJS_20_X)
93
+ .code(Code.fromAsset("lambda"))
94
+ .handler("index.handler")
95
+ .build())
96
+ .build());
97
+ ----
98
+ ====
99
+
100
+ == Pattern Construct Props
101
+
102
+ [width="100%",cols="<30%,<35%,35%",options="header",]
103
+ |===
104
+ |*Name* |*Type* |*Description*
105
+ |existingLambdaObj?
106
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html[`lambda.Function`]
107
+ |Existing instance of Lambda Function object, providing both this and
108
+ `lambdaFunctionProps` will cause an error.
109
+
110
+ |lambdaFunctionProps?
111
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.FunctionProps.html[`lambda.FunctionProps`]
112
+ |User provided props to override the default props for the Lambda
113
+ function.
114
+
115
+ |existingTopicObj?
116
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html[`sns.Topic`]
117
+ |Existing instance of SNS Topic object, providing both this and
118
+ `topicProps` will cause an error.
119
+
120
+ |topicProps?
121
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.TopicProps.html[`sns.TopicProps`]
122
+ |Optional user provided properties to override the default properties
123
+ for the SNS topic.
124
+
125
+ |enableEncryptionWithCustomerManagedKey? |`boolean` |If no key is
126
+ provided, this flag determines whether the SNS Topic is encrypted with a
127
+ new CMK or an AWS managed key. This flag is ignored if any of the
128
+ following are defined: topicProps.masterKey, encryptionKey or
129
+ encryptionKeyProps.
130
+
131
+ |encryptionKey?
132
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html[`kms.Key`]
133
+ |An optional, imported encryption key to encrypt the SNS Topic with.
134
+
135
+ |encryptionKeyProps?
136
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html#construct-props[`kms.KeyProps`]
137
+ |Optional user provided properties to override the default properties
138
+ for the KMS encryption key used to encrypt the SNS Topic with.
139
+ |===
140
+
141
+ == Pattern Properties
142
+
143
+ [width="100%",cols="<30%,<35%,35%",options="header",]
144
+ |===
145
+ |*Name* |*Type* |*Description*
146
+ |lambdaFunction
147
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html[`lambda.Function`]
148
+ |Returns an instance of the Lambda function created by the pattern.
149
+
150
+ |snsTopic
151
+ |https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.Topic.html[`sns.Topic`]
152
+ |Returns an instance of the SNS topic created by the pattern.
153
+ |===
154
+
155
+ == Default settings
156
+
157
+ Out of the box implementation of the Construct without any override will
158
+ set the following defaults:
159
+
160
+ === Amazon SNS Topic
161
+
162
+ * Configure least privilege access permissions for SNS Topic
163
+ * Enable server-side encryption for SNS Topic using AWS managed KMS Key
164
+ * Enforce encryption of data in transit
165
+
166
+ === AWS Lambda Function
167
+
168
+ * Configure limited privilege access IAM role for Lambda function
169
+ * Enable reusing connections with Keep-Alive for NodeJs Lambda function
170
+ * Enable X-Ray Tracing
171
+ * Set Environment Variables
172
+ ** AWS_NODEJS_CONNECTION_REUSE_ENABLED (for Node 10.x
173
+ and higher functions)
174
+
175
+ == Architecture
176
+
177
+
178
+ image::aws-sns-lambda.png["Diagram showing the SNS topic, Lambda Function, CloudWatch log group and IAM role created by the construct",scaledwidth=100%]
179
+
180
+ // github block
181
+
182
+ '''''
183
+
184
+ © Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
package/README.md CHANGED
@@ -1,117 +1 @@
1
- # aws-sns-lambda module
2
- <!--BEGIN STABILITY BANNER-->
3
-
4
- ---
5
-
6
- ![Stability: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)
7
-
8
- ---
9
- <!--END STABILITY BANNER-->
10
-
11
- | **Reference Documentation**:| <span style="font-weight: normal">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|
12
- |:-------------|:-------------|
13
- <div style="height:8px"></div>
14
-
15
- | **Language** | **Package** |
16
- |:-------------|-----------------|
17
- |![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`aws_solutions_constructs.aws_sns_lambda`|
18
- |![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-sns-lambda`|
19
- |![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.snslambda`|
20
-
21
- ## Overview
22
- This AWS Solutions Construct implements an Amazon SNS connected to an AWS Lambda function.
23
-
24
- Here is a minimal deployable pattern definition:
25
-
26
- Typescript
27
- ``` typescript
28
- import { Construct } from 'constructs';
29
- import { Stack, StackProps } from 'aws-cdk-lib';
30
- import { SnsToLambda, SnsToLambdaProps } from "@aws-solutions-constructs/aws-sns-lambda";
31
- import * as lambda from 'aws-cdk-lib/aws-lambda';
32
-
33
- new SnsToLambda(this, 'test-sns-lambda', {
34
- lambdaFunctionProps: {
35
- runtime: lambda.Runtime.NODEJS_20_X,
36
- handler: 'index.handler',
37
- code: lambda.Code.fromAsset(`lambda`)
38
- }
39
- });
40
- ```
41
- Python
42
- ```python
43
- from aws_solutions_constructs.aws_sns_lambda import SnsToLambda
44
- from aws_cdk import (
45
- aws_lambda as _lambda,
46
- Stack
47
- )
48
- from constructs import Construct
49
-
50
- SnsToLambda(self, 'test_sns_lambda',
51
- lambda_function_props=_lambda.FunctionProps(
52
- code=_lambda.Code.from_asset('lambda'),
53
- runtime=_lambda.Runtime.PYTHON_3_11,
54
- handler='index.handler'
55
- )
56
- )
57
- ```
58
-
59
- Java
60
- ``` java
61
- import software.constructs.Construct;
62
-
63
- import software.amazon.awscdk.Stack;
64
- import software.amazon.awscdk.StackProps;
65
- import software.amazon.awscdk.services.lambda.*;
66
- import software.amazon.awscdk.services.lambda.Runtime;
67
- import software.amazon.awsconstructs.services.snslambda.*;
68
-
69
- new SnsToLambda(this, "test-lambda-sqs-stack", new SnsToLambdaProps.Builder()
70
- .lambdaFunctionProps(new FunctionProps.Builder()
71
- .runtime(Runtime.NODEJS_20_X)
72
- .code(Code.fromAsset("lambda"))
73
- .handler("index.handler")
74
- .build())
75
- .build());
76
- ```
77
-
78
- ## Pattern Construct Props
79
-
80
- | **Name** | **Type** | **Description** |
81
- |:-------------|:----------------|-----------------|
82
- |existingLambdaObj?|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.|
83
- |lambdaFunctionProps?|[`lambda.FunctionProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.FunctionProps.html)|User provided props to override the default props for the Lambda function.|
84
- |existingTopicObj?|[`sns.Topic`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Existing instance of SNS Topic object, providing both this and `topicProps` will cause an error.|
85
- |topicProps?|[`sns.TopicProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.TopicProps.html)|Optional user provided properties to override the default properties for the SNS topic.|
86
- |enableEncryptionWithCustomerManagedKey?|`boolean`|If no key is provided, this flag determines whether the SNS Topic is encrypted with a new CMK or an AWS managed key. This flag is ignored if any of the following are defined: topicProps.masterKey, encryptionKey or encryptionKeyProps.|
87
- |encryptionKey?|[`kms.Key`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html)|An optional, imported encryption key to encrypt the SNS Topic with.|
88
- |encryptionKeyProps?|[`kms.KeyProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kms.Key.html#construct-props)|Optional user provided properties to override the default properties for the KMS encryption key used to encrypt the SNS Topic with.|
89
-
90
- ## Pattern Properties
91
-
92
- | **Name** | **Type** | **Description** |
93
- |:-------------|:----------------|-----------------|
94
- |lambdaFunction|[`lambda.Function`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html)|Returns an instance of the Lambda function created by the pattern.|
95
- |snsTopic|[`sns.Topic`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.Topic.html)|Returns an instance of the SNS topic created by the pattern.|
96
-
97
- ## Default settings
98
-
99
- Out of the box implementation of the Construct without any override will set the following defaults:
100
-
101
- ### Amazon SNS Topic
102
- * Configure least privilege access permissions for SNS Topic
103
- * Enable server-side encryption for SNS Topic using AWS managed KMS Key
104
- * Enforce encryption of data in transit
105
-
106
- ### AWS Lambda Function
107
- * Configure limited privilege access IAM role for Lambda function
108
- * Enable reusing connections with Keep-Alive for NodeJs Lambda function
109
- * Enable X-Ray Tracing
110
- * Set Environment Variables
111
- * AWS_NODEJS_CONNECTION_REUSE_ENABLED (for Node 10.x and higher functions)
112
-
113
- ## Architecture
114
- ![Architecture Diagram](architecture.png)
115
-
116
- ***
117
- &copy; Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
1
+ Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-sns-lambda/README.adoc)
package/lib/index.js CHANGED
@@ -42,5 +42,5 @@ class SnsToLambda extends constructs_1.Construct {
42
42
  }
43
43
  exports.SnsToLambda = SnsToLambda;
44
44
  _a = JSII_RTTI_SYMBOL_1;
45
- SnsToLambda[_a] = { fqn: "@aws-solutions-constructs/aws-sns-lambda.SnsToLambda", version: "2.85.2" };
45
+ SnsToLambda[_a] = { fqn: "@aws-solutions-constructs/aws-sns-lambda.SnsToLambda", version: "2.85.3" };
46
46
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQWdCQSwyREFBMkQ7QUFDM0Qsd0ZBQXdGO0FBQ3hGLDJDQUF1QztBQUN2QyxtRkFBc0U7QUFtRHRFOztHQUVHO0FBQ0gsTUFBYSxXQUFZLFNBQVEsc0JBQVM7SUFJeEM7Ozs7Ozs7T0FPRztJQUNILFlBQVksS0FBZ0IsRUFBRSxFQUFVLEVBQUUsS0FBdUI7UUFDL0QsS0FBSyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQztRQUNqQixRQUFRLENBQUMsYUFBYSxDQUFDLEtBQUssQ0FBQyxDQUFDO1FBQzlCLFFBQVEsQ0FBQyxnQkFBZ0IsQ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"@aws-solutions-constructs/aws-sns-lambda",
3
- "version": "2.85.2",
3
+ "version": "2.85.3",
4
4
  "description": "CDK Constructs for AWS SNS to AWS Lambda integration",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -22,12 +22,13 @@
22
22
  "test": "jest --coverage",
23
23
  "clean": "tsc -b --clean",
24
24
  "watch": "tsc -b -w",
25
+ "asciidoc": "asciidoctor --failure-level WARNING -o /dev/null README.adoc",
25
26
  "integ": "integ-runner --update-on-failed",
26
27
  "integ-no-clean": "integ-runner --update-on-failed --no-clean",
27
28
  "integ-assert": "integ-runner",
28
29
  "jsii": "jsii",
29
30
  "jsii-pacmak": "jsii-pacmak",
30
- "build+lint+test": "npm run jsii && npm run lint && npm test && npm run integ-assert",
31
+ "build+lint+test": "npm run jsii && npm run lint && npm run asciidoc && npm test && npm run integ-assert",
31
32
  "blt": "npm run build+lint+test",
32
33
  "snapshot-update": "npm run jsii && npm test -- -u && npm run integ-assert"
33
34
  },
@@ -54,7 +55,7 @@
54
55
  }
55
56
  },
56
57
  "dependencies": {
57
- "@aws-solutions-constructs/core": "2.85.2",
58
+ "@aws-solutions-constructs/core": "2.85.3",
58
59
  "constructs": "^10.0.0"
59
60
  },
60
61
  "devDependencies": {
@@ -78,7 +79,7 @@
78
79
  ]
79
80
  },
80
81
  "peerDependencies": {
81
- "@aws-solutions-constructs/core": "2.85.2",
82
+ "@aws-solutions-constructs/core": "2.85.3",
82
83
  "constructs": "^10.0.0",
83
84
  "aws-cdk-lib": "^2.193.0"
84
85
  },
File without changes