@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:03.088Z") @Stability(value=Experimental) public interface ExtendedResolverProps extends software.amazon.jsii.JsiiSerializable, BaseResolverProps
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.core.*;
import software.amazon.awscdk.services.appsync.*;
AppsyncFunction appsyncFunction;
BaseDataSource baseDataSource;
Duration duration;
MappingTemplate mappingTemplate;
ExtendedResolverProps extendedResolverProps = ExtendedResolverProps.builder()
.fieldName("fieldName")
.typeName("typeName")
// the properties below are optional
.cachingConfig(CachingConfig.builder()
.ttl(duration)
// the properties below are optional
.cachingKeys(List.of("cachingKeys"))
.build())
.dataSource(baseDataSource)
.pipelineConfig(List.of(appsyncFunction))
.requestMappingTemplate(mappingTemplate)
.responseMappingTemplate(mappingTemplate)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ExtendedResolverProps.Builder
A builder for
ExtendedResolverProps |
static class |
ExtendedResolverProps.Jsii$Proxy
An implementation for
ExtendedResolverProps |
| Modifier and Type | Method and Description |
|---|---|
static ExtendedResolverProps.Builder |
builder() |
default BaseDataSource |
getDataSource()
(experimental) The data source this resolver is using.
|
getCachingConfig, getFieldName, getPipelineConfig, getRequestMappingTemplate, getResponseMappingTemplate, getTypeName@Stability(value=Experimental) @Nullable default BaseDataSource getDataSource()
Default: - No datasource
@Stability(value=Experimental) static ExtendedResolverProps.Builder builder()
builder in interface BaseResolverPropsExtendedResolverProps.Builder of ExtendedResolverPropsCopyright © 2022. All rights reserved.