Skip to content

Commit

Permalink
fix: use enum values for applicationLogLevel and systemLogLevel
Browse files Browse the repository at this point in the history
  • Loading branch information
dali546 authored Apr 19, 2024
1 parent 91246ac commit 7c096c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/aws-cdk-lib/aws-lambda/lib/function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,13 +538,13 @@ export interface FunctionOptions extends EventInvokeConfigOptions {
* Sets the application log level for the function.
* @default "INFO"
*/
readonly applicationLogLevel?: string;
readonly applicationLogLevel?: ApplicationLogLevel;

/**
* Sets the system log level for the function.
* @default "INFO"
*/
readonly systemLogLevel?: string;
readonly systemLogLevel?: SystemLogLevel;
}

export interface FunctionProps extends FunctionOptions {
Expand Down

0 comments on commit 7c096c9

Please sign in to comment.