AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy


Namespace: Amazon.AppSync.Model
Assembly: AWSSDK.AppSync.dll
Version: 3.x.y.z


public class SyncConfig

The SyncConfig type exposes the following members


Public Method SyncConfig()


Public Property ConflictDetection Amazon.AppSync.ConflictDetectionType

Gets and sets the property ConflictDetection.

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.

Public Property ConflictHandler Amazon.AppSync.ConflictHandlerType

Gets and sets the property ConflictHandler.

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.

Public Property LambdaConflictHandlerConfig Amazon.AppSync.Model.LambdaConflictHandlerConfig

Gets and sets the property LambdaConflictHandlerConfig.

The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.

Version Information

.NET Standard:
Supported in: 2.0, 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms