Skip to content

TriggersProps

Properties for defining a Triggers.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-fc-triggers

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkfc/datasource"
&datasource.TriggersProps {
    FunctionName: interface{},
    ServiceName: interface{},
    Prefix: interface{},
    RefreshOptions: interface{},
}

Properties

Name Type Description
FunctionName interface{} Property functionName: Function name.
ServiceName interface{} Property serviceName: Service name.
Prefix interface{} Property prefix: Qualified returned trigger names must be prefixed with Prefix.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

FunctionNameRequired

FunctionName interface{}
  • Type: interface{}

Property functionName: Function name.


ServiceNameRequired

ServiceName interface{}
  • Type: interface{}

Property serviceName: Service name.


PrefixOptional

Prefix interface{}
  • Type: interface{}

Property prefix: Qualified returned trigger names must be prefixed with Prefix.

For example, if the Prefix is "a", the returned trigger names should be started with "a".


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.