@xube/kit-aws-hooks-infrastructure 0.0.45 → 0.0.46
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.
|
@@ -110,6 +110,8 @@ class WebhookManagement extends constructs_1.Construct {
|
|
|
110
110
|
[kit_aws_hooks_1.WEBHOOK_TABLE_NAME_ENV_VAR]: this.table.tableName,
|
|
111
111
|
[kit_aws_hooks_1.WEBHOOK_TABLE_INVERTED_INDEX_NAME_ENV_VAR]: invertedIndexName,
|
|
112
112
|
},
|
|
113
|
+
memorySize: 512,
|
|
114
|
+
timeout: aws_cdk_lib_1.Duration.seconds(10),
|
|
113
115
|
});
|
|
114
116
|
this.table.grantReadData(this.handleStreams);
|
|
115
117
|
this.handleStreams.addToRolePolicy(new aws_iam_1.PolicyStatement({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xube/kit-aws-hooks-infrastructure",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.46",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://github.com/XubeLtd/dev-kit#readme",
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@xube/kit-build": "^0.0.
|
|
20
|
+
"@xube/kit-build": "^0.0.46"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@xube/kit-aws": "^0.0.
|
|
24
|
-
"@xube/kit-aws-hooks": "^0.0.
|
|
25
|
-
"@xube/kit-aws-infrastructure": "^0.0.
|
|
26
|
-
"@xube/kit-constants": "^0.0.
|
|
27
|
-
"@xube/kit-log": "^0.0.
|
|
23
|
+
"@xube/kit-aws": "^0.0.46",
|
|
24
|
+
"@xube/kit-aws-hooks": "^0.0.46",
|
|
25
|
+
"@xube/kit-aws-infrastructure": "^0.0.46",
|
|
26
|
+
"@xube/kit-constants": "^0.0.46",
|
|
27
|
+
"@xube/kit-log": "^0.0.46",
|
|
28
28
|
"aws-cdk-lib": "^2.100.0",
|
|
29
29
|
"aws-lambda": "^1.0.7",
|
|
30
30
|
"constructs": "^10.3.0"
|
|
@@ -181,6 +181,8 @@ export class WebhookManagement extends Construct {
|
|
|
181
181
|
[WEBHOOK_TABLE_NAME_ENV_VAR]: this.table.tableName,
|
|
182
182
|
[WEBHOOK_TABLE_INVERTED_INDEX_NAME_ENV_VAR]: invertedIndexName,
|
|
183
183
|
},
|
|
184
|
+
memorySize: 512,
|
|
185
|
+
timeout: Duration.seconds(10),
|
|
184
186
|
});
|
|
185
187
|
|
|
186
188
|
this.table.grantReadData(this.handleStreams);
|