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:VERSIONorNONE. Defaults toVERSIONconflictHandler: WhenconflictDetectionisVERSION, configures how conflict resolution happens.OPTIMISTIC_CONCURRENCY,AUTOMERGEorLAMBDA. Defaults toOPTIMISTIC_CONCURRENCYfunction: WhenconflictHandlerisLAMBDA, a Lambda function definition as you would define it under thefunctionssection of yourserverless.ymlfile.functionName: WhenconflictHandlerisLAMBDA, the name of the function as defined under thefunctionssection of theserverless.ymlfilefunctionAlias: WhenconflictHandlerisLAMBDA, a specific function alias to use.functionArn: WhenconflictHandlerisLAMBDA, the function ARN to use.