variable "name_prefix" {
  type        = string
  description = "Prefix which will be applied to the name of the policy."
}

variable "name" {
  type        = string
  description = "Name of the policy"
}

variable "path" {
  type        = string
  description = "Path for policy in IAM, default is /"
  default     = "/"
}

variable "bucket_masks" {
  type        = list(string)
  description = "List of masks of the buckets to which policy will provide access. A mask could be either usual bucket name or bucket name with wildcard."
}

variable "enable_list_buckets" {
  type        = bool
  description = "Enable listing of all buckets"
  default     = false
}
