One Observability Workshop v3.0.0
One Observability Workshop / constructs/lambda / WorkshopLambdaFunctionProperties
Interface: WorkshopLambdaFunctionProperties¶
Defined in: constructs/lambda.ts:186
Properties for configuring a workshop Lambda function.
Extended by¶
PetfoodCleanupProcessorPropertiesPetfoodImageGeneratorPropertiesPetfoodStockProcessorPropertiesRdsSeederPropertiesStatusUpdaterServicePropertiesUserCreatorProperties
Properties¶
name¶
name:
string
Defined in: constructs/lambda.ts:188
Unique name for the Lambda function
runtime¶
runtime:
Runtime
Defined in: constructs/lambda.ts:190
Runtime environment for the function
depsLockFilePath?¶
optionaldepsLockFilePath:string
Defined in: constructs/lambda.ts:192
Path to the dependencies lock file (for Node.js functions)
entry¶
entry:
string
Defined in: constructs/lambda.ts:194
Entry point file for the function code
memorySize¶
memorySize:
number
Defined in: constructs/lambda.ts:196
Memory allocation for the function in MB
handler?¶
optionalhandler:string
Defined in: constructs/lambda.ts:198
Handler method name within the entry file
index?¶
optionalindex:string
Defined in: constructs/lambda.ts:200
The path (relative to entry) to the index file containing the exported handler.
logRetentionDays?¶
optionallogRetentionDays:RetentionDays
Defined in: constructs/lambda.ts:202
Log retention period for CloudWatch logs
description?¶
optionaldescription:string
Defined in: constructs/lambda.ts:204
Description of the function's purpose
scheduleExpression?¶
optionalscheduleExpression:string
Defined in: constructs/lambda.ts:209
The schedule expression for traffic generation
Default¶
enableSchedule?¶
optionalenableSchedule:boolean
Defined in: constructs/lambda.ts:214
Whether to enable the EventBridge schedule
Default¶
timeout?¶
optionaltimeout:Duration
Defined in: constructs/lambda.ts:218
Lambda Timeout
vpc?¶
optionalvpc:IVpc
Defined in: constructs/lambda.ts:222
VPC for the Lambda function
vpcSubnets?¶
optionalvpcSubnets:SubnetSelection
Defined in: constructs/lambda.ts:226
VPC subnets for the Lambda function
securityGroups?¶
optionalsecurityGroups:ISecurityGroup[]
Defined in: constructs/lambda.ts:230
Security groups for the Lambda function