Skip to content

FunctionsProps

Properties for defining a Functions.

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

Initializer

import com.aliyun.ros.cdk.fc.datasource.FunctionsProps;
FunctionsProps.builder()
    .serviceName(java.lang.String)
    .serviceName(IResolvable)
//  .prefix(java.lang.String)
//  .prefix(IResolvable)
//  .qualifier(java.lang.String)
//  .qualifier(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
    .build();

Properties

Name Type Description
serviceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property serviceName: Service name.
prefix java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property prefix: Qualified returned function names must be prefixed with Prefix.
qualifier java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property qualifier: The service version, which can be version ID or alias name.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

serviceNameRequired

public java.lang.Object getServiceName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property serviceName: Service name.


prefixOptional

public java.lang.Object getPrefix();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getQualifier();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


refreshOptionsOptional

public java.lang.Object getRefreshOptions();
  • Type: java.lang.String OR com.aliyun.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.