Delta Sync configuration for resolvers and pipeline functions.
Query.user:
dataSource: my-table
sync:
conflictDetection: 'VERSION'
conflictHandler: 'LAMBDA'
function:
timeout: 30
handler: 'functions/userSync.handler'
conflictDetection
:VERSION
orNONE
. Defaults toVERSION
conflictHandler
: WhenconflictDetection
isVERSION
, configures how conflict resolution happens.OPTIMISTIC_CONCURRENCY
,AUTOMERGE
orLAMBDA
. Defaults toOPTIMISTIC_CONCURRENCY
function
: WhenconflictHandler
isLAMBDA
, a Lambda function definition as you would define it under thefunctions
section of yourserverless.yml
file.functionName
: WhenconflictHandler
isLAMBDA
, the name of the function as defined under thefunctions
section of theserverless.yml
filefunctionAlias
: WhenconflictHandler
isLAMBDA
, a specific function alias to use.functionArn
: WhenconflictHandler
isLAMBDA
, the function ARN to use.