Interface CfnResolver.SyncConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResolver.SyncConfigProperty.Jsii$Proxy
- Enclosing class:
CfnResolver
@Stability(Stable)
public static interface CfnResolver.SyncConfigProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.appsync.*; SyncConfigProperty syncConfigProperty = SyncConfigProperty.builder() .conflictDetection("conflictDetection") // the properties below are optional .conflictHandler("conflictHandler") .lambdaConflictHandlerConfig(LambdaConflictHandlerConfigProperty.builder() .lambdaConflictHandlerArn("lambdaConflictHandlerArn") .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnResolver.SyncConfigProperty
static final class
An implementation forCfnResolver.SyncConfigProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConflictDetection
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.
-
getConflictHandler
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
.
-
getLambdaConflictHandlerConfig
TheLambdaConflictHandlerConfig
when configuringLAMBDA
as the Conflict Handler. -
builder
-