Interface CfnResolver.ISyncConfigProperty
Describes a Sync configuration for a resolver.
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISyncConfigProperty
Syntax (vb)
Public Interface ISyncConfigProperty
Remarks
Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
var syncConfigProperty = new SyncConfigProperty {
ConflictDetection = "conflictDetection",
// the properties below are optional
ConflictHandler = "conflictHandler",
LambdaConflictHandlerConfig = new LambdaConflictHandlerConfigProperty {
LambdaConflictHandlerArn = "lambdaConflictHandlerArn"
}
};
Synopsis
Properties
ConflictDetection | The Conflict Detection strategy to use. |
ConflictHandler | The Conflict Resolution strategy to perform in the event of a conflict. |
LambdaConflictHandlerConfig | The |
Properties
ConflictDetection
The Conflict Detection strategy to use.
string ConflictDetection { get; }
Property Value
System.String
Remarks
ConflictHandler
The Conflict Resolution strategy to perform in the event of a conflict.
virtual string ConflictHandler { get; }
Property Value
System.String
Remarks
LambdaConflictHandlerConfig
The LambdaConflictHandlerConfig
when configuring LAMBDA
as the Conflict Handler.
virtual object LambdaConflictHandlerConfig { get; }
Property Value
System.Object