You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SyncConfig as input to an Aws::Client method, you can use a vanilla 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",
  },
}

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.

Returned by:

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 executing this resolver.

    Possible values:

    • VERSION
    • NONE

Returns:

  • (String)

    The Conflict Detection strategy to use.

#conflict_handlerString

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.

    Possible values:

    • OPTIMISTIC_CONCURRENCY
    • LAMBDA
    • AUTOMERGE
    • NONE

Returns:

  • (String)

    The Conflict Resolution strategy to perform in the event of a conflict.

#lambda_conflict_handler_configTypes::LambdaConflictHandlerConfig

The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.

Returns: