Optional ReadonlyapplicationOptional ReadonlyarchitectureArchitecture of the Lambda function
Optional ReadonlybundlingBundling options
Optional ReadonlycurrentOptions for the lambda.Version resource automatically created by the fn.currentVersion method.
Optional ReadonlydatadogDatadog configuration for the Lambda function. If provided, the Lambda function will be instrumented with Datadog using the provided configuration.
Optional ReadonlydatadogWhether to enable Datadog instrumentation for the Lambda function
Optional ReadonlydescriptionA description of the function.
ReadonlyentryThe entry file path for the Lambda function
ReadonlyenvironmentThe environment/phase the Lambda function is deployed to.
Optional ReadonlyenvironmentEnvironment variables to pass to the Lambda as key-value pairs
Optional ReadonlyephemeralThe size of the function’s /tmp directory in MiB.
Optional ReadonlyfilesystemThe filesystem configuration for the lambda function
Optional ReadonlyforceUsed to force the Lambda function name to be exactly as provided in functionName prop.
ReadonlyfunctionThe name of the Lambda function.
By default the function name is build as
Optional ReadonlyhandlerThe name of the Handler
Optional ReadonlylambdaAdditional permissions to add to the Lambda Execution Role
Optional ReadonlylayersA list of layers to add to the function's execution environment
Optional ReadonlyloggingLogging format
Optional ReadonlylogLog group class for the Lambda function's log group
Optional ReadonlylogLog removal policy for the Lambda function's log group
Optional ReadonlylogLog retention period for the Lambda function's log group
Optional ReadonlymanagedManaged Policies to attach to the Lambda Execution Role
Optional ReadonlymemoryMemory size for the Lambda function
Optional ReadonlyreservedThe maximum of concurrent executions you want to reserve for the function.
Optional ReadonlyretryThe maximum number of times to retry when the function returns an error. Minimum: 0 Maximum: 2
Optional ReadonlyruntimeThe Node runtime for the Lambda function
Optional ReadonlysecurityThe list of security groups to associate with the Lambda function. Only used if vpc is provided.
ReadonlyserviceThe name of the service the Lambda function belongs to. Used as a prefix in naming, and for default Datadog service name if Datadog is provided.
Optional ReadonlysystemSystem log level V2
Optional ReadonlytimeoutThe Lambda timeout duration
Optional ReadonlytracingEnable AWS X-Ray Tracing for Lambda Function.
Optional ReadonlyvpcVPC network to place Lambda function in. If provided must provide vpcSubnets as well.
Optional ReadonlyvpcThe subnets to place Lambda function in. Must be provided if vpc is provided.
Application log level V2