Trigger AWS Lambda from Device Data with Funk
Invoke AWS Lambda functions directly from device payloads using the platform's serverless trigger service
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:
- Function creation baseline
- Required invocation policy
- Runtime logging expectations
Step 2: Register credentials in the platform
Document:
- Credential type and scope
- Credential naming convention
- Rotation policy notes
Step 3: Configure Funk on the device group
Document:
- Group assignment expectations
- Function destination fields
- 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