This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::AppSync::Resolver SyncConfig
Describes a Sync configuration for a resolver.
Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ConflictDetection" :String, "ConflictHandler" :String, "LambdaConflictHandlerConfig" :LambdaConflictHandlerConfig}
YAML
ConflictDetection:StringConflictHandler:StringLambdaConflictHandlerConfig:LambdaConflictHandlerConfig
Properties
- ConflictDetection
- 
                    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. 
 Required: Yes Type: String Allowed values: VERSION | NONEUpdate requires: No interruption 
- 
                            
- ConflictHandler
- 
                    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.
 Required: No Type: String Allowed values: OPTIMISTIC_CONCURRENCY | LAMBDA | AUTOMERGE | NONEUpdate requires: No interruption 
- 
                            
- LambdaConflictHandlerConfig
- 
                    The LambdaConflictHandlerConfigwhen configuringLAMBDAas the Conflict Handler.Required: No Type: LambdaConflictHandlerConfig Update requires: No interruption