Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PosReadinessEvent

Hierarchy

Implemented by

Index

Properties

context

context: Context

The context is intended to hold high level attributes for an event in a simple key value map.

These attributes will be automatically:

  • published to all logging services along with each message sent by a service consuming them
  • attached as message attributes when published to SNS, allowing subscription filtering on them

These attributes fall into two categories:

  1. Lookup values, things like transactionId that you might want to search for in logs
  2. High level groupings, things like sector that you might need to build subscription filters around

eventName

eventName: EventNames

The identifying name for the event.

This property is useful in situations where an event processor handles multiple event types, where it can be used to decide how to handle the event.

payload

payload: Record<string, any>

The payload is then the body of the message and will contain the detail.

Generated using TypeDoc