ApiFcServiceConfig

data class ApiFcServiceConfig(val arnRole: String, val functionBaseUrl: String? = null, val functionName: String? = null, val functionType: String? = null, val functionVersion: String? = null, val method: String? = null, val onlyBusinessPath: Boolean? = null, val path: String? = null, val qualifier: String? = null, val region: String, val serviceName: String? = null, val timeout: Int)

Constructors

Link copied to clipboard
constructor(arnRole: String, functionBaseUrl: String? = null, functionName: String? = null, functionType: String? = null, functionVersion: String? = null, method: String? = null, onlyBusinessPath: Boolean? = null, path: String? = null, qualifier: String? = null, region: String, serviceName: String? = null, timeout: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

RAM role arn attached to the Function Compute service. This governs both who / what can invoke your Function, as well as what resources our Function has access to. See User Permissions for more details.

Link copied to clipboard
val functionBaseUrl: String? = null

The base url of function compute service. Required if function_type is HttpTrigger.

Link copied to clipboard
val functionName: String? = null

The function name of function compute service. Required if function_type is FCEvent.

Link copied to clipboard
val functionType: String? = null

The type of function compute service. Supports values of FCEvent,HttpTrigger. Default value: FCEvent.

Link copied to clipboard
val functionVersion: String? = null

The function compute version of function compute service. Supports values of 2.0, 3.0. Default value: 2.0.

Link copied to clipboard
val method: String? = null

The http method of function compute service. Required if function_type is HttpTrigger.

Link copied to clipboard

Whether to filter path in function_base_url. Optional if function_type is HttpTrigger.

Link copied to clipboard
val path: String? = null

The path of function compute service. Required if function_type is HttpTrigger.

Link copied to clipboard
val qualifier: String? = null

The qualifier of function name of compute service.

Link copied to clipboard

The region that the function compute service belongs to.

Link copied to clipboard
val serviceName: String? = null

The service name of function compute service. Required if function_type is FCEvent and function_version is 2.0.

Link copied to clipboard

Backend service time-out time; unit: millisecond.