awsLambda.json•2.94 kB
{
"nodeType": "n8n-nodes-base.awsLambda",
"displayName": "AWS Lambda",
"description": "Invoke functions on AWS Lambda",
"version": 1,
"properties": [
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "invoke",
"description": "Invoke a function",
"options": [
{
"name": "Invoke",
"value": "invoke",
"description": "Invoke a function"
}
]
},
{
"name": "function",
"displayName": "Function Name or ID",
"type": "options",
"default": "",
"description": "The function you want to invoke. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"operation": [
"invoke"
]
}
}
},
{
"name": "qualifier",
"displayName": "Qualifier",
"type": "string",
"default": "$LATEST",
"description": "Specify a version or alias to invoke a published version of the function",
"required": true,
"displayOptions": {
"show": {
"operation": [
"invoke"
]
}
}
},
{
"name": "invocationType",
"displayName": "Invocation Type",
"type": "options",
"default": "RequestResponse",
"description": "Invoke the function synchronously and wait for the response",
"options": [
{
"name": "Wait for Results",
"value": "RequestResponse",
"description": "Invoke the function synchronously and wait for the response"
},
{
"name": "Continue Workflow",
"value": "Event",
"description": "Invoke the function and immediately continue the workflow"
}
],
"displayOptions": {
"show": {
"operation": [
"invoke"
]
}
}
},
{
"name": "payload",
"displayName": "JSON Input",
"type": "string",
"default": "",
"description": "The JSON that you want to provide to your Lambda function as input",
"displayOptions": {
"show": {
"operation": [
"invoke"
]
}
}
}
],
"credentialsConfig": [
{
"name": "aws",
"required": true
},
{
"name": "operation",
"required": false
},
{
"name": "function",
"required": true
},
{
"name": "payload",
"required": false
}
],
"io": {
"inputs": [
"Main"
],
"outputs": [
"Main"
],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [
"Main"
],
"produces": [
"Main"
]
}
}