• Public
  • Public/Protected
  • All

Namespace Resolver

Describes a resolver.



Optional cachingConfig

cachingConfig: CachingConfig

The caching configuration for the resolver.

Optional dataSourceName

dataSourceName: undefined | string

The resolver data source name.

Optional fieldName

fieldName: undefined | string

The resolver field name.

Optional kind

kind: ResolverKind | string

The resolver type.

  • UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.

  • PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.

Optional maxBatchSize

maxBatchSize: undefined | number

The maximum batching size for a resolver.

Optional pipelineConfig

pipelineConfig: PipelineConfig

The PipelineConfig.

Optional requestMappingTemplate

requestMappingTemplate: undefined | string

The request mapping template.

Optional resolverArn

resolverArn: undefined | string

The resolver Amazon Resource Name (ARN).

Optional responseMappingTemplate

responseMappingTemplate: undefined | string

The response mapping template.

Optional syncConfig

syncConfig: SyncConfig

The SyncConfig for a resolver attached to a versioned data source.

Optional typeName

typeName: undefined | string

The resolver type name.