Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Terraform in Yandex Cloud
  • Getting started
  • Setting up Yandex Cloud Terraform provider authentication
  • Solution library
    • Overview
    • Release notes
          • sws_advanced_rate_limiter_profile
          • sws_domain
          • sws_load_balancer
          • sws_match_list
          • sws_security_profile
          • sws_waf_profile
  1. Terraform reference
  2. Resources
  3. Smart Web Security
  4. Resources
  5. sws_load_balancer

yandex_sws_load_balancer (Resource)

Written by
Yandex Cloud
Updated at August 28, 2026
View in 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.

Was the article helpful?

Previous
sws_domain
Next
sws_match_list
© 2026 Direct Cursus Technology L.L.C.