@gradientedge/cdk-utils 4.9.4 → 4.9.5
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.
|
@@ -58,5 +58,9 @@ export declare class GraphQLApiLambdaWithCache extends GraphQLApiLambda {
|
|
|
58
58
|
* @protected
|
|
59
59
|
*/
|
|
60
60
|
protected createLambdaEnvironment(): void;
|
|
61
|
+
/**
|
|
62
|
+
* @summary Method to create lambda function for GraphQL API
|
|
63
|
+
* @protected
|
|
64
|
+
*/
|
|
61
65
|
protected createLambdaFunction(): void;
|
|
62
66
|
}
|
|
@@ -123,6 +123,10 @@ class GraphQLApiLambdaWithCache extends __1.GraphQLApiLambda {
|
|
|
123
123
|
TZ: this.props.timezone,
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
|
+
/**
|
|
127
|
+
* @summary Method to create lambda function for GraphQL API
|
|
128
|
+
* @protected
|
|
129
|
+
*/
|
|
126
130
|
createLambdaFunction() {
|
|
127
131
|
this.graphQLApiLambdaFunction = this.lambdaManager.createLambdaFunction(`${this.id}-graphql-server`, this, this.props.graphqlApi, this.graphQLApiLambdaRole, this.graphQLApiLambdaLayers, this.props.graphQLApiSource, this.props.graphQLApiHandler || 'index.handler', this.graphQLApiLambdaEnvironment, this.graphQLVpc, [this.graphQLSecurityGroup], undefined, undefined, this.graphQLVpc);
|
|
128
132
|
}
|
package/package.json
CHANGED
|
@@ -128,6 +128,10 @@ export class GraphQLApiLambdaWithCache extends GraphQLApiLambda {
|
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
+
/**
|
|
132
|
+
* @summary Method to create lambda function for GraphQL API
|
|
133
|
+
* @protected
|
|
134
|
+
*/
|
|
131
135
|
protected createLambdaFunction() {
|
|
132
136
|
this.graphQLApiLambdaFunction = this.lambdaManager.createLambdaFunction(
|
|
133
137
|
`${this.id}-graphql-server`,
|