@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:05.107Z") @Stability(value=Stable) public interface CfnResolverProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnResolverProps cfnResolverProps = CfnResolverProps.builder()
.apiId("apiId")
.fieldName("fieldName")
.typeName("typeName")
// the properties below are optional
.cachingConfig(CachingConfigProperty.builder()
.cachingKeys(List.of("cachingKeys"))
.ttl(123)
.build())
.dataSourceName("dataSourceName")
.kind("kind")
.pipelineConfig(PipelineConfigProperty.builder()
.functions(List.of("functions"))
.build())
.requestMappingTemplate("requestMappingTemplate")
.requestMappingTemplateS3Location("requestMappingTemplateS3Location")
.responseMappingTemplate("responseMappingTemplate")
.responseMappingTemplateS3Location("responseMappingTemplateS3Location")
.syncConfig(SyncConfigProperty.builder()
.conflictDetection("conflictDetection")
// the properties below are optional
.conflictHandler("conflictHandler")
.lambdaConflictHandlerConfig(LambdaConflictHandlerConfigProperty.builder()
.lambdaConflictHandlerArn("lambdaConflictHandlerArn")
.build())
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResolverProps.Builder
A builder for
CfnResolverProps |
static class |
CfnResolverProps.Jsii$Proxy
An implementation for
CfnResolverProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnResolverProps.Builder |
builder() |
String |
getApiId()
`AWS::AppSync::Resolver.ApiId`.
|
default Object |
getCachingConfig()
`AWS::AppSync::Resolver.CachingConfig`.
|
default String |
getDataSourceName()
`AWS::AppSync::Resolver.DataSourceName`.
|
String |
getFieldName()
`AWS::AppSync::Resolver.FieldName`.
|
default String |
getKind()
`AWS::AppSync::Resolver.Kind`.
|
default Object |
getPipelineConfig()
`AWS::AppSync::Resolver.PipelineConfig`.
|
default String |
getRequestMappingTemplate()
`AWS::AppSync::Resolver.RequestMappingTemplate`.
|
default String |
getRequestMappingTemplateS3Location()
`AWS::AppSync::Resolver.RequestMappingTemplateS3Location`.
|
default String |
getResponseMappingTemplate()
`AWS::AppSync::Resolver.ResponseMappingTemplate`.
|
default String |
getResponseMappingTemplateS3Location()
`AWS::AppSync::Resolver.ResponseMappingTemplateS3Location`.
|
default Object |
getSyncConfig()
`AWS::AppSync::Resolver.SyncConfig`.
|
String |
getTypeName()
`AWS::AppSync::Resolver.TypeName`.
|
@Stability(value=Stable) @NotNull String getApiId()
@Stability(value=Stable) @Nullable default Object getCachingConfig()
@Stability(value=Stable) @Nullable default String getDataSourceName()
@Stability(value=Stable) @NotNull String getFieldName()
@Stability(value=Stable) @Nullable default String getKind()
@Stability(value=Stable) @Nullable default Object getPipelineConfig()
@Stability(value=Stable) @Nullable default String getRequestMappingTemplate()
@Stability(value=Stable) @Nullable default String getRequestMappingTemplateS3Location()
@Stability(value=Stable) @Nullable default String getResponseMappingTemplate()
@Stability(value=Stable) @Nullable default String getResponseMappingTemplateS3Location()
@Stability(value=Stable) @Nullable default Object getSyncConfig()
@Stability(value=Stable) @NotNull String getTypeName()
@Stability(value=Stable) static CfnResolverProps.Builder builder()
CfnResolverProps.Builder of CfnResolverPropsCopyright © 2021. All rights reserved.