Description
Runs a Python script.
Syntax
Action: ACS::FC::ExecuteScript
Properties:
runtime: String
handler: String
inputPayload: Json
script: String
role: StringAttributes
Attribute | Description | Type | Required | Default value | Limit |
runtime | The runtime environment of the function. | String | No | python3.10 | |
handler | The name of the function. | String | No | index.handler | |
inputPayload | The input parameter. | Json | No | "" | |
script | The code of the Python script. | String | No | | |
role | The Alibaba Cloud Resource Name (ARN) of the Resource Access Management (RAM) role that is used to grant required permissions to Function Compute. | String | No | "" |
Output
Output item | Description | Type |
Result | String |
References
For more information, see ACS::FC::ExecuteScript.yml at GitHub.