variable "name" {
  type = string
}

variable "stage" {
  type = string
}

variable "image_uri" {
  type = string
}

variable "region" {
  type    = string
  default = "eu-west-2"
}

variable "timeout" {
  type    = number
  default = 60
}

variable "memory_size" {
  type    = number
  default = 1024
}

variable "environment" {
  type    = map(string)
  default = {}
}

variable "batch_size" {
  type    = number
  default = 10
}

variable "maximum_concurrency" {
  type        = number
  default     = null
  description = "Maximum number of concurrent Lambda invocations from SQS. null = no limit."
}

variable "reserved_concurrent_executions" {
  type        = number
  default     = -1
  description = "Reserved concurrency for the Lambda function. -1 = unreserved. 1 = single-threaded."
}
