variable "env_prefix" {
  type        = string
  description = "Prefix of the environment, lowercased"
}

variable "project_group" {
  type        = string
  description = "Project group name, lowercased"
}

variable "project" {
  type        = string
  description = "Project name, lowercased"
}

variable "region" {
  type        = string
  description = "The region ID"
}

variable "common_tags" {
  type        = map(string)
  description = "Common tags to add for the objects"
  default     = {}
}

variable "aggregated_tag" {
  type        = string
  description = "The aggregated tag for cost tracking."
}

variable "bucket_arn" {
  type        = string
  description = "The ARN of the S3 bucket"
}

variable "backup_bucket_arn" {
  type        = string
  description = "The ARN of the S3 bucket"
  default     = "arn:aws:s3:::replace-with-valid-bucket"
}

variable "compression_format" {
  type        = string
  description = "The compression format."
  default     = "UNCOMPRESSED"
}

variable "backup_compression_format" {
  type        = string
  description = "The compression format for backup."
  default     = "UNCOMPRESSED"
}

variable "s3_backup_id" {
  type        = string
  description = "Added to backup path between main prefix and path. Used in case there are multiple streams backed up in the same bucket."
  default     = ""
}

variable "s3_prefix" {
  type        = string
  description = "The 'YYYY/MM/DD/HH' time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix."
}

variable "s3_path" {
  type        = string
  description = "This is gives use a way to overrile default 'YYYY/MM/DD/HH' time format"
}


variable "s3_error_output_prefix" {
  type        = string
  description = "Prefix added to failed records before writing them to S3. This prefix appears immediately following the bucket name."
}

variable "s3_error_output_path" {
  type        = string
  description = "This is gives use a way to overrile default 'YYYY/MM/DD/HH' time format. Disabled by default"
  default     = ""
}

variable "buffer_size" {
  type        = number
  description = "Buffer incoming data to the specified size, in MBs, before delivering it to the destination."
  default     = 5
}

variable "buffer_interval" {
  type        = number
  description = "Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination."
  default     = 300
}

variable "enable_processing" {
  type        = bool
  description = "Enables or disables data processing."
  default     = false

}
variable "lambda_process_arn" {
  type        = string
  description = "ARN of lambda fucntion which will be used for data processing"
  default     = ""
}

variable "create_glue_database" {
  type        = bool
  description = "Create AWS Glue database and tables"
  default     = false
}

variable "enable_conversion" {
  type        = bool
  description = "Create AWS Glue database and tables"
  default     = false
}

variable "enable_s3_backup_mode" {
  type        = bool
  description = "The Amazon S3 backup mode."
  default     = false
}
