You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`handler` - (Required, String) Handler of the SCF function. The format of name is `<filename>.<method_name>`, and it supports 26 English letters, numbers, connectors, and underscores, it should start with a letter. The last character cannot be `-` or `_`. Available length is 2-60.
52
51
*`name` - (Required, String, ForceNew) Name of the SCF function. Name supports 26 English letters, numbers, connectors, and underscores, it should start with a letter. The last character cannot be `-` or `_`. Available length is 2-60.
53
-
*`runtime` - (Required, String) Runtime of the SCF function, only supports `Python2.7`, `Python3.6`, `Nodejs6.10`, `Nodejs8.9`, `Nodejs10.15`, `PHP5`, `PHP7`, `Golang1`, and `Java8`.
54
52
*`cfs_config` - (Optional, List) List of CFS configurations.
55
53
*`cls_logset_id` - (Optional, String) cls logset id of the SCF function.
56
54
*`cls_topic_id` - (Optional, String) cls topic id of the SCF function.
@@ -62,12 +60,14 @@ The following arguments are supported:
62
60
*`enable_public_net` - (Optional, Bool) Indicates whether public net config enabled. Default `false`. NOTE: only `vpc_id` specified can disable public net config.
63
61
*`environment` - (Optional, Map) Environment of the SCF function.
64
62
*`func_type` - (Optional, String) Function type. The default value is Event. Enter Event if you need to create a trigger function. Enter HTTP if you need to create an HTTP function service.
63
+
*`handler` - (Optional, String) Handler of the SCF function. The format of name is `<filename>.<method_name>`, and it supports 26 English letters, numbers, connectors, and underscores, it should start with a letter. The last character cannot be `-` or `_`. Available length is 2-60.
65
64
*`image_config` - (Optional, List) Image of the SCF function, conflict with ``.
66
65
*`l5_enable` - (Optional, Bool) Enable L5 for SCF function, default is `false`.
67
66
*`layers` - (Optional, List) The list of association layers.
68
67
*`mem_size` - (Optional, Int) Memory size of the SCF function, unit is MB. The default is `128`MB. The ladder is 128M.
69
68
*`namespace` - (Optional, String, ForceNew) Namespace of the SCF function, default is `default`.
70
69
*`role` - (Optional, String) Role of the SCF function.
70
+
*`runtime` - (Optional, String) Runtime of the SCF function, only supports `Python2.7`, `Python3.6`, `Nodejs6.10`, `Nodejs8.9`, `Nodejs10.15`, `PHP5`, `PHP7`, `Golang1`, and `Java8`.
71
71
*`subnet_id` - (Optional, String) Subnet ID of the SCF function.
72
72
*`tags` - (Optional, Map) Tags of the SCF function.
73
73
*`timeout` - (Optional, Int) Timeout of the SCF function, unit is second. Default `3`. Available value is 1-900.
0 commit comments