yandex_serverless_eventrouter_rule (Resource)
Статья создана
Обновлена 9 февраля 2026 г.
Example usage
//
// TBD
//
Arguments & Attributes Reference
bus_id(Required)(String). ID of the bus that the rule belongs tocloud_id(Read-Only) (String). ID of the cloud that the rule resides increated_at(Read-Only) (String). Creation timestampdeletion_protection(Read-Only) (Bool). Deletion protectiondescription(String). Description of the rulefolder_id(Read-Only) (String). ID of the folder that the rule resides inid(String).jq_filter(String). JQ filter for matching eventslabels(Map Of String). Rule labelsname(Required)(String). Name of the rulecontainer[Block]. ContainerTargetcontainer_id(Required)(String). Container IDcontainer_revision_id(String). Container revision IDpath(String). Endpoint HTTP path to invokeservice_account_id(String). Service account which should be used to call a containerbatch_settings[Block]. Batch settingscutoff(Required)(String). Maximum batch size: rule will send a batch if its lifetime exceeds this valuemax_bytes(Number). Maximum batch size: rule will send a batch if total size of events exceeds this valuemax_count(Number). Maximum batch size: rule will send a batch if number of events exceeds this value
function[Block]. FunctionTargetfunction_id(Required)(String). Function IDfunction_tag(String). Function tagservice_account_id(String). Service account which has call permission on the functionbatch_settings[Block]. Batch settingscutoff(Required)(String). Maximum batch size: rule will send a batch if its lifetime exceeds this valuemax_bytes(Number). Maximum batch size: rule will send a batch if total size of events exceeds this valuemax_count(Number). Maximum batch size: rule will send a batch if number of events exceeds this value
gateway_websocket_broadcast[Block]. GatewayWebsocketBroadcastTargetgateway_id(Required)(String). Gateway IDpath(Required)(String). Pathservice_account_id(Required)(String). Service account which has permission for writing to websocketsbatch_settings[Block]. Batch settingscutoff(Required)(String). Maximum batch size: rule will send a batch if its lifetime exceeds this valuemax_bytes(Number). Maximum batch size: rule will send a batch if total size of events exceeds this valuemax_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_idfolder_id(String). Folder IDlog_group_id(String). Log group IDservice_account_id(Required)(String). Service account which has permission for writing logs
workflow[Block]. WorkflowTargetservice_account_id(Required)(String). Service account which should be used to start workflowworkflow_id(Required)(String). Workflow IDbatch_settings[Block]. Batch settingscutoff(Required)(String). Maximum batch size: rule will send a batch if its lifetime exceeds this valuemax_bytes(Number). Maximum batch size: rule will send a batch if total size of events exceeds this valuemax_count(Number). Maximum batch size: rule will send a batch if number of events exceeds this value
yds[Block]. YdsTargetdatabase(Required)(String). Stream databaseservice_account_id(Required)(String). Service account, which has write permission on the streamstream_name(Required)(String). Full stream name, like /ru-central1/aoegtvhtp8ob********/cc8004q4lbo6********/test
ymq[Block]. YmqTargetqueue_arn(Required)(String). Queue ARN. Example: yrn:yc:ymq:ru-central1:aoe***:testservice_account_id(Required)(String). Service account which has write access to the queue
Import
The resource can be imported by using their resource ID. For getting it you can use Yandex Cloud Web Console
# terraform import yandex_serverless_eventrouter_rule.<resource Name> <resource Id>
terraform import yandex_serverless_eventrouter_rule.evr_rule ...