Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Yandex

v0.10.0 published on Thursday, Nov 18, 2021 by Pulumi

FunctionTrigger

Allows management of Yandex Cloud Functions Trigger

Example Usage

using Pulumi;
using Yandex = Pulumi.Yandex;

class MyStack : Stack
{
    public MyStack()
    {
        var myTrigger = new Yandex.FunctionTrigger("myTrigger", new Yandex.FunctionTriggerArgs
        {
            Description = "any description",
            Function = new Yandex.Inputs.FunctionTriggerFunctionArgs
            {
                Id = "tf-test",
            },
            Timer = new Yandex.Inputs.FunctionTriggerTimerArgs
            {
                CronExpression = "* * * * ? *",
            },
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := yandex.NewFunctionTrigger(ctx, "myTrigger", &yandex.FunctionTriggerArgs{
			Description: pulumi.String("any description"),
			Function: &FunctionTriggerFunctionArgs{
				Id: pulumi.String("tf-test"),
			},
			Timer: &FunctionTriggerTimerArgs{
				CronExpression: pulumi.String("* * * * ? *"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_yandex as yandex

my_trigger = yandex.FunctionTrigger("myTrigger",
    description="any description",
    function=yandex.FunctionTriggerFunctionArgs(
        id="tf-test",
    ),
    timer=yandex.FunctionTriggerTimerArgs(
        cron_expression="* * * * ? *",
    ))
import * as pulumi from "@pulumi/pulumi";
import * as yandex from "@pulumi/yandex";

const myTrigger = new yandex.FunctionTrigger("my_trigger", {
    description: "any description",
    function: {
        id: "tf-test",
    },
    timer: {
        cronExpression: "* * * * ? *",
    },
});

Create a FunctionTrigger Resource

new FunctionTrigger(name: string, args: FunctionTriggerArgs, opts?: CustomResourceOptions);
@overload
def FunctionTrigger(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    description: Optional[str] = None,
                    dlq: Optional[FunctionTriggerDlqArgs] = None,
                    folder_id: Optional[str] = None,
                    function: Optional[FunctionTriggerFunctionArgs] = None,
                    iot: Optional[FunctionTriggerIotArgs] = None,
                    labels: Optional[Mapping[str, str]] = None,
                    log_group: Optional[FunctionTriggerLogGroupArgs] = None,
                    logging: Optional[FunctionTriggerLoggingArgs] = None,
                    message_queue: Optional[FunctionTriggerMessageQueueArgs] = None,
                    name: Optional[str] = None,
                    object_storage: Optional[FunctionTriggerObjectStorageArgs] = None,
                    timer: Optional[FunctionTriggerTimerArgs] = None)
@overload
def FunctionTrigger(resource_name: str,
                    args: FunctionTriggerArgs,
                    opts: Optional[ResourceOptions] = None)
func NewFunctionTrigger(ctx *Context, name string, args FunctionTriggerArgs, opts ...ResourceOption) (*FunctionTrigger, error)
public FunctionTrigger(string name, FunctionTriggerArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args FunctionTriggerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args FunctionTriggerArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args FunctionTriggerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FunctionTriggerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

FunctionTrigger Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The FunctionTrigger resource accepts the following input properties:

Function FunctionTriggerFunctionArgs

Yandex.Cloud Function settings definition for Yandex Cloud Functions Trigger

  • function.0.id - Yandex.Cloud Function ID for Yandex Cloud Functions Trigger
  • function.0.service_account_id - Service account ID for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.tag - Tag for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.retry_attempts - Retry attempts for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.retry_interval - Retry interval in seconds for Yandex.Cloud Function for Yandex Cloud Functions Trigger
Description string
Description of the Yandex Cloud Functions Trigger
Dlq FunctionTriggerDlqArgs

Dead Letter Queue settings definition for Yandex Cloud Functions Trigger

  • dlq.0.queue_id - ID of Dead Letter Queue for Trigger (Queue ARN)
  • dlq.0.service_account_id - Service Account ID for Dead Letter Queue for Yandex Cloud Functions Trigger
FolderId string
Folder ID for the Yandex Cloud Functions Trigger
Iot FunctionTriggerIotArgs

IoT settings definition for Yandex Cloud Functions Trigger, if present. Only one section iot or message_queue or object_storage or timer can be defined.

  • iot.0.registry_id - IoT Registry ID for Yandex Cloud Functions Trigger
  • iot.0.device_id - IoT Device ID for Yandex Cloud Functions Trigger
  • iot.0.topic - IoT Topic for Yandex Cloud Functions Trigger
Labels Dictionary<string, string>
A set of key/value label pairs to assign to the Yandex Cloud Functions Trigger
LogGroup FunctionTriggerLogGroupArgs
Logging FunctionTriggerLoggingArgs

Logging settings definition for Yandex Cloud Functions Trigger, if present

  • logging.0.group_id - Logging group ID for Yandex Cloud Functions Trigger
  • logging.0.resource_ids - Resource ID filter setting for Yandex Cloud Functions Trigger
  • logging.0.resource_types - Resource type filter setting for Yandex Cloud Functions Trigger
  • logging.0.levels - Logging level filter setting for Yandex Cloud Functions Trigger
  • logging.0.batch_cutoff - Batch Duration in seconds for Yandex Cloud Functions Trigger
  • logging.0.batch_size - Batch Size for Yandex Cloud Functions Trigger
MessageQueue FunctionTriggerMessageQueueArgs

Message Queue settings definition for Yandex Cloud Functions Trigger, if present

  • message_queue.0.queue_id - Message Queue ID for Yandex Cloud Functions Trigger
  • message_queue.0.service_account_id - Message Queue Service Account ID for Yandex Cloud Functions Trigger
  • message_queue.0.batch_cutoff - Batch Duration in seconds for Yandex Cloud Functions Trigger
  • message_queue.0.batch_size - Batch Size for Yandex Cloud Functions Trigger
  • message_queue.0.visibility_timeout - Visibility timeout for Yandex Cloud Functions Trigger
Name string
Yandex Cloud Functions Trigger name used to define trigger
ObjectStorage FunctionTriggerObjectStorageArgs

Object Storage settings definition for Yandex Cloud Functions Trigger, if present

  • object_storage.0.bucket_id - Object Storage Bucket ID for Yandex Cloud Functions Trigger
  • object_storage.0.prefix - Prefix for Object Storage for Yandex Cloud Functions Trigger
  • object_storage.0.suffix - Suffix for Object Storage for Yandex Cloud Functions Trigger
  • object_storage.0.create - Boolean flag for setting create event for Yandex Cloud Functions Trigger
  • object_storage.0.update - Boolean flag for setting update event for Yandex Cloud Functions Trigger
  • object_storage.0.delete - Boolean flag for setting delete event for Yandex Cloud Functions Trigger
Timer FunctionTriggerTimerArgs

Timer settings definition for Yandex Cloud Functions Trigger, if present

  • timer.0.cron_expression - Cron expression for timer for Yandex Cloud Functions Trigger
Function FunctionTriggerFunctionArgs

Yandex.Cloud Function settings definition for Yandex Cloud Functions Trigger

  • function.0.id - Yandex.Cloud Function ID for Yandex Cloud Functions Trigger
  • function.0.service_account_id - Service account ID for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.tag - Tag for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.retry_attempts - Retry attempts for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.retry_interval - Retry interval in seconds for Yandex.Cloud Function for Yandex Cloud Functions Trigger
Description string
Description of the Yandex Cloud Functions Trigger
Dlq FunctionTriggerDlqArgs

Dead Letter Queue settings definition for Yandex Cloud Functions Trigger

  • dlq.0.queue_id - ID of Dead Letter Queue for Trigger (Queue ARN)
  • dlq.0.service_account_id - Service Account ID for Dead Letter Queue for Yandex Cloud Functions Trigger
FolderId string
Folder ID for the Yandex Cloud Functions Trigger
Iot FunctionTriggerIotArgs

IoT settings definition for Yandex Cloud Functions Trigger, if present. Only one section iot or message_queue or object_storage or timer can be defined.

  • iot.0.registry_id - IoT Registry ID for Yandex Cloud Functions Trigger
  • iot.0.device_id - IoT Device ID for Yandex Cloud Functions Trigger
  • iot.0.topic - IoT Topic for Yandex Cloud Functions Trigger
Labels map[string]string
A set of key/value label pairs to assign to the Yandex Cloud Functions Trigger
LogGroup FunctionTriggerLogGroupArgs
Logging FunctionTriggerLoggingArgs

Logging settings definition for Yandex Cloud Functions Trigger, if present

  • logging.0.group_id - Logging group ID for Yandex Cloud Functions Trigger
  • logging.0.resource_ids - Resource ID filter setting for Yandex Cloud Functions Trigger
  • logging.0.resource_types - Resource type filter setting for Yandex Cloud Functions Trigger
  • logging.0.levels - Logging level filter setting for Yandex Cloud Functions Trigger
  • logging.0.batch_cutoff - Batch Duration in seconds for Yandex Cloud Functions Trigger
  • logging.0.batch_size - Batch Size for Yandex Cloud Functions Trigger
MessageQueue FunctionTriggerMessageQueueArgs

Message Queue settings definition for Yandex Cloud Functions Trigger, if present

  • message_queue.0.queue_id - Message Queue ID for Yandex Cloud Functions Trigger
  • message_queue.0.service_account_id - Message Queue Service Account ID for Yandex Cloud Functions Trigger
  • message_queue.0.batch_cutoff - Batch Duration in seconds for Yandex Cloud Functions Trigger
  • message_queue.0.batch_size - Batch Size for Yandex Cloud Functions Trigger
  • message_queue.0.visibility_timeout - Visibility timeout for Yandex Cloud Functions Trigger
Name string
Yandex Cloud Functions Trigger name used to define trigger
ObjectStorage FunctionTriggerObjectStorageArgs

Object Storage settings definition for Yandex Cloud Functions Trigger, if present

  • object_storage.0.bucket_id - Object Storage Bucket ID for Yandex Cloud Functions Trigger
  • object_storage.0.prefix - Prefix for Object Storage for Yandex Cloud Functions Trigger
  • object_storage.0.suffix - Suffix for Object Storage for Yandex Cloud Functions Trigger
  • object_storage.0.create - Boolean flag for setting create event for Yandex Cloud Functions Trigger
  • object_storage.0.update - Boolean flag for setting update event for Yandex Cloud Functions Trigger
  • object_storage.0.delete - Boolean flag for setting delete event for Yandex Cloud Functions Trigger
Timer FunctionTriggerTimerArgs

Timer settings definition for Yandex Cloud Functions Trigger, if present

  • timer.0.cron_expression - Cron expression for timer for Yandex Cloud Functions Trigger
function FunctionTriggerFunctionArgs

Yandex.Cloud Function settings definition for Yandex Cloud Functions Trigger

  • function.0.id - Yandex.Cloud Function ID for Yandex Cloud Functions Trigger
  • function.0.service_account_id - Service account ID for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.tag - Tag for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.retry_attempts - Retry attempts for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.retry_interval - Retry interval in seconds for Yandex.Cloud Function for Yandex Cloud Functions Trigger
description string
Description of the Yandex Cloud Functions Trigger
dlq FunctionTriggerDlqArgs

Dead Letter Queue settings definition for Yandex Cloud Functions Trigger

  • dlq.0.queue_id - ID of Dead Letter Queue for Trigger (Queue ARN)
  • dlq.0.service_account_id - Service Account ID for Dead Letter Queue for Yandex Cloud Functions Trigger
folderId string
Folder ID for the Yandex Cloud Functions Trigger
iot FunctionTriggerIotArgs

IoT settings definition for Yandex Cloud Functions Trigger, if present. Only one section iot or message_queue or object_storage or timer can be defined.

  • iot.0.registry_id - IoT Registry ID for Yandex Cloud Functions Trigger
  • iot.0.device_id - IoT Device ID for Yandex Cloud Functions Trigger
  • iot.0.topic - IoT Topic for Yandex Cloud Functions Trigger
labels {[key: string]: string}
A set of key/value label pairs to assign to the Yandex Cloud Functions Trigger
logGroup FunctionTriggerLogGroupArgs
logging FunctionTriggerLoggingArgs

Logging settings definition for Yandex Cloud Functions Trigger, if present

  • logging.0.group_id - Logging group ID for Yandex Cloud Functions Trigger
  • logging.0.resource_ids - Resource ID filter setting for Yandex Cloud Functions Trigger
  • logging.0.resource_types - Resource type filter setting for Yandex Cloud Functions Trigger
  • logging.0.levels - Logging level filter setting for Yandex Cloud Functions Trigger
  • logging.0.batch_cutoff - Batch Duration in seconds for Yandex Cloud Functions Trigger
  • logging.0.batch_size - Batch Size for Yandex Cloud Functions Trigger
messageQueue FunctionTriggerMessageQueueArgs

Message Queue settings definition for Yandex Cloud Functions Trigger, if present

  • message_queue.0.queue_id - Message Queue ID for Yandex Cloud Functions Trigger
  • message_queue.0.service_account_id - Message Queue Service Account ID for Yandex Cloud Functions Trigger
  • message_queue.0.batch_cutoff - Batch Duration in seconds for Yandex Cloud Functions Trigger
  • message_queue.0.batch_size - Batch Size for Yandex Cloud Functions Trigger
  • message_queue.0.visibility_timeout - Visibility timeout for Yandex Cloud Functions Trigger
name string
Yandex Cloud Functions Trigger name used to define trigger
objectStorage FunctionTriggerObjectStorageArgs

Object Storage settings definition for Yandex Cloud Functions Trigger, if present

  • object_storage.0.bucket_id - Object Storage Bucket ID for Yandex Cloud Functions Trigger
  • object_storage.0.prefix - Prefix for Object Storage for Yandex Cloud Functions Trigger
  • object_storage.0.suffix - Suffix for Object Storage for Yandex Cloud Functions Trigger
  • object_storage.0.create - Boolean flag for setting create event for Yandex Cloud Functions Trigger
  • object_storage.0.update - Boolean flag for setting update event for Yandex Cloud Functions Trigger
  • object_storage.0.delete - Boolean flag for setting delete event for Yandex Cloud Functions Trigger
timer FunctionTriggerTimerArgs

Timer settings definition for Yandex Cloud Functions Trigger, if present

  • timer.0.cron_expression - Cron expression for timer for Yandex Cloud Functions Trigger
function FunctionTriggerFunctionArgs

Yandex.Cloud Function settings definition for Yandex Cloud Functions Trigger

  • function.0.id - Yandex.Cloud Function ID for Yandex Cloud Functions Trigger
  • function.0.service_account_id - Service account ID for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.tag - Tag for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.retry_attempts - Retry attempts for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.retry_interval - Retry interval in seconds for Yandex.Cloud Function for Yandex Cloud Functions Trigger
description str
Description of the Yandex Cloud Functions Trigger
dlq FunctionTriggerDlqArgs

Dead Letter Queue settings definition for Yandex Cloud Functions Trigger

  • dlq.0.queue_id - ID of Dead Letter Queue for Trigger (Queue ARN)
  • dlq.0.service_account_id - Service Account ID for Dead Letter Queue for Yandex Cloud Functions Trigger
folder_id str
Folder ID for the Yandex Cloud Functions Trigger
iot FunctionTriggerIotArgs

IoT settings definition for Yandex Cloud Functions Trigger, if present. Only one section iot or message_queue or object_storage or timer can be defined.

  • iot.0.registry_id - IoT Registry ID for Yandex Cloud Functions Trigger
  • iot.0.device_id - IoT Device ID for Yandex Cloud Functions Trigger
  • iot.0.topic - IoT Topic for Yandex Cloud Functions Trigger
labels Mapping[str, str]
A set of key/value label pairs to assign to the Yandex Cloud Functions Trigger
log_group FunctionTriggerLogGroupArgs
logging FunctionTriggerLoggingArgs

Logging settings definition for Yandex Cloud Functions Trigger, if present

  • logging.0.group_id - Logging group ID for Yandex Cloud Functions Trigger
  • logging.0.resource_ids - Resource ID filter setting for Yandex Cloud Functions Trigger
  • logging.0.resource_types - Resource type filter setting for Yandex Cloud Functions Trigger
  • logging.0.levels - Logging level filter setting for Yandex Cloud Functions Trigger
  • logging.0.batch_cutoff - Batch Duration in seconds for Yandex Cloud Functions Trigger
  • logging.0.batch_size - Batch Size for Yandex Cloud Functions Trigger
message_queue FunctionTriggerMessageQueueArgs

Message Queue settings definition for Yandex Cloud Functions Trigger, if present

  • message_queue.0.queue_id - Message Queue ID for Yandex Cloud Functions Trigger
  • message_queue.0.service_account_id - Message Queue Service Account ID for Yandex Cloud Functions Trigger
  • message_queue.0.batch_cutoff - Batch Duration in seconds for Yandex Cloud Functions Trigger
  • message_queue.0.batch_size - Batch Size for Yandex Cloud Functions Trigger
  • message_queue.0.visibility_timeout - Visibility timeout for Yandex Cloud Functions Trigger
name str
Yandex Cloud Functions Trigger name used to define trigger
object_storage FunctionTriggerObjectStorageArgs

Object Storage settings definition for Yandex Cloud Functions Trigger, if present

  • object_storage.0.bucket_id - Object Storage Bucket ID for Yandex Cloud Functions Trigger
  • object_storage.0.prefix - Prefix for Object Storage for Yandex Cloud Functions Trigger
  • object_storage.0.suffix - Suffix for Object Storage for Yandex Cloud Functions Trigger
  • object_storage.0.create - Boolean flag for setting create event for Yandex Cloud Functions Trigger
  • object_storage.0.update - Boolean flag for setting update event for Yandex Cloud Functions Trigger
  • object_storage.0.delete - Boolean flag for setting delete event for Yandex Cloud Functions Trigger
timer FunctionTriggerTimerArgs

Timer settings definition for Yandex Cloud Functions Trigger, if present

  • timer.0.cron_expression - Cron expression for timer for Yandex Cloud Functions Trigger

Outputs

All input properties are implicitly available as output properties. Additionally, the FunctionTrigger resource produces the following output properties:

CreatedAt string
Creation timestamp of the Yandex Cloud Functions Trigger
Id string
The provider-assigned unique ID for this managed resource.
CreatedAt string
Creation timestamp of the Yandex Cloud Functions Trigger
Id string
The provider-assigned unique ID for this managed resource.
createdAt string
Creation timestamp of the Yandex Cloud Functions Trigger
id string
The provider-assigned unique ID for this managed resource.
created_at str
Creation timestamp of the Yandex Cloud Functions Trigger
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing FunctionTrigger Resource

Get an existing FunctionTrigger resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: FunctionTriggerState, opts?: CustomResourceOptions): FunctionTrigger
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        created_at: Optional[str] = None,
        description: Optional[str] = None,
        dlq: Optional[FunctionTriggerDlqArgs] = None,
        folder_id: Optional[str] = None,
        function: Optional[FunctionTriggerFunctionArgs] = None,
        iot: Optional[FunctionTriggerIotArgs] = None,
        labels: Optional[Mapping[str, str]] = None,
        log_group: Optional[FunctionTriggerLogGroupArgs] = None,
        logging: Optional[FunctionTriggerLoggingArgs] = None,
        message_queue: Optional[FunctionTriggerMessageQueueArgs] = None,
        name: Optional[str] = None,
        object_storage: Optional[FunctionTriggerObjectStorageArgs] = None,
        timer: Optional[FunctionTriggerTimerArgs] = None) -> FunctionTrigger
func GetFunctionTrigger(ctx *Context, name string, id IDInput, state *FunctionTriggerState, opts ...ResourceOption) (*FunctionTrigger, error)
public static FunctionTrigger Get(string name, Input<string> id, FunctionTriggerState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

CreatedAt string
Creation timestamp of the Yandex Cloud Functions Trigger
Description string
Description of the Yandex Cloud Functions Trigger
Dlq FunctionTriggerDlqArgs

Dead Letter Queue settings definition for Yandex Cloud Functions Trigger

  • dlq.0.queue_id - ID of Dead Letter Queue for Trigger (Queue ARN)
  • dlq.0.service_account_id - Service Account ID for Dead Letter Queue for Yandex Cloud Functions Trigger
FolderId string
Folder ID for the Yandex Cloud Functions Trigger
Function FunctionTriggerFunctionArgs

Yandex.Cloud Function settings definition for Yandex Cloud Functions Trigger

  • function.0.id - Yandex.Cloud Function ID for Yandex Cloud Functions Trigger
  • function.0.service_account_id - Service account ID for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.tag - Tag for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.retry_attempts - Retry attempts for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.retry_interval - Retry interval in seconds for Yandex.Cloud Function for Yandex Cloud Functions Trigger
Iot FunctionTriggerIotArgs

IoT settings definition for Yandex Cloud Functions Trigger, if present. Only one section iot or message_queue or object_storage or timer can be defined.

  • iot.0.registry_id - IoT Registry ID for Yandex Cloud Functions Trigger
  • iot.0.device_id - IoT Device ID for Yandex Cloud Functions Trigger
  • iot.0.topic - IoT Topic for Yandex Cloud Functions Trigger
Labels Dictionary<string, string>
A set of key/value label pairs to assign to the Yandex Cloud Functions Trigger
LogGroup FunctionTriggerLogGroupArgs
Logging FunctionTriggerLoggingArgs

Logging settings definition for Yandex Cloud Functions Trigger, if present

  • logging.0.group_id - Logging group ID for Yandex Cloud Functions Trigger
  • logging.0.resource_ids - Resource ID filter setting for Yandex Cloud Functions Trigger
  • logging.0.resource_types - Resource type filter setting for Yandex Cloud Functions Trigger
  • logging.0.levels - Logging level filter setting for Yandex Cloud Functions Trigger
  • logging.0.batch_cutoff - Batch Duration in seconds for Yandex Cloud Functions Trigger
  • logging.0.batch_size - Batch Size for Yandex Cloud Functions Trigger
MessageQueue FunctionTriggerMessageQueueArgs

Message Queue settings definition for Yandex Cloud Functions Trigger, if present

  • message_queue.0.queue_id - Message Queue ID for Yandex Cloud Functions Trigger
  • message_queue.0.service_account_id - Message Queue Service Account ID for Yandex Cloud Functions Trigger
  • message_queue.0.batch_cutoff - Batch Duration in seconds for Yandex Cloud Functions Trigger
  • message_queue.0.batch_size - Batch Size for Yandex Cloud Functions Trigger
  • message_queue.0.visibility_timeout - Visibility timeout for Yandex Cloud Functions Trigger
Name string
Yandex Cloud Functions Trigger name used to define trigger
ObjectStorage FunctionTriggerObjectStorageArgs

Object Storage settings definition for Yandex Cloud Functions Trigger, if present

  • object_storage.0.bucket_id - Object Storage Bucket ID for Yandex Cloud Functions Trigger
  • object_storage.0.prefix - Prefix for Object Storage for Yandex Cloud Functions Trigger
  • object_storage.0.suffix - Suffix for Object Storage for Yandex Cloud Functions Trigger
  • object_storage.0.create - Boolean flag for setting create event for Yandex Cloud Functions Trigger
  • object_storage.0.update - Boolean flag for setting update event for Yandex Cloud Functions Trigger
  • object_storage.0.delete - Boolean flag for setting delete event for Yandex Cloud Functions Trigger
Timer FunctionTriggerTimerArgs

Timer settings definition for Yandex Cloud Functions Trigger, if present

  • timer.0.cron_expression - Cron expression for timer for Yandex Cloud Functions Trigger
CreatedAt string
Creation timestamp of the Yandex Cloud Functions Trigger
Description string
Description of the Yandex Cloud Functions Trigger
Dlq FunctionTriggerDlqArgs

Dead Letter Queue settings definition for Yandex Cloud Functions Trigger

  • dlq.0.queue_id - ID of Dead Letter Queue for Trigger (Queue ARN)
  • dlq.0.service_account_id - Service Account ID for Dead Letter Queue for Yandex Cloud Functions Trigger
FolderId string
Folder ID for the Yandex Cloud Functions Trigger
Function FunctionTriggerFunctionArgs

Yandex.Cloud Function settings definition for Yandex Cloud Functions Trigger

  • function.0.id - Yandex.Cloud Function ID for Yandex Cloud Functions Trigger
  • function.0.service_account_id - Service account ID for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.tag - Tag for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.retry_attempts - Retry attempts for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.retry_interval - Retry interval in seconds for Yandex.Cloud Function for Yandex Cloud Functions Trigger
Iot FunctionTriggerIotArgs

IoT settings definition for Yandex Cloud Functions Trigger, if present. Only one section iot or message_queue or object_storage or timer can be defined.

  • iot.0.registry_id - IoT Registry ID for Yandex Cloud Functions Trigger
  • iot.0.device_id - IoT Device ID for Yandex Cloud Functions Trigger
  • iot.0.topic - IoT Topic for Yandex Cloud Functions Trigger
Labels map[string]string
A set of key/value label pairs to assign to the Yandex Cloud Functions Trigger
LogGroup FunctionTriggerLogGroupArgs
Logging FunctionTriggerLoggingArgs

Logging settings definition for Yandex Cloud Functions Trigger, if present

  • logging.0.group_id - Logging group ID for Yandex Cloud Functions Trigger
  • logging.0.resource_ids - Resource ID filter setting for Yandex Cloud Functions Trigger
  • logging.0.resource_types - Resource type filter setting for Yandex Cloud Functions Trigger
  • logging.0.levels - Logging level filter setting for Yandex Cloud Functions Trigger
  • logging.0.batch_cutoff - Batch Duration in seconds for Yandex Cloud Functions Trigger
  • logging.0.batch_size - Batch Size for Yandex Cloud Functions Trigger
MessageQueue FunctionTriggerMessageQueueArgs

Message Queue settings definition for Yandex Cloud Functions Trigger, if present

  • message_queue.0.queue_id - Message Queue ID for Yandex Cloud Functions Trigger
  • message_queue.0.service_account_id - Message Queue Service Account ID for Yandex Cloud Functions Trigger
  • message_queue.0.batch_cutoff - Batch Duration in seconds for Yandex Cloud Functions Trigger
  • message_queue.0.batch_size - Batch Size for Yandex Cloud Functions Trigger
  • message_queue.0.visibility_timeout - Visibility timeout for Yandex Cloud Functions Trigger
Name string
Yandex Cloud Functions Trigger name used to define trigger
ObjectStorage FunctionTriggerObjectStorageArgs

Object Storage settings definition for Yandex Cloud Functions Trigger, if present

  • object_storage.0.bucket_id - Object Storage Bucket ID for Yandex Cloud Functions Trigger
  • object_storage.0.prefix - Prefix for Object Storage for Yandex Cloud Functions Trigger
  • object_storage.0.suffix - Suffix for Object Storage for Yandex Cloud Functions Trigger
  • object_storage.0.create - Boolean flag for setting create event for Yandex Cloud Functions Trigger
  • object_storage.0.update - Boolean flag for setting update event for Yandex Cloud Functions Trigger
  • object_storage.0.delete - Boolean flag for setting delete event for Yandex Cloud Functions Trigger
Timer FunctionTriggerTimerArgs

Timer settings definition for Yandex Cloud Functions Trigger, if present

  • timer.0.cron_expression - Cron expression for timer for Yandex Cloud Functions Trigger
createdAt string
Creation timestamp of the Yandex Cloud Functions Trigger
description string
Description of the Yandex Cloud Functions Trigger
dlq FunctionTriggerDlqArgs

Dead Letter Queue settings definition for Yandex Cloud Functions Trigger

  • dlq.0.queue_id - ID of Dead Letter Queue for Trigger (Queue ARN)
  • dlq.0.service_account_id - Service Account ID for Dead Letter Queue for Yandex Cloud Functions Trigger
folderId string
Folder ID for the Yandex Cloud Functions Trigger
function FunctionTriggerFunctionArgs

Yandex.Cloud Function settings definition for Yandex Cloud Functions Trigger

  • function.0.id - Yandex.Cloud Function ID for Yandex Cloud Functions Trigger
  • function.0.service_account_id - Service account ID for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.tag - Tag for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.retry_attempts - Retry attempts for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.retry_interval - Retry interval in seconds for Yandex.Cloud Function for Yandex Cloud Functions Trigger
iot FunctionTriggerIotArgs

IoT settings definition for Yandex Cloud Functions Trigger, if present. Only one section iot or message_queue or object_storage or timer can be defined.

  • iot.0.registry_id - IoT Registry ID for Yandex Cloud Functions Trigger
  • iot.0.device_id - IoT Device ID for Yandex Cloud Functions Trigger
  • iot.0.topic - IoT Topic for Yandex Cloud Functions Trigger
labels {[key: string]: string}
A set of key/value label pairs to assign to the Yandex Cloud Functions Trigger
logGroup FunctionTriggerLogGroupArgs
logging FunctionTriggerLoggingArgs

Logging settings definition for Yandex Cloud Functions Trigger, if present

  • logging.0.group_id - Logging group ID for Yandex Cloud Functions Trigger
  • logging.0.resource_ids - Resource ID filter setting for Yandex Cloud Functions Trigger
  • logging.0.resource_types - Resource type filter setting for Yandex Cloud Functions Trigger
  • logging.0.levels - Logging level filter setting for Yandex Cloud Functions Trigger
  • logging.0.batch_cutoff - Batch Duration in seconds for Yandex Cloud Functions Trigger
  • logging.0.batch_size - Batch Size for Yandex Cloud Functions Trigger
messageQueue FunctionTriggerMessageQueueArgs

Message Queue settings definition for Yandex Cloud Functions Trigger, if present

  • message_queue.0.queue_id - Message Queue ID for Yandex Cloud Functions Trigger
  • message_queue.0.service_account_id - Message Queue Service Account ID for Yandex Cloud Functions Trigger
  • message_queue.0.batch_cutoff - Batch Duration in seconds for Yandex Cloud Functions Trigger
  • message_queue.0.batch_size - Batch Size for Yandex Cloud Functions Trigger
  • message_queue.0.visibility_timeout - Visibility timeout for Yandex Cloud Functions Trigger
name string
Yandex Cloud Functions Trigger name used to define trigger
objectStorage FunctionTriggerObjectStorageArgs

Object Storage settings definition for Yandex Cloud Functions Trigger, if present

  • object_storage.0.bucket_id - Object Storage Bucket ID for Yandex Cloud Functions Trigger
  • object_storage.0.prefix - Prefix for Object Storage for Yandex Cloud Functions Trigger
  • object_storage.0.suffix - Suffix for Object Storage for Yandex Cloud Functions Trigger
  • object_storage.0.create - Boolean flag for setting create event for Yandex Cloud Functions Trigger
  • object_storage.0.update - Boolean flag for setting update event for Yandex Cloud Functions Trigger
  • object_storage.0.delete - Boolean flag for setting delete event for Yandex Cloud Functions Trigger
timer FunctionTriggerTimerArgs

Timer settings definition for Yandex Cloud Functions Trigger, if present

  • timer.0.cron_expression - Cron expression for timer for Yandex Cloud Functions Trigger
created_at str
Creation timestamp of the Yandex Cloud Functions Trigger
description str
Description of the Yandex Cloud Functions Trigger
dlq FunctionTriggerDlqArgs

Dead Letter Queue settings definition for Yandex Cloud Functions Trigger

  • dlq.0.queue_id - ID of Dead Letter Queue for Trigger (Queue ARN)
  • dlq.0.service_account_id - Service Account ID for Dead Letter Queue for Yandex Cloud Functions Trigger
folder_id str
Folder ID for the Yandex Cloud Functions Trigger
function FunctionTriggerFunctionArgs

Yandex.Cloud Function settings definition for Yandex Cloud Functions Trigger

  • function.0.id - Yandex.Cloud Function ID for Yandex Cloud Functions Trigger
  • function.0.service_account_id - Service account ID for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.tag - Tag for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.retry_attempts - Retry attempts for Yandex.Cloud Function for Yandex Cloud Functions Trigger
  • function.0.retry_interval - Retry interval in seconds for Yandex.Cloud Function for Yandex Cloud Functions Trigger
iot FunctionTriggerIotArgs

IoT settings definition for Yandex Cloud Functions Trigger, if present. Only one section iot or message_queue or object_storage or timer can be defined.

  • iot.0.registry_id - IoT Registry ID for Yandex Cloud Functions Trigger
  • iot.0.device_id - IoT Device ID for Yandex Cloud Functions Trigger
  • iot.0.topic - IoT Topic for Yandex Cloud Functions Trigger
labels Mapping[str, str]
A set of key/value label pairs to assign to the Yandex Cloud Functions Trigger
log_group FunctionTriggerLogGroupArgs
logging FunctionTriggerLoggingArgs

Logging settings definition for Yandex Cloud Functions Trigger, if present

  • logging.0.group_id - Logging group ID for Yandex Cloud Functions Trigger
  • logging.0.resource_ids - Resource ID filter setting for Yandex Cloud Functions Trigger
  • logging.0.resource_types - Resource type filter setting for Yandex Cloud Functions Trigger
  • logging.0.levels - Logging level filter setting for Yandex Cloud Functions Trigger
  • logging.0.batch_cutoff - Batch Duration in seconds for Yandex Cloud Functions Trigger
  • logging.0.batch_size - Batch Size for Yandex Cloud Functions Trigger
message_queue FunctionTriggerMessageQueueArgs

Message Queue settings definition for Yandex Cloud Functions Trigger, if present

  • message_queue.0.queue_id - Message Queue ID for Yandex Cloud Functions Trigger
  • message_queue.0.service_account_id - Message Queue Service Account ID for Yandex Cloud Functions Trigger
  • message_queue.0.batch_cutoff - Batch Duration in seconds for Yandex Cloud Functions Trigger
  • message_queue.0.batch_size - Batch Size for Yandex Cloud Functions Trigger
  • message_queue.0.visibility_timeout - Visibility timeout for Yandex Cloud Functions Trigger
name str
Yandex Cloud Functions Trigger name used to define trigger
object_storage FunctionTriggerObjectStorageArgs

Object Storage settings definition for Yandex Cloud Functions Trigger, if present

  • object_storage.0.bucket_id - Object Storage Bucket ID for Yandex Cloud Functions Trigger
  • object_storage.0.prefix - Prefix for Object Storage for Yandex Cloud Functions Trigger
  • object_storage.0.suffix - Suffix for Object Storage for Yandex Cloud Functions Trigger
  • object_storage.0.create - Boolean flag for setting create event for Yandex Cloud Functions Trigger
  • object_storage.0.update - Boolean flag for setting update event for Yandex Cloud Functions Trigger
  • object_storage.0.delete - Boolean flag for setting delete event for Yandex Cloud Functions Trigger
timer FunctionTriggerTimerArgs

Timer settings definition for Yandex Cloud Functions Trigger, if present

  • timer.0.cron_expression - Cron expression for timer for Yandex Cloud Functions Trigger

Supporting Types

FunctionTriggerDlq

FunctionTriggerFunction

Id string
RetryAttempts string
RetryInterval string
ServiceAccountId string
Tag string
Id string
RetryAttempts string
RetryInterval string
ServiceAccountId string
Tag string
id string
retryAttempts string
retryInterval string
serviceAccountId string
tag string

FunctionTriggerIot

RegistryId string
DeviceId string
Topic string
RegistryId string
DeviceId string
Topic string
registryId string
deviceId string
topic string

FunctionTriggerLogGroup

BatchCutoff string
LogGroupIds List<string>
BatchSize string
BatchCutoff string
LogGroupIds []string
BatchSize string
batchCutoff string
logGroupIds string[]
batchSize string

FunctionTriggerLogging

BatchCutoff string
GroupId string
Levels List<string>
ResourceIds List<string>
ResourceTypes List<string>
BatchSize string
BatchCutoff string
GroupId string
Levels []string
ResourceIds []string
ResourceTypes []string
BatchSize string
batchCutoff string
groupId string
levels string[]
resourceIds string[]
resourceTypes string[]
batchSize string
batch_cutoff str
group_id str
levels Sequence[str]
resource_ids Sequence[str]
resource_types Sequence[str]
batch_size str

FunctionTriggerMessageQueue

FunctionTriggerObjectStorage

BucketId string
Create bool
Delete bool
Prefix string
Suffix string
Update bool
BucketId string
Create bool
Delete bool
Prefix string
Suffix string
Update bool
bucketId string
create boolean
delete boolean
prefix string
suffix string
update boolean
bucket_id str
create bool
delete bool
prefix str
suffix str
update bool

FunctionTriggerTimer

Package Details

Repository
https://github.com/pulumi/pulumi-yandex
License
Apache-2.0
Notes
This Pulumi package is based on the yandex Terraform Provider.