class Aws::AppSync::Types::SyncConfig
Describes a Sync configuration for a resolver.
Contains information on which Conflict Detection as well as Resolution strategy should be performed when the resolver is invoked.
@note When making an API call, you may pass SyncConfig
data as a hash: { conflict_handler: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE conflict_detection: "VERSION", # accepts VERSION, NONE lambda_conflict_handler_config: { lambda_conflict_handler_arn: "String", }, }
@!attribute [rw] conflict_handler
The Conflict Resolution strategy to perform in the event of a conflict. * **OPTIMISTIC\_CONCURRENCY**\: Resolve conflicts by rejecting mutations when versions do not match the latest version at the server. * **AUTOMERGE**\: Resolve conflicts with the Automerge conflict resolution strategy. * **LAMBDA**\: Resolve conflicts with a Lambda function supplied in the LambdaConflictHandlerConfig. @return [String]
@!attribute [rw] conflict_detection
The Conflict Detection strategy to use. * **VERSION**\: Detect conflicts based on object versions for this resolver. * **NONE**\: Do not detect conflicts when executing this resolver. @return [String]
@!attribute [rw] lambda_conflict_handler_config
The `LambdaConflictHandlerConfig` when configuring LAMBDA as the Conflict Handler. @return [Types::LambdaConflictHandlerConfig]
@see docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/SyncConfig AWS API Documentation
Constants
- SENSITIVE