interface SyncConfigProperty
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.AppSync.CfnFunctionConfiguration.SyncConfigProperty | 
  Java | software.amazon.awscdk.services.appsync.CfnFunctionConfiguration.SyncConfigProperty | 
  Python | aws_cdk.aws_appsync.CfnFunctionConfiguration.SyncConfigProperty | 
  TypeScript  | @aws-cdk/aws-appsync » CfnFunctionConfiguration » SyncConfigProperty | 
Describes a Sync configuration for a resolver.
Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as appsync from '@aws-cdk/aws-appsync';
const syncConfigProperty: appsync.CfnFunctionConfiguration.SyncConfigProperty = {
  conflictDetection: 'conflictDetection',
  // the properties below are optional
  conflictHandler: 'conflictHandler',
  lambdaConflictHandlerConfig: {
    lambdaConflictHandlerArn: 'lambdaConflictHandlerArn',
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| conflict | string | The Conflict Detection strategy to use. | 
| conflict | string | The Conflict Resolution strategy to perform in the event of a conflict. | 
| lambda | IResolvable | Lambda | The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler. | 
conflictDetection
Type:
string
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.
 
conflictHandler?
Type:
string
(optional)
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 AWS Lambda function supplied in the 
LambdaConflictHandlerConfig. 
lambdaConflictHandlerConfig?
Type:
IResolvable | Lambda
(optional)
The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.

 .NET
 Java
 Python
 TypeScript