variable "environment" {
  description = "Available values: dev, qa, prod."
  default     = "prod"
}

variable "region" {
  default     = "us-east-1"
  description = "aws resources region"
}

variable "lambda_name" {
  description = "Name of service"
  default     = "lambda-pp-audit-ddbs-kafka-pp-identity"
}

variable "dynamodb_table_name" {
  default = "pp_identity"
}

variable "lambda_default_timeout" {
  description = "Default value for timeout"
  default     = "300"
}

variable "application_family" {
  type        = string
  description = "Name of application family"
  default     = "permissions-platform"
}

variable "lambda_memory_size" {
  description = "Memory size for the lambda function"
  default     = "512"
}

variable "notification_endpoints" {
  description = "Endpoints for alerts. Can be email, slack, pagerduty, etc"
  default     = "@slack-permissions-platform-alerts"
}

variable "event_source_mapping_batch_size" {
  description = "The largest number of records that AWS Lambda will retrieve from event source at the time of invoking the function."
  default     = 100
}

# event_source_mapping_parallelization_factor
variable "event_source_mapping_parallelization_factor" {
  description = "The number of batches to process from each shard concurrently."
  default     = 1
}

variable "lambda_function_reserved_concurrent_executions" {
  description = "Number of reserved concurrent executions for lambda function"
  default     = 1
}

variable "kafka_target_topic" {
  description = "Kafka topic to write to"
  default     = "cdc.ppIdentity"
}

variable "team" {
  description = "Team responsible for the service"
  default     = "permissions-platform"
}
