Skip to content

Commit ccd8bb1

Browse files
committed
invoke aws lambda
1 parent 8c5653c commit ccd8bb1

File tree

14 files changed

+29669
-0
lines changed

14 files changed

+29669
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
.vscode/
3+
# ignore codecoverage output
4+
coverage/

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v12.16.3

action.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: "invoke-aws-lambda"
2+
description: "Invoke AWS Lambda function"
3+
inputs:
4+
AWS_ACCESS_KEY_ID:
5+
description: "AWS_ACCESS_KEY_ID"
6+
required: true
7+
AWS_SECRET_ACCESS_KEY:
8+
description: "AWS_SECRET_ACCESS_KEY"
9+
required: true
10+
AWS_SESSION_TOKEN:
11+
description: "AWS_SESSION_TOKEN"
12+
required: false
13+
FunctionName:
14+
description: "The name of the Lambda function, version, or alias"
15+
required: true
16+
InvocationType:
17+
description: "Choose from the following options: RequestResponse, Event, DryRun"
18+
required: false
19+
default: "RequestResponse"
20+
LogType:
21+
description: "Choose from the following options: None, Tail"
22+
required: false
23+
default: "RequestResponse"
24+
ClientContext:
25+
description: "Up to 3583 bytes of base64-encoded data about the invoking client to pass to the function in the context object."
26+
required: false
27+
Payload:
28+
description: "The JSON that you want to provide to your Lambda function as input. (Buffer, Typed Array, Blob, String)"
29+
required: false
30+
Qualifier:
31+
description: "Specify a version or alias to invoke a published version of the function."
32+
required: false
33+
outputs:
34+
response: # id of output
35+
description: "response from lambda invocation"
36+
runs:
37+
using: "node12"
38+
main: "dist/index.js"

dist/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export {};

0 commit comments

Comments
 (0)