1. Packages
  2. Yandex
  3. API Docs
  4. FunctionTrigger
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

yandex.FunctionTrigger

Explore with Pulumi AI

yandex logo
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

    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
    	})
    }
    

    Coming soon!

    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: "* * * * ? *",
        },
    });
    

    Coming soon!

    Create FunctionTrigger Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FunctionTrigger(name: string, args: FunctionTriggerArgs, opts?: CustomResourceOptions);
    @overload
    def FunctionTrigger(resource_name: str,
                        args: FunctionTriggerArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def FunctionTrigger(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        function: Optional[FunctionTriggerFunctionArgs] = None,
                        description: Optional[str] = None,
                        dlq: Optional[FunctionTriggerDlqArgs] = None,
                        folder_id: Optional[str] = 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)
    func NewFunctionTrigger(ctx *Context, name string, args FunctionTriggerArgs, opts ...ResourceOption) (*FunctionTrigger, error)
    public FunctionTrigger(string name, FunctionTriggerArgs args, CustomResourceOptions? opts = null)
    public FunctionTrigger(String name, FunctionTriggerArgs args)
    public FunctionTrigger(String name, FunctionTriggerArgs args, CustomResourceOptions options)
    
    type: yandex:FunctionTrigger
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    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.
    name String
    The unique name of the resource.
    args FunctionTriggerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var functionTriggerResource = new Yandex.FunctionTrigger("functionTriggerResource", new()
    {
        Function = new Yandex.Inputs.FunctionTriggerFunctionArgs
        {
            Id = "string",
            RetryAttempts = "string",
            RetryInterval = "string",
            ServiceAccountId = "string",
            Tag = "string",
        },
        Description = "string",
        Dlq = new Yandex.Inputs.FunctionTriggerDlqArgs
        {
            QueueId = "string",
            ServiceAccountId = "string",
        },
        FolderId = "string",
        Iot = new Yandex.Inputs.FunctionTriggerIotArgs
        {
            RegistryId = "string",
            DeviceId = "string",
            Topic = "string",
        },
        Labels = 
        {
            { "string", "string" },
        },
        LogGroup = new Yandex.Inputs.FunctionTriggerLogGroupArgs
        {
            BatchCutoff = "string",
            LogGroupIds = new[]
            {
                "string",
            },
            BatchSize = "string",
        },
        Logging = new Yandex.Inputs.FunctionTriggerLoggingArgs
        {
            BatchCutoff = "string",
            GroupId = "string",
            Levels = new[]
            {
                "string",
            },
            ResourceIds = new[]
            {
                "string",
            },
            ResourceTypes = new[]
            {
                "string",
            },
            BatchSize = "string",
        },
        MessageQueue = new Yandex.Inputs.FunctionTriggerMessageQueueArgs
        {
            BatchCutoff = "string",
            QueueId = "string",
            ServiceAccountId = "string",
            BatchSize = "string",
            VisibilityTimeout = "string",
        },
        Name = "string",
        ObjectStorage = new Yandex.Inputs.FunctionTriggerObjectStorageArgs
        {
            BucketId = "string",
            Create = false,
            Delete = false,
            Prefix = "string",
            Suffix = "string",
            Update = false,
        },
        Timer = new Yandex.Inputs.FunctionTriggerTimerArgs
        {
            CronExpression = "string",
        },
    });
    
    example, err := yandex.NewFunctionTrigger(ctx, "functionTriggerResource", &yandex.FunctionTriggerArgs{
    	Function: &yandex.FunctionTriggerFunctionArgs{
    		Id:               pulumi.String("string"),
    		RetryAttempts:    pulumi.String("string"),
    		RetryInterval:    pulumi.String("string"),
    		ServiceAccountId: pulumi.String("string"),
    		Tag:              pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	Dlq: &yandex.FunctionTriggerDlqArgs{
    		QueueId:          pulumi.String("string"),
    		ServiceAccountId: pulumi.String("string"),
    	},
    	FolderId: pulumi.String("string"),
    	Iot: &yandex.FunctionTriggerIotArgs{
    		RegistryId: pulumi.String("string"),
    		DeviceId:   pulumi.String("string"),
    		Topic:      pulumi.String("string"),
    	},
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	LogGroup: &yandex.FunctionTriggerLogGroupArgs{
    		BatchCutoff: pulumi.String("string"),
    		LogGroupIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		BatchSize: pulumi.String("string"),
    	},
    	Logging: &yandex.FunctionTriggerLoggingArgs{
    		BatchCutoff: pulumi.String("string"),
    		GroupId:     pulumi.String("string"),
    		Levels: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		ResourceIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		ResourceTypes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		BatchSize: pulumi.String("string"),
    	},
    	MessageQueue: &yandex.FunctionTriggerMessageQueueArgs{
    		BatchCutoff:       pulumi.String("string"),
    		QueueId:           pulumi.String("string"),
    		ServiceAccountId:  pulumi.String("string"),
    		BatchSize:         pulumi.String("string"),
    		VisibilityTimeout: pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	ObjectStorage: &yandex.FunctionTriggerObjectStorageArgs{
    		BucketId: pulumi.String("string"),
    		Create:   pulumi.Bool(false),
    		Delete:   pulumi.Bool(false),
    		Prefix:   pulumi.String("string"),
    		Suffix:   pulumi.String("string"),
    		Update:   pulumi.Bool(false),
    	},
    	Timer: &yandex.FunctionTriggerTimerArgs{
    		CronExpression: pulumi.String("string"),
    	},
    })
    
    var functionTriggerResource = new FunctionTrigger("functionTriggerResource", FunctionTriggerArgs.builder()        
        .function(FunctionTriggerFunctionArgs.builder()
            .id("string")
            .retryAttempts("string")
            .retryInterval("string")
            .serviceAccountId("string")
            .tag("string")
            .build())
        .description("string")
        .dlq(FunctionTriggerDlqArgs.builder()
            .queueId("string")
            .serviceAccountId("string")
            .build())
        .folderId("string")
        .iot(FunctionTriggerIotArgs.builder()
            .registryId("string")
            .deviceId("string")
            .topic("string")
            .build())
        .labels(Map.of("string", "string"))
        .logGroup(FunctionTriggerLogGroupArgs.builder()
            .batchCutoff("string")
            .logGroupIds("string")
            .batchSize("string")
            .build())
        .logging(FunctionTriggerLoggingArgs.builder()
            .batchCutoff("string")
            .groupId("string")
            .levels("string")
            .resourceIds("string")
            .resourceTypes("string")
            .batchSize("string")
            .build())
        .messageQueue(FunctionTriggerMessageQueueArgs.builder()
            .batchCutoff("string")
            .queueId("string")
            .serviceAccountId("string")
            .batchSize("string")
            .visibilityTimeout("string")
            .build())
        .name("string")
        .objectStorage(FunctionTriggerObjectStorageArgs.builder()
            .bucketId("string")
            .create(false)
            .delete(false)
            .prefix("string")
            .suffix("string")
            .update(false)
            .build())
        .timer(FunctionTriggerTimerArgs.builder()
            .cronExpression("string")
            .build())
        .build());
    
    function_trigger_resource = yandex.FunctionTrigger("functionTriggerResource",
        function=yandex.FunctionTriggerFunctionArgs(
            id="string",
            retry_attempts="string",
            retry_interval="string",
            service_account_id="string",
            tag="string",
        ),
        description="string",
        dlq=yandex.FunctionTriggerDlqArgs(
            queue_id="string",
            service_account_id="string",
        ),
        folder_id="string",
        iot=yandex.FunctionTriggerIotArgs(
            registry_id="string",
            device_id="string",
            topic="string",
        ),
        labels={
            "string": "string",
        },
        log_group=yandex.FunctionTriggerLogGroupArgs(
            batch_cutoff="string",
            log_group_ids=["string"],
            batch_size="string",
        ),
        logging=yandex.FunctionTriggerLoggingArgs(
            batch_cutoff="string",
            group_id="string",
            levels=["string"],
            resource_ids=["string"],
            resource_types=["string"],
            batch_size="string",
        ),
        message_queue=yandex.FunctionTriggerMessageQueueArgs(
            batch_cutoff="string",
            queue_id="string",
            service_account_id="string",
            batch_size="string",
            visibility_timeout="string",
        ),
        name="string",
        object_storage=yandex.FunctionTriggerObjectStorageArgs(
            bucket_id="string",
            create=False,
            delete=False,
            prefix="string",
            suffix="string",
            update=False,
        ),
        timer=yandex.FunctionTriggerTimerArgs(
            cron_expression="string",
        ))
    
    const functionTriggerResource = new yandex.FunctionTrigger("functionTriggerResource", {
        "function": {
            id: "string",
            retryAttempts: "string",
            retryInterval: "string",
            serviceAccountId: "string",
            tag: "string",
        },
        description: "string",
        dlq: {
            queueId: "string",
            serviceAccountId: "string",
        },
        folderId: "string",
        iot: {
            registryId: "string",
            deviceId: "string",
            topic: "string",
        },
        labels: {
            string: "string",
        },
        logGroup: {
            batchCutoff: "string",
            logGroupIds: ["string"],
            batchSize: "string",
        },
        logging: {
            batchCutoff: "string",
            groupId: "string",
            levels: ["string"],
            resourceIds: ["string"],
            resourceTypes: ["string"],
            batchSize: "string",
        },
        messageQueue: {
            batchCutoff: "string",
            queueId: "string",
            serviceAccountId: "string",
            batchSize: "string",
            visibilityTimeout: "string",
        },
        name: "string",
        objectStorage: {
            bucketId: "string",
            create: false,
            "delete": false,
            prefix: "string",
            suffix: "string",
            update: false,
        },
        timer: {
            cronExpression: "string",
        },
    });
    
    type: yandex:FunctionTrigger
    properties:
        description: string
        dlq:
            queueId: string
            serviceAccountId: string
        folderId: string
        function:
            id: string
            retryAttempts: string
            retryInterval: string
            serviceAccountId: string
            tag: string
        iot:
            deviceId: string
            registryId: string
            topic: string
        labels:
            string: string
        logGroup:
            batchCutoff: string
            batchSize: string
            logGroupIds:
                - string
        logging:
            batchCutoff: string
            batchSize: string
            groupId: string
            levels:
                - string
            resourceIds:
                - string
            resourceTypes:
                - string
        messageQueue:
            batchCutoff: string
            batchSize: string
            queueId: string
            serviceAccountId: string
            visibilityTimeout: string
        name: string
        objectStorage:
            bucketId: string
            create: false
            delete: false
            prefix: string
            suffix: string
            update: false
        timer:
            cronExpression: string
    

    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 FunctionTriggerFunction
    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 FunctionTriggerDlq
    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 FunctionTriggerIot
    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 FunctionTriggerLogGroup
    Logging FunctionTriggerLogging
    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 FunctionTriggerMessageQueue
    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 FunctionTriggerObjectStorage
    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 FunctionTriggerTimer
    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 FunctionTriggerFunction
    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 FunctionTriggerDlq
    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 FunctionTriggerIot
    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 FunctionTriggerLogGroup
    logging FunctionTriggerLogging
    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 FunctionTriggerMessageQueue
    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 FunctionTriggerObjectStorage
    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 FunctionTriggerTimer
    Timer settings definition for Yandex Cloud Functions Trigger, if present

    • timer.0.cron_expression - Cron expression for timer for Yandex Cloud Functions Trigger
    function FunctionTriggerFunction
    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 FunctionTriggerDlq
    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 FunctionTriggerIot
    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 FunctionTriggerLogGroup
    logging FunctionTriggerLogging
    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 FunctionTriggerMessageQueue
    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 FunctionTriggerObjectStorage
    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 FunctionTriggerTimer
    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
    function Property Map
    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 Property Map
    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 Property Map
    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>
    A set of key/value label pairs to assign to the Yandex Cloud Functions Trigger
    logGroup Property Map
    logging Property Map
    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 Property Map
    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 Property Map
    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 Property Map
    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.
    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.
    createdAt String
    Creation timestamp of the Yandex Cloud Functions Trigger
    id String
    The provider-assigned unique ID for this managed resource.

    Look up 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)
    public static FunctionTrigger get(String name, Output<String> id, FunctionTriggerState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    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 FunctionTriggerDlq
    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 FunctionTriggerFunction
    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 FunctionTriggerIot
    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 FunctionTriggerLogGroup
    Logging FunctionTriggerLogging
    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 FunctionTriggerMessageQueue
    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 FunctionTriggerObjectStorage
    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 FunctionTriggerTimer
    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 FunctionTriggerDlq
    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 FunctionTriggerFunction
    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 FunctionTriggerIot
    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 FunctionTriggerLogGroup
    logging FunctionTriggerLogging
    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 FunctionTriggerMessageQueue
    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 FunctionTriggerObjectStorage
    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 FunctionTriggerTimer
    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 FunctionTriggerDlq
    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 FunctionTriggerFunction
    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 FunctionTriggerIot
    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 FunctionTriggerLogGroup
    logging FunctionTriggerLogging
    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 FunctionTriggerMessageQueue
    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 FunctionTriggerObjectStorage
    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 FunctionTriggerTimer
    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
    createdAt String
    Creation timestamp of the Yandex Cloud Functions Trigger
    description String
    Description of the Yandex Cloud Functions Trigger
    dlq Property Map
    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 Property Map
    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 Property Map
    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>
    A set of key/value label pairs to assign to the Yandex Cloud Functions Trigger
    logGroup Property Map
    logging Property Map
    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 Property Map
    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 Property Map
    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 Property Map
    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, FunctionTriggerDlqArgs

    FunctionTriggerFunction, FunctionTriggerFunctionArgs

    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
    id string
    retryAttempts string
    retryInterval string
    serviceAccountId string
    tag string
    id String
    retryAttempts String
    retryInterval String
    serviceAccountId String
    tag String

    FunctionTriggerIot, FunctionTriggerIotArgs

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

    FunctionTriggerLogGroup, FunctionTriggerLogGroupArgs

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

    FunctionTriggerLogging, FunctionTriggerLoggingArgs

    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 List<String>
    resourceIds List<String>
    resourceTypes List<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
    batchCutoff String
    groupId String
    levels List<String>
    resourceIds List<String>
    resourceTypes List<String>
    batchSize String

    FunctionTriggerMessageQueue, FunctionTriggerMessageQueueArgs

    FunctionTriggerObjectStorage, FunctionTriggerObjectStorageArgs

    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
    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
    bucketId String
    create Boolean
    delete Boolean
    prefix String
    suffix String
    update Boolean

    FunctionTriggerTimer, FunctionTriggerTimerArgs

    Package Details

    Repository
    Yandex pulumi/pulumi-yandex
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the yandex Terraform Provider.
    yandex logo
    Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi