variable "name_prefix" {
  type        = string
  description = "The prefix which will be added to the name of all resources."
}

variable "endpoint_type" {
  type        = string
  description = "The type of endpoint that you want your SFTP server connect to."
  default     = "PUBLIC"
}

variable "common_tags" {
  type        = map(string)
  description = "A map of tags to assign to the resource."
  default     = {}
}

variable "lambda_policies" {
  type        = list(any)
  description = "The list of the policies for LambdaFunction"
  default     = []
}

variable "region" {
  type        = string
  description = "AWS API Gateway region"
  default     = "us-east-1"
}

variable "account_id" {
  type        = string
  description = "AWS API Gateway account id"
}

variable "aggregated_tag" {
  description = "An aggregated tag to be used in tagging"
  type        = string
}

variable "project" {
  description = "A project name to be used in tagging"
  type        = string
}

variable "secrets_path" {
  type        = string
  description = "Path to secrets for users. Should end with a trailing slash"
}

variable "address_allocation_ids" {
  description = "List of allocation ids of Elastic IP addresses"
  type        = list(string)
  default     = []
}

variable "subnet_ids" {
  description = "List of public subnets in which sftp will be hosted"
  type        = list(string)
  default     = []
}

variable "vpc_id" {
  description = "Id of VPC to create sftp in"
  type        = string
  default     = ""
}

variable "enable_ip_blocking" {
  type        = bool
  default     = false
  description = "Enable blocking requests from specific IP addresses"
}

variable "security_policy_name" {
  description = "Optional) Specifies the name of the security policy that is attached to the server."
  default     = "TransferSecurityPolicy-2018-11"
}
