Interface CfnFunctionConfiguration.SyncConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFunctionConfiguration.SyncConfigProperty.Jsii$Proxy
- Enclosing class:
- CfnFunctionConfiguration
@Stability(Stable)
public static interface CfnFunctionConfiguration.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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFunctionConfiguration.SyncConfigPropertystatic final classAn implementation forCfnFunctionConfiguration.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
TheLambdaConflictHandlerConfigwhen configuringLAMBDAas the Conflict Handler. -
builder
-