Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • 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
  • Solution library
    • Overview
    • Release notes
          • serverless_eventrouter_bus
          • serverless_eventrouter_connector
          • serverless_eventrouter_rule

In this article:

  • Example usage
  • Arguments & Attributes Reference
  1. Terraform reference
  2. Resources
  3. Serverless Event Router
  4. Data Sources
  5. serverless_eventrouter_rule

yandex_serverless_eventrouter_rule (DataSource)

Written by
Yandex Cloud
Updated at February 9, 2026
  • Example usage
  • Arguments & Attributes Reference

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
  • container [Block]. ContainerTarget
    • batch_settings [Block]. Batch settings
    • 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
  • 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
  • function [Block]. FunctionTarget
    • 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_id (Required)(String). Function ID
    • function_tag (String). Function tag
    • service_account_id (String). Service account which has call permission on the function
  • gateway_websocket_broadcast [Block]. GatewayWebsocketBroadcastTarget
    • batch_settings [Block]. Batch settings
    • gateway_id (Required)(String). Gateway ID
    • path (Required)(String). Path
    • service_account_id (Required)(String). Service account which has permission for writing to websockets
  • id (String).
  • jq_filter (String). JQ filter for matching events
  • labels (Map Of String). Rule labels
  • 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
  • name (Required)(String). Name of the rule
  • rule_id (String). ID of the bus that the rule belongs to
  • workflow [Block]. WorkflowTarget
    • batch_settings [Block]. Batch settings
    • service_account_id (Required)(String). Service account which should be used to start workflow
    • workflow_id (Required)(String). Workflow ID
  • 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

Was the article helpful?

Previous
serverless_eventrouter_connector
Next
serverless_eventrouter_bus
© 2026 Direct Cursus Technology L.L.C.