Skip to content

FunctionsProps

Properties for defining a Functions.

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

Initializer

import { datasource } from '@alicloud/ros-cdk-fc'
const functionsProps: datasource.FunctionsProps = { ... }

Properties

Name Type Description
serviceName string | @alicloud/ros-cdk-core.IResolvable Property serviceName: Service name.
prefix string | @alicloud/ros-cdk-core.IResolvable Property prefix: Qualified returned function names must be prefixed with Prefix.
qualifier string | @alicloud/ros-cdk-core.IResolvable Property qualifier: The service version, which can be version ID or alias name.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

serviceNameRequired

public readonly serviceName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property serviceName: Service name.


prefixOptional

public readonly prefix: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

public readonly qualifier: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


refreshOptionsOptional

public readonly refreshOptions: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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.