Class: Aws::AppSync::Types::SyncConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb

Overview

Describes a Sync configuration for a resolver.

Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#conflict_detectionString

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.

Returns:

  • (String)


4797
4798
4799
4800
4801
4802
4803
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 4797

class SyncConfig < Struct.new(
  :conflict_handler,
  :conflict_detection,
  :lambda_conflict_handler_config)
  SENSITIVE = []
  include Aws::Structure
end

#conflict_handlerString

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.

Returns:

  • (String)


4797
4798
4799
4800
4801
4802
4803
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 4797

class SyncConfig < Struct.new(
  :conflict_handler,
  :conflict_detection,
  :lambda_conflict_handler_config)
  SENSITIVE = []
  include Aws::Structure
end

#lambda_conflict_handler_configTypes::LambdaConflictHandlerConfig

The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.



4797
4798
4799
4800
4801
4802
4803
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 4797

class SyncConfig < Struct.new(
  :conflict_handler,
  :conflict_detection,
  :lambda_conflict_handler_config)
  SENSITIVE = []
  include Aws::Structure
end