Yandex Cloud
Документация
ПрезентацияСвязаться с намиНачать бесплатно
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»
Terraform в Yandex Cloud
  • Начало работы
  • Настройка аутентификации Terraform-провайдера Yandex Cloud
  • Вопросы и ответы
  • Библиотека решений
    • Обзор
    • История изменений (англ.)
          • sws_advanced_rate_limiter_profile
          • sws_domain
          • sws_load_balancer
          • sws_match_list
          • sws_security_profile
          • sws_security_profile_advanced_rate_limiter_profile_attachment
          • sws_security_profile_waf_profile_attachment
          • sws_waf_profile
  1. Справочник Terraform
  2. Ресурсы (англ.)
  3. Smart Web Security
  4. Resources
  5. sws_load_balancer

yandex_sws_load_balancer (Resource)

Статья создана
Yandex Cloud
Обновлена 28 августа 2026 г.
Открыть в Markdown

A Smart Web Security load balancer resource.

Arguments & Attributes ReferenceArguments & Attributes Reference

  • created_at (Read-Only) (String). Creation time.
  • ddos_protection_provider (Read-Only) (String). L3-L4 DDoS protection provider. Currently supported: "" or "qrator".
  • deletion_protection (Bool). Forbids Delete() calls.
    NOTE: Deletion in status CREATING still allow even if deletion_protection is set.
  • description (String). Description of the load balancer.
  • folder_id (String). ID of the folder that the load balancer belongs to.
  • id (String). ID of the load balancer to return.
  • ip_address (Read-Only) (String). IP address of resulting balancer.
  • labels (Map Of String). Resource labels as key:value pairs.
  • load_balancer_id (String). ID of the load balancer to return.
  • log_group_id (Read-Only) (String). Cloud logging log group ID.
    If empty string was passed to log options, this field will contain ID of default log group.
    If logs are disabled, this field will contain empty string.
  • log_options [Block]. Cloud logging settings.
    • disable (Bool). Do not send logs to Cloud Logging log group.
    • discard_rule [Block]. Ordered list of rules, first matching rule applies.
      • discard_percent (Number). Percent of logs to be discarded: 0 - keep all, 100 or unset - discard all.
      • http_code_intervals (List Of String). Groups of HTTP codes like 4xx that should be discarded.
      • http_codes (List Of Number). HTTP codes that should be discarded.
    • log_group_id (String). ID of Cloud Logging log group.
      Keep empty to use default log group.
  • name (Required)(String). Name of the load balancer.
  • region_id (Required)(String). "ru-central1", "kz1", etc.
  • resource_units (Number). Number of initially allocated resource units.
    Zero means the minimum configured for the service installation.
  • route_options [Block]. Options that apply to all domains.
    • modify_request_headers [Block]. Apply the following modifications to the request headers.
      • append (String). Append string to the header value.
      • name (Required)(String). Name of the header.
      • remove (Bool). Remove the header.
      • rename (String). New name for a header.
      • replace (String). New value for a header.
    • modify_response_headers [Block]. Apply the following modifications to the response headers.
      • append (String). Append string to the header value.
      • name (Required)(String). Name of the header.
      • remove (Bool). Remove the header.
      • rename (String). New name for a header.
      • replace (String). New value for a header.
  • service_account_id (String). Service account for access to certificate, securityProfile and logGroup.
  • status (Read-Only) (String). Status of the load balancer.
  • timeouts [Block].
    • create (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    • delete (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    • read (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    • update (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
  • updated_at (Read-Only) (String). Last time when the load balancer was modified.

Была ли статья полезна?

Предыдущая
sws_domain
Следующая
sws_match_list
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»