Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 936 Bytes

File metadata and controls

49 lines (32 loc) · 936 Bytes

Sample waSCC Actor

A sample waSCC actor that uses the AWS Lambda runtime capability provider.

It is based on the Krustlet uppercase demo, converting its input to uppercase.

Input should be a custom Lambda event with payload a JSON document of the form

{"input": "Hello world"}

and the corresponding response will be a JSON document of the form

{"output": "HELLO WORLD"}

Build

Install NKeys

cargo install nkeys --features "cli"

Generate Keys

make keys

Add wasm32-unknown-unknown Compilation Target

rustup target add wasm32-unknown-unknown

Install WASCAP

cargo install wascap --features "cli"

Build Actor

make release