Getting information about a trigger in Serverless Containers
Written by
Updated at October 17, 2024
Management console
CLI
API
- In the management console
, select the folder containing your trigger. - Open Serverless Containers.
- In the left-hand panel, select
Triggers. - Select the trigger you want to get details about.
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
Get detailed information about a trigger:
yc serverless trigger get <trigger_name>
Result:
id: a1sfe084v4h2********
folder_id: b1g88tflrih2********
created_at: "2022-12-04T08:45:31.131391Z"
name: mail-trigger
description: My trigger for mail.
rule:
mail:
email: a1smdtklemh2********-xivn****@serverless.yandexcloud.net
invoke_container:
container_id: bba5jb38o8h2********
service_account_id: aje03adgd2h2********
retry_settings:
retry_attempts: "1"
interval: 10s
dead_letter_queue:
queue-id: yrn:yc:ymq:ru-central1:b1gmit33ngh2********:dlq
service-account-id: aje3lebfemh2********
status: ACTIVE
To get information about a trigger, use the get REST API method for the Trigger resource or the TriggerService/Get gRPC API call.