Yandex Cloud
Поиск
Связаться с экспертомПопробовать бесплатно
  • Кейсы
  • Документация
  • Блог
  • Все сервисы
    • Cloud Interconnect
    • Cloud Backup
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Router
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Managed Service for YDB
    • SpeechKit
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • Container Registry
    • Managed Service for Prometheus®
    • Message Queue
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Cloud Apps
    • Yandex AI Studio
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Yandex Cloud Video
    • Stackland
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • DataSphere
    • Vision OCR
    • Translate
    • Cloud Registry
    • SmartCaptcha
    • Cloud Desktop
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Managed Service for GitLab
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Serverless Integrations
    • IoT Core
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
  • Статус работы сервисов
  • Marketplace
    • Доступны в регионе
    • Инфраструктура и сеть
    • Платформа данных
    • Искусственный интеллект
    • Безопасность
    • Инструменты DevOps
    • Бессерверные вычисления
    • Управление ресурсами
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Партнёрская программа
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Акции и free tier
  • Кейсы
  • Документация
  • Блог
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»
Terraform в Yandex Cloud
  • Начало работы
  • Настройка аутентификации Terraform-провайдера Yandex Cloud
  • Библиотека решений
    • Обзор
    • История изменений (англ.)
          • sws_advanced_rate_limiter_profile
          • sws_domain
          • sws_load_balancer
          • sws_match_list
          • sws_security_profile
          • sws_waf_profile
  1. Справочник Terraform
  2. Ресурсы (англ.)
  3. Smart Web Security
  4. Resources
  5. sws_domain

yandex_sws_domain (Resource)

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

A domain served by a Smart Web Security load balancer.

Arguments & Attributes ReferenceArguments & Attributes Reference

  • description (String). Domain description.
  • http_backend [Block]. Backend settings.
    • idle_timeout (String). Specifies the idle timeout for the route. If not specified, there is no per-route idle timeout.
    • session_affinity [Block]. Session affinity.
      • connection [Block]. Session affinity based on source IP address.
        • source_ip (Bool). IP address.
      • cookie [Block]. Session affinity based on a cookie.
        • name (String). Cookie name.
        • path (String). Optional cookie path.
        • ttl (String). If not set, session cookie will be used (not persisted between browser restarts).
      • header [Block]. Session affinity based on an HTTP header.
        • header_name (String). Header name.
    • sni (String). SNI string for TLS connections.
      Applicable only if use_tls enabled.
    • target [Block]. List of targets.
      • description (String). Target description.
      • ip_address (String). IPv4 address.
      • port (Number). Target port.
    • timeout (String). Backend timeout. If not set, default is 300 seconds.
    • trusted_ca_bytes (String). Trusted certificate authority certificates bundle (PEM text).
      Applicable only if use_tls enabled.
    • use_http2 (Bool). Enables HTTP2 for upstream requests.
      If not set, HTTP 1.1 will be used by default.
    • use_tls (Bool). Enable TLS for upstream requests.
  • http_listener [Block]. Optional plaintext listener settings.
    • enabled (Bool). Enable http (plaintext) listener.
    • port (Number). Listener port. If value is not set, used 80 by default.
    • redirect_to_https (Bool). Automatically redirect from HTTP to HTTPS.
      If TlsListener's port is 443 or not set, redirect URL will be "https://" and "https://:" in other case.
  • load_balancer_id (Required)(String). ID of the Load balancer that the domain belongs to.
  • name (String). Name of the Domain resource to return.
  • rate_limit [Block]. Optional rate limit settings.
    • all_requests_per_second (Number). Rate limit for all requests.
      Defaults:
  • with SolidWaf enabled: 20000 RPS
  • without SolidWaf enabled: unlimited
  • requests_per_ip_per_second (Number). Rate limit for individual IP addresses.
    Defaults:
  • with SolidWaf enabled: 1000 RPS
  • without SolidWaf enabled: unlimited
  • security_profile_id (String). Security Profile ID of SmartWebSecurity service.
  • server_name (Required)(String). Server name or wildcard to be matched against SNI in a TLS connection and authority(host) header.
    Wildcards are in the form of ".s.o.m.e".
    Allowed: "example.com", "
    .example.com".
    Not allowed: "..example.com", "*-sub.example.com".
  • solid_waf_settings [Block]. Optional Solid WAF settings.
    • session_affinity [Block]. Session affinity to analyzers. If not set, ConnectionSessionAffinity will be used.
      • connection [Block]. Session affinity based on source IP address.
        • source_ip (Bool). IP address.
      • cookie [Block]. Session affinity based on a cookie.
        • name (String). Cookie name.
        • path (String). Optional cookie path.
        • ttl (String). If not set, session cookie will be used (not persisted between browser restarts).
      • header [Block]. Session affinity based on an HTTP header.
        • header_name (String). Header name.
    • solid_waf_profile_id (String). ID of the Solid WAF profile.
  • 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).
  • tls_listener [Block]. Optional TLS listener settings.
    • certificate_id (String). Certificate ID in the Certificate Manager.
    • enable_http1 (Bool). Enables HTTP/1.0 and HTTP/1.1 support and disables HTTP/2.
    • enabled (Bool). Enable TLS listener.
    • port (Number). Listener port. If value is not set, used 443 by default.

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

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