SyncConfig
¶
Used by
Source code in docs_src/capo_appsync/types/sync_config.py
conflict_detection
instance-attribute
¶
conflict_detection: NotRequired[ConflictDetectionType]
The Conflict Detection strategy to use.
-
VERSION: Detect conflicts based on object versions for this resolver.
-
NONE: Do not detect conflicts when invoking this resolver.
conflict_handler
instance-attribute
¶
conflict_handler: NotRequired[ConflictHandlerType]
The Conflict Resolution strategy to perform in the event of a conflict.
-
OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
-
AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.
-
LAMBDA: Resolve conflicts with an Lambda function supplied in the
LambdaConflictHandlerConfig.
lambda_conflict_handler_config
instance-attribute
¶
lambda_conflict_handler_config: NotRequired[LambdaConflictHandlerConfig]
The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.