variable "bucket_regional_domain_name" {
  type        = string
  description = "The S3 bucket regional domain name (ref to s3 origin)."
}

variable "price_class" {
  type        = string
  description = "CloudFront price class (default PriceClass_100)."
  default     = "PriceClass_100"
}

variable "viewer_protocol_policy" {
  type        = string
  description = "Viewer protocol policy (default redirect-to-https)."
  default     = "redirect-to-https"
}

variable "default_ttl" {
  type        = number
  description = "Default TTL in seconds (default 3600)."
  default     = 3600
}

variable "max_ttl" {
  type        = number
  description = "Max TTL in seconds (default 86400)."
  default     = 86400
}

variable "waf_web_acl_arn" {
  type        = string
  description = "WAF web ACL ARN to associate (optional, ref to waf)."
  default     = null
}

variable "region" {
  type        = string
  description = "AWS region (CloudFront is global but the provider region is used for the OAC)."
  default     = null
}
