@goldstack/template-lambda-trigger-cli 0.1.6 → 0.1.8
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.
|
@@ -3,6 +3,7 @@ import { TerraformDeployment } from '@goldstack/utils-terraform';
|
|
|
3
3
|
import { Deployment, DeploymentConfiguration } from '@goldstack/infra';
|
|
4
4
|
import { Package, Configuration } from '@goldstack/utils-package';
|
|
5
5
|
import { LambdaDeployment, LambdaDeploymentConfiguration, LambdaPackage } from '@goldstack/template-lambda-cli';
|
|
6
|
+
import { SqsDeploymentConfiguration, SqsDeployment, SqsPackage } from '@goldstack/template-sqs';
|
|
6
7
|
/**
|
|
7
8
|
* Optional schedule in which the lambda is triggered. Example: "rate(1 minute)".
|
|
8
9
|
*
|
|
@@ -17,11 +18,10 @@ export declare type LambdaSchedule = string;
|
|
|
17
18
|
* @title SQS Queue Name
|
|
18
19
|
*/
|
|
19
20
|
export declare type SQSQueueName = string;
|
|
20
|
-
export interface ThisDeploymentConfiguration extends DeploymentConfiguration, LambdaDeploymentConfiguration {
|
|
21
|
+
export interface ThisDeploymentConfiguration extends DeploymentConfiguration, LambdaDeploymentConfiguration, SqsDeploymentConfiguration {
|
|
21
22
|
schedule?: LambdaSchedule;
|
|
22
|
-
sqsQueueName?: SQSQueueName;
|
|
23
23
|
}
|
|
24
|
-
export interface ThisDeployment extends Deployment, AWSDeployment, LambdaDeployment, TerraformDeployment {
|
|
24
|
+
export interface ThisDeployment extends Deployment, AWSDeployment, LambdaDeployment, SqsDeployment, TerraformDeployment {
|
|
25
25
|
configuration: ThisDeploymentConfiguration;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
@@ -42,7 +42,7 @@ export declare type ThisPackageConfiguration = Configuration;
|
|
|
42
42
|
*
|
|
43
43
|
* @title Lambda Trigger Package
|
|
44
44
|
*/
|
|
45
|
-
export interface ThisPackage extends Package, LambdaPackage {
|
|
45
|
+
export interface ThisPackage extends Package, LambdaPackage, SqsPackage {
|
|
46
46
|
configuration: ThisPackageConfiguration;
|
|
47
47
|
deployments: LambdaTriggerDeployments;
|
|
48
48
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LambdaTriggerPackage.d.ts","sourceRoot":"","sources":["../../../src/types/LambdaTriggerPackage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAEL,gBAAgB,EAChB,6BAA6B,EAE7B,aAAa,EACd,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"LambdaTriggerPackage.d.ts","sourceRoot":"","sources":["../../../src/types/LambdaTriggerPackage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAEL,gBAAgB,EAChB,6BAA6B,EAE7B,aAAa,EACd,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,0BAA0B,EAC1B,aAAa,EACb,UAAU,EACX,MAAM,yBAAyB,CAAC;AAEjC;;;;;;GAMG;AAEH,oBAAY,cAAc,GAAG,MAAM,CAAC;AAEpC;;;;GAIG;AACH,oBAAY,YAAY,GAAG,MAAM,CAAC;AAElC,MAAM,WAAW,2BACf,SAAQ,uBAAuB,EAC7B,6BAA6B,EAC7B,0BAA0B;IAC5B,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC3B;AAED,MAAM,WAAW,cACf,SAAQ,UAAU,EAChB,aAAa,EACb,gBAAgB,EAChB,aAAa,EACb,mBAAmB;IACrB,aAAa,EAAE,2BAA2B,CAAC;CAC5C;AAED;;;;GAIG;AACH,oBAAY,wBAAwB,GAAG,cAAc,EAAE,CAAC;AAExD;;;;;GAKG;AACH,oBAAY,wBAAwB,GAAG,aAAa,CAAC;AAErD;;;;GAIG;AACH,MAAM,WAAW,WAAY,SAAQ,OAAO,EAAE,aAAa,EAAE,UAAU;IACrE,aAAa,EAAE,wBAAwB,CAAC;IACxC,WAAW,EAAE,wBAAwB,CAAC;CACvC;AAED,OAAO,EAAE,2BAA2B,IAAI,oCAAoC,EAAE,CAAC;AAC/E,OAAO,EAAE,cAAc,IAAI,uBAAuB,EAAE,CAAC;AACrD,OAAO,EAAE,wBAAwB,IAAI,0BAA0B,EAAE,CAAC;AAClE,OAAO,EAAE,WAAW,IAAI,oBAAoB,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goldstack/template-lambda-trigger-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Utilities for templates that allow a Lambda to be triggered.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"goldstack",
|
|
@@ -48,7 +48,8 @@
|
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@goldstack/infra": "0.4.13",
|
|
50
50
|
"@goldstack/infra-aws": "0.4.22",
|
|
51
|
-
"@goldstack/template-lambda-cli": "0.1.
|
|
51
|
+
"@goldstack/template-lambda-cli": "0.1.8",
|
|
52
|
+
"@goldstack/template-sqs": "0.1.5",
|
|
52
53
|
"@goldstack/utils-aws-lambda": "0.3.28",
|
|
53
54
|
"@goldstack/utils-cli": "0.3.10",
|
|
54
55
|
"@goldstack/utils-config": "0.4.13",
|
|
@@ -56,8 +57,8 @@
|
|
|
56
57
|
"@goldstack/utils-package": "0.4.13",
|
|
57
58
|
"@goldstack/utils-package-config": "0.4.13",
|
|
58
59
|
"@goldstack/utils-template": "0.4.13",
|
|
59
|
-
"@goldstack/utils-terraform": "0.4.
|
|
60
|
-
"@goldstack/utils-terraform-aws": "0.4.
|
|
60
|
+
"@goldstack/utils-terraform": "0.4.29",
|
|
61
|
+
"@goldstack/utils-terraform-aws": "0.4.32",
|
|
61
62
|
"source-map-support": "^0.5.21",
|
|
62
63
|
"yargs": "^17.5.1"
|
|
63
64
|
},
|