@gradientedge/cdk-utils 8.130.0 → 8.131.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.
@@ -89,6 +89,7 @@ class LambdaManager {
89
89
  LAST_MODIFIED_TS: props.excludeLastModifiedTimestamp
90
90
  ? ''
91
91
  : scope.ssmManager.readStringParameter(`${id}-sm-ts`, scope, `${systems_manager_1.SsmManager.SECRETS_MODIFIED_TIMESTAMP_PARAM}-${scope.props.stage}`),
92
+ LOG_LEVEL: props.logLevel,
92
93
  REGION: scope.props.region,
93
94
  STAGE: scope.props.stage,
94
95
  ...environment,
@@ -186,6 +187,7 @@ class LambdaManager {
186
187
  LAST_MODIFIED_TS: props.excludeLastModifiedTimestamp
187
188
  ? ''
188
189
  : scope.ssmManager.readStringParameter(`${id}-sm-ts`, scope, `${systems_manager_1.SsmManager.SECRETS_MODIFIED_TIMESTAMP_PARAM}-${scope.props.stage}`),
190
+ LOG_LEVEL: props.logLevel,
189
191
  REGION: scope.props.region,
190
192
  STAGE: scope.props.stage,
191
193
  ...environment,
@@ -15,6 +15,7 @@ export interface LambdaProps extends FunctionProps {
15
15
  dlq?: QueueProps;
16
16
  excludeLastModifiedTimestamp?: boolean;
17
17
  lambdaAliases?: LambdaAliasProps[];
18
+ logLevel?: string;
18
19
  redriveq?: QueueProps;
19
20
  tags?: TagProps[];
20
21
  timeoutInSecs?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "8.130.0",
3
+ "version": "8.131.0",
4
4
  "description": "Utilities for AWS CDK provisioning",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -130,6 +130,7 @@ export class LambdaManager {
130
130
  scope,
131
131
  `${SsmManager.SECRETS_MODIFIED_TIMESTAMP_PARAM}-${scope.props.stage}`
132
132
  ),
133
+ LOG_LEVEL: props.logLevel,
133
134
  REGION: scope.props.region,
134
135
  STAGE: scope.props.stage,
135
136
  ...environment,
@@ -280,6 +281,7 @@ export class LambdaManager {
280
281
  scope,
281
282
  `${SsmManager.SECRETS_MODIFIED_TIMESTAMP_PARAM}-${scope.props.stage}`
282
283
  ),
284
+ LOG_LEVEL: props.logLevel,
283
285
  REGION: scope.props.region,
284
286
  STAGE: scope.props.stage,
285
287
  ...environment,
@@ -17,6 +17,7 @@ export interface LambdaProps extends FunctionProps {
17
17
  dlq?: QueueProps
18
18
  excludeLastModifiedTimestamp?: boolean
19
19
  lambdaAliases?: LambdaAliasProps[]
20
+ logLevel?: string
20
21
  redriveq?: QueueProps
21
22
  tags?: TagProps[]
22
23
  timeoutInSecs?: number