@Stability(value=Stable)
public static interface CfnResolver.SyncConfigProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResolver.SyncConfigProperty.Builder
A builder for
CfnResolver.SyncConfigProperty |
static class |
CfnResolver.SyncConfigProperty.Jsii$Proxy
An implementation for
CfnResolver.SyncConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnResolver.SyncConfigProperty.Builder |
builder() |
String |
getConflictDetection()
The Conflict Detection strategy to use.
|
default String |
getConflictHandler()
The Conflict Resolution strategy to perform in the event of a conflict.
|
default Object |
getLambdaConflictHandlerConfig()
The `LambdaConflictHandlerConfig` when configuring `LAMBDA` as the Conflict Handler.
|
@Stability(value=Stable) @NotNull String getConflictDetection()
@Stability(value=Stable) @Nullable default String getConflictHandler()
LambdaConflictHandlerConfig .@Stability(value=Stable) @Nullable default Object getLambdaConflictHandlerConfig()
@Stability(value=Stable) static CfnResolver.SyncConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.