Trigger

Import

Function Compute trigger can be imported using the id, e.g.

$ pulumi import alicloud:fc/trigger:Trigger foo my-fc-service:hello-world:hello-trigger

Properties

Link copied to clipboard
val config: Output<String>?

The config of Function Compute trigger.It is valid when type is not "mns_topic".See Configure triggers and events for more details.

Link copied to clipboard
val configMns: Output<String>?

The config of Function Compute trigger when the type is "mns_topic".It is conflict with config.

Link copied to clipboard
val function: Output<String>

The Function Compute function name.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val lastModified: Output<String>

The date this resource was last modified.

Link copied to clipboard
val name: Output<String>

The Function Compute trigger name. It is the only in one service and is conflict with "name_prefix".

Link copied to clipboard
val namePrefix: Output<String>?

Setting a prefix to get a only trigger name. It is conflict with "name".

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val role: Output<String>?

RAM role arn attached to the Function Compute trigger. Role used by the event source to call the function. The value format is "acs:ram::$account-id:role/$role-name". See Create a trigger for more details.

Link copied to clipboard
val service: Output<String>

The Function Compute service name.

Link copied to clipboard
val sourceArn: Output<String>?

Event source resource address. See Create a trigger for more details.

Link copied to clipboard
val triggerId: Output<String>

The Function Compute trigger ID.

Link copied to clipboard
val type: Output<String>

The Type of the trigger. Valid values: "oss", "log", "timer", "http", "mns_topic", "cdn_events", "eventbridge".

Link copied to clipboard
val urn: Output<String>