AWS Lambda

Send your event data to AWS Lambda functions in real-time

The AWS Lambda destination allows you to send your event data directly to AWS Lambda functions in real-time. This enables serverless processing of your events using AWS's serverless compute service.

Configuration

To set up the AWS Lambda destination:

  1. Navigate to the Destinations section in your account
  2. Click "Add Destination" and select "AWS Lambda"
  3. Provide the following information:
    • AWS Region
    • Lambda Function Name

Event Format

Events sent to your Lambda function will be in the following format:

{
  "event": "Order Completed",
  "event_properties": {
    "order_id": "12345",
    "total": 99.99
  },
  ... etc
}

Best Practices

  • Ensure your Lambda function has appropriate access policies (you will need to contact a member of the Ours Privacy team for this)
  • Consider using environment variables for configuration