Interface ExtendedResolverProps
- All Superinterfaces:
BaseResolverProps
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
ResolverProps
- All Known Implementing Classes:
ExtendedResolverProps.Jsii$Proxy
,ResolverProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:14.665Z")
@Stability(Stable)
public interface ExtendedResolverProps
extends software.amazon.jsii.JsiiSerializable, BaseResolverProps
Additional property for an AppSync resolver for data source reference.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; import software.amazon.awscdk.services.appsync.*; AppsyncFunction appsyncFunction; BaseDataSource baseDataSource; Code code; FunctionRuntime functionRuntime; MappingTemplate mappingTemplate; ExtendedResolverProps extendedResolverProps = ExtendedResolverProps.builder() .fieldName("fieldName") .typeName("typeName") // the properties below are optional .cachingConfig(CachingConfig.builder() .ttl(Duration.minutes(30)) // the properties below are optional .cachingKeys(List.of("cachingKeys")) .build()) .code(code) .dataSource(baseDataSource) .maxBatchSize(123) .pipelineConfig(List.of(appsyncFunction)) .requestMappingTemplate(mappingTemplate) .responseMappingTemplate(mappingTemplate) .runtime(functionRuntime) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forExtendedResolverProps
static final class
An implementation forExtendedResolverProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default BaseDataSource
The data source this resolver is using.Methods inherited from interface software.amazon.awscdk.services.appsync.BaseResolverProps
getCachingConfig, getCode, getFieldName, getMaxBatchSize, getPipelineConfig, getRequestMappingTemplate, getResponseMappingTemplate, getRuntime, getTypeName
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDataSource
The data source this resolver is using.Default: - No datasource
-
builder
- Returns:
- a
ExtendedResolverProps.Builder
ofExtendedResolverProps
-