Skip to content

FunctionsProps

Properties for defining a Functions.

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

Initializer

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

Properties

Name Type Description
ServiceName interface{} Property serviceName: Service name.
Prefix interface{} Property prefix: Qualified returned function names must be prefixed with Prefix.
Qualifier interface{} Property qualifier: The service version, which can be version ID or alias name.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

ServiceNameRequired

ServiceName interface{}
  • Type: interface{}

Property serviceName: Service name.


PrefixOptional

Prefix interface{}
  • Type: interface{}

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

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


QualifierOptional

Qualifier interface{}
  • Type: interface{}

Property qualifier: The service version, which can be version ID or alias name.


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.