Yandex Cloud
Поиск
Связаться с экспертомПопробовать бесплатно
  • Кейсы
  • Документация
  • Блог
  • Все сервисы
    • 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 Neurosupport
    • Yandex Cloud Detection and Response
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • GOST Gateway
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • SourceCraft
    • 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
  • Статус работы сервисов
  • Marketplace
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Искусственный интеллект
    • Безопасность
    • Инструменты DevOps
    • Бессерверные вычисления
    • Управление ресурсами
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Yandex Cloud Trust
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Акции и free tier
  • Кейсы
  • Документация
  • Блог
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ООО «Яндекс.Облако»
Terraform в Yandex Cloud
  • Начало работы
  • Настройка аутентификации Terraform-провайдера Yandex Cloud
  • Библиотека решений
    • Обзор
    • История изменений (англ.)
          • serverless_eventrouter_bus
          • serverless_eventrouter_connector
          • serverless_eventrouter_rule

В этой статье:

  • Example usage
  • Arguments & Attributes Reference
  • Import
  1. Справочник Terraform
  2. Ресурсы (англ.)
  3. Serverless Event Router
  4. Resources
  5. serverless_eventrouter_rule

yandex_serverless_eventrouter_rule (Resource)

Статья создана
Yandex Cloud
Обновлена 9 апреля 2026 г.
Открыть в Markdown
  • Example usage
  • Arguments & Attributes Reference
  • Import

Example usageExample usage

//
// TBD
//

Arguments & Attributes ReferenceArguments & Attributes Reference

  • bus_id (Required)(String). ID of the bus that the rule belongs to
  • cloud_id (Read-Only) (String). ID of the cloud that the rule resides in
  • created_at (Read-Only) (String). Creation timestamp
  • deletion_protection (Read-Only) (Bool). Deletion protection
  • description (String). Description of the rule
  • folder_id (Read-Only) (String). ID of the folder that the rule resides in
  • id (String).
  • jq_filter (String). JQ filter for matching events
  • labels (Map Of String). Rule labels
  • name (Required)(String). Name of the rule
  • container [Block]. ContainerTarget
    • container_id (Required)(String). Container ID
    • container_revision_id (String). Container revision ID
    • path (String). Endpoint HTTP path to invoke
    • service_account_id (String). Service account which should be used to call a container
    • batch_settings [Block]. Batch settings
      • cutoff (Required)(String). Maximum batch size: rule will send a batch if its lifetime exceeds this value
      • max_bytes (Number). Maximum batch size: rule will send a batch if total size of events exceeds this value
      • max_count (Number). Maximum batch size: rule will send a batch if number of events exceeds this value
  • function [Block]. FunctionTarget
    • function_id (Required)(String). Function ID
    • function_tag (String). Function tag
    • service_account_id (String). Service account which has call permission on the function
    • batch_settings [Block]. Batch settings
      • cutoff (Required)(String). Maximum batch size: rule will send a batch if its lifetime exceeds this value
      • max_bytes (Number). Maximum batch size: rule will send a batch if total size of events exceeds this value
      • max_count (Number). Maximum batch size: rule will send a batch if number of events exceeds this value
  • gateway_websocket_broadcast [Block]. GatewayWebsocketBroadcastTarget
    • gateway_id (Required)(String). Gateway ID
    • path (Required)(String). Path
    • service_account_id (Required)(String). Service account which has permission for writing to websockets
    • batch_settings [Block]. Batch settings
      • cutoff (Required)(String). Maximum batch size: rule will send a batch if its lifetime exceeds this value
      • max_bytes (Number). Maximum batch size: rule will send a batch if total size of events exceeds this value
      • max_count (Number). Maximum batch size: rule will send a batch if number of events exceeds this value
  • logging [Block]. LoggingTarget. Includes either log_group_id or folder_id
    • folder_id (String). Folder ID
    • log_group_id (String). Log group ID
    • service_account_id (Required)(String). Service account which has permission for writing logs
  • timeouts [Block].
    • create (String).
    • delete (String).
    • read (String).
    • update (String).
  • workflow [Block]. WorkflowTarget
    • service_account_id (Required)(String). Service account which should be used to start workflow
    • workflow_id (Required)(String). Workflow ID
    • batch_settings [Block]. Batch settings
      • cutoff (Required)(String). Maximum batch size: rule will send a batch if its lifetime exceeds this value
      • max_bytes (Number). Maximum batch size: rule will send a batch if total size of events exceeds this value
      • max_count (Number). Maximum batch size: rule will send a batch if number of events exceeds this value
  • yds [Block]. YdsTarget
    • database (Required)(String). Stream database
    • service_account_id (Required)(String). Service account, which has write permission on the stream
    • stream_name (Required)(String). Full stream name, like /ru-central1/aoegtvhtp8ob********/cc8004q4lbo6********/test
  • ymq [Block]. YmqTarget
    • queue_arn (Required)(String). Queue ARN. Example: yrn:yc:ymq:ru-central1:aoe***:test
    • service_account_id (Required)(String). Service account which has write access to the queue

ImportImport

The resource can be imported by using their resource ID. For getting it you can use Yandex Cloud Web Console or Yandex Cloud CLI.

# terraform import yandex_serverless_eventrouter_rule.<resource Name> <resource Id>
terraform import yandex_serverless_eventrouter_rule.evr_rule ...

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

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