variable "aws_region" {
  default     = "us-east-1"
  description = "AWS region"
}

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

variable "application_family" {
  default = "content-review"
}

variable "service_name" {
  default = "lambda-content"
}

variable "bucket_name" {
  description = "The name of the bucket."
  default     = "content-auto-approve-product-snapshots"
}

variable "validate_product_logic_reserved_concurrency" {
  description = "Reserved concurrency executions for lambdas handling replication events."
  default     = 20
}

variable "notification_endpoints" {
  description = "Endpoints for alerts. Can be email, slack, pagerduty, etc"
  type        = string
  default     = "@slack-content-review-team"
}

variable "store_product_metadata_lambda_reserved_concurrency" {
  default = 10
}

variable "auto_approve_lambda_reserved_concurrency" {
  default = 10
}

variable "store_product_metadata_sqs_batch_size" {
  description = "Number of messages to batch from SQS before invoking the store-product-metadata lambda"
  default     = 2
}

variable "store_product_metadata_sqs_batch_window" {
  description = "Maximum time in seconds to wait for batching messages before invoking the store-product-metadata lambda"
  default     = 5
}

variable "indexing_state_machine_name" {
  description = "Name of the indexing state machine (without environment prefix)"
  type        = string
  default     = "sfn-content-index-product-metadata"
}
