Skip to main content

Trigger AWS Lambda from Device Data with Funk

Invoke AWS Lambda functions directly from device payloads using the platform's serverless trigger service

Intermediate Published:
Coming soonThis service is coming soon.

Template scaffold for a core-service getting-started page. This page is intentionally non-production content and defines the expected structure for a Funk + function-runtime guide.

Prerequisites

  • Connected SIM or virtual SIM in a test group
  • Function runtime account and target function prepared
  • Credential registration permissions

Step 1: Prepare function runtime

Document:

  1. Function creation baseline
  2. Required invocation policy
  3. Runtime logging expectations

Step 2: Register credentials in the platform

Document:

  1. Credential type and scope
  2. Credential naming convention
  3. Rotation policy notes

Step 3: Configure Funk on the device group

Document:

  1. Group assignment expectations
  2. Function destination fields
  3. Payload contract expectations

Step 4: Send test data

Include one canonical request example for validation:

curl -X POST http://uni.soracom.io \
  -H "Content-Type: application/json" \
  -d '{"device":"template-device-001","event":"sample"}'

Validation

  • Function invocation appears in provider logs
  • Payload shape matches expected schema
  • Response and error handling are observable

Troubleshooting

  • Invocation not triggered (routing/group mismatch)
  • Permission denied on function invoke
  • Payload schema mismatch

Next steps

Search Esc to close / Enter to view results