Skip to content

Commit 41817f5

Browse files
author
WeiMengXS
committed
feat: doc
1 parent 00267f5 commit 41817f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/docs/r/scf_function.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ resource "tencentcloud_scf_function" "foo" {
4848

4949
The following arguments are supported:
5050

51-
* `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.
5251
* `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`.
5452
* `cfs_config` - (Optional, List) List of CFS configurations.
5553
* `cls_logset_id` - (Optional, String) cls logset id of the SCF function.
5654
* `cls_topic_id` - (Optional, String) cls topic id of the SCF function.
@@ -62,12 +60,14 @@ The following arguments are supported:
6260
* `enable_public_net` - (Optional, Bool) Indicates whether public net config enabled. Default `false`. NOTE: only `vpc_id` specified can disable public net config.
6361
* `environment` - (Optional, Map) Environment of the SCF function.
6462
* `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.
6564
* `image_config` - (Optional, List) Image of the SCF function, conflict with ``.
6665
* `l5_enable` - (Optional, Bool) Enable L5 for SCF function, default is `false`.
6766
* `layers` - (Optional, List) The list of association layers.
6867
* `mem_size` - (Optional, Int) Memory size of the SCF function, unit is MB. The default is `128`MB. The ladder is 128M.
6968
* `namespace` - (Optional, String, ForceNew) Namespace of the SCF function, default is `default`.
7069
* `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`.
7171
* `subnet_id` - (Optional, String) Subnet ID of the SCF function.
7272
* `tags` - (Optional, Map) Tags of the SCF function.
7373
* `timeout` - (Optional, Int) Timeout of the SCF function, unit is second. Default `3`. Available value is 1-900.

0 commit comments

Comments
 (0)