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

variable "common_tags" {
  type        = map(any)
  description = "Map of tags to apply."
  default     = {}
}

variable "policies_list" {
  type        = list(string)
  description = "List of arn's of policies which you want to attach to Batch service role."
  default     = []
}

variable "enable_default_policy" {
  type        = string
  description = "Custom client identifier"
  default     = ""
}

variable "client_account_id" {
  type        = string
  description = "ID of AWS account of the client"
}

variable "client_external_id" {
  type        = string
  description = "External ID which client should provide for assume role action."
  default     = ""
}

variable "client_iam_entity" {
  type        = string
  description = "IAM entity to which you provide access. It could be user, role or root (by default). User should be refered as 'user/username' and role as 'role/rolename'"
  default     = "root"
}

variable "max_sessions_duration" {
  type        = number
  description = "Optional) Maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours."
  default     = 3600
}
