Getting information about a trigger in Cloud Functions
Written by
Updated at November 14, 2024
Management console
CLI
API
- In the management console
, select the folder containing your trigger. - Select Cloud Functions.
- 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.
To find out the name or unique ID of a trigger, get a list of triggers in the folder.
Get detailed information about a trigger:
yc serverless trigger get <trigger_name>
Result:
id: a1s9q2li6t**********
folder_id: b1g9hv2loa**********
created_at: "2023-08-01T12:36:14.321Z"
name: my-trigger
description: Trigger for uploaded objects
rule:
object_storage:
event_type:
- OBJECT_STORAGE_EVENT_TYPE_CREATE_OBJECT
bucket_id: **********
batch_settings:
size: "10"
cutoff: 10s
invoke_function:
function_id: d4e5muirrt**********
function_tag: $latest
service_account_id: ajek0fou8e**********
status: ACTIVE
To get detailed information about a trigger, use the get REST API method for the Trigger resource or the TriggerService/Get gRPC API call.