Show / Hide Table of Contents

Interface IExtendedResolverProps

Additional property for an AppSync resolver for data source reference.

Inherited Members
IBaseResolverProps.FieldName
IBaseResolverProps.TypeName
IBaseResolverProps.CachingConfig
IBaseResolverProps.Code
IBaseResolverProps.MaxBatchSize
IBaseResolverProps.MetricsConfig
IBaseResolverProps.PipelineConfig
IBaseResolverProps.RequestMappingTemplate
IBaseResolverProps.ResponseMappingTemplate
IBaseResolverProps.Runtime
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;
            using Amazon.CDK.Interfaces.AppSync;

            BaseDataSource baseDataSource;
            Code code;
            IFunctionConfigurationRef functionConfigurationRef;
            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,
                MetricsConfig = ResolverMetricsConfig.ENABLED,
                PipelineConfig = new [] { functionConfigurationRef },
                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.

BaseDataSource? DataSource { get; }
Property Value

BaseDataSource

Remarks

Default: - No datasource

Back to top Generated by DocFX