forked from gagoar/invoke-aws-lambda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
54 lines (54 loc) · 2.03 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: "invoke-aws-lambda"
description: "Invoke AWS Lambda function"
branding:
icon: arrow-up-right
color: orange
inputs:
AWS_ACCESS_KEY_ID:
description: "AWS_ACCESS_KEY_ID"
required: true
AWS_SECRET_ACCESS_KEY:
description: "AWS_SECRET_ACCESS_KEY"
required: true
AWS_SESSION_TOKEN:
description: "AWS_SESSION_TOKEN"
required: false
REGION:
description: "region where the lambda has been created (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html)"
required: false
default: us-east-1
FunctionName:
description: "The name of the Lambda function, version, or alias"
required: true
InvocationType:
description: "Choose from the following options: RequestResponse, Event, DryRun"
required: false
default: RequestResponse
LogType:
description: "Choose from the following options: None, Tail"
required: false
default: None
ClientContext:
description: "Up to 3583 bytes of base64-encoded data about the invoking client to pass to the function in the context object."
required: false
Payload:
description: "The JSON that you want to provide to your Lambda function as input. (Buffer, Typed Array, Blob, String)"
required: false
Qualifier:
description: "Specify a version or alias to invoke a published version of the function."
required: false
HTTP_TIMEOUT:
description: Sets the socket to timeout after timeout milliseconds of inactivity on the socket. Defaults to two minutes (120000)
required: false
MAX_RETRIES:
description: Returns the maximum amount of retries to perform for a service request. By default this value is calculated by the specific service object that the request is being made to.
required: false
SUCCEED_ON_FUNCTION_FAILURE:
description: Set to true if this action should succeed when the Lambda function executed returns an error
required: false
outputs:
response: # id of output
description: "response from lambda invocation"
runs:
using: "node12"
main: "dist/index.js"