Interface IExtendedResolverProps
Additional property for an AppSync resolver for data source reference.
Inherited Members
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IExtendedResolverProps : IBaseResolverProps
Syntax (vb)
Public Interface IExtendedResolverProps
Inherits IBaseResolverProps
Remarks
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;
using Amazon.CDK.AWS.AppSync;
AppsyncFunction appsyncFunction;
BaseDataSource baseDataSource;
Code code;
FunctionRuntime functionRuntime;
MappingTemplate mappingTemplate;
var extendedResolverProps = new ExtendedResolverProps {
FieldName = "fieldName",
TypeName = "typeName",
// the properties below are optional
CachingConfig = new CachingConfig {
Ttl = Duration.Minutes(30),
// the properties below are optional
CachingKeys = new [] { "cachingKeys" }
},
Code = code,
DataSource = baseDataSource,
MaxBatchSize = 123,
PipelineConfig = new [] { appsyncFunction },
RequestMappingTemplate = mappingTemplate,
ResponseMappingTemplate = mappingTemplate,
Runtime = functionRuntime
};
Synopsis
Properties
DataSource | The data source this resolver is using. |
Properties
DataSource
The data source this resolver is using.
virtual BaseDataSource DataSource { get; }
Property Value
Remarks
Default: - No datasource