Show / Hide Table of Contents

Interface IResolverProps

Additional property for an AppSync resolver for GraphQL API reference.

Inherited Members
IExtendedResolverProps.DataSource
IBaseResolverProps.FieldName
IBaseResolverProps.TypeName
IBaseResolverProps.CachingConfig
IBaseResolverProps.Code
IBaseResolverProps.MaxBatchSize
IBaseResolverProps.PipelineConfig
IBaseResolverProps.RequestMappingTemplate
IBaseResolverProps.ResponseMappingTemplate
IBaseResolverProps.Runtime
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IResolverProps : IExtendedResolverProps, IBaseResolverProps
Syntax (vb)
Public Interface IResolverProps Inherits IExtendedResolverProps, IBaseResolverProps
Remarks

ExampleMetadata: infused

Examples
GraphqlApi api;
            AppsyncFunction appsyncFunction;


            var pipelineResolver = new Resolver(this, "pipeline", new ResolverProps {
                Api = api,
                DataSource = api.AddNoneDataSource("none"),
                TypeName = "typeName",
                FieldName = "fieldName",
                RequestMappingTemplate = MappingTemplate.FromFile("beforeRequest.vtl"),
                PipelineConfig = new [] { appsyncFunction },
                ResponseMappingTemplate = MappingTemplate.FromFile("afterResponse.vtl")
            });

Synopsis

Properties

Api

The API this resolver is attached to.

Properties

Api

The API this resolver is attached to.

IGraphqlApi Api { get; }
Property Value

IGraphqlApi

Remarks

ExampleMetadata: infused

Back to top Generated by DocFX