Skip to main content

aws-appsync-butler

Service Classes

Error Classes

Interfaces

Enumerations

Type aliases

DataSource

ฦฌ DataSource: BaseDataSource | string


LoaderOptions

ฦฌ LoaderOptions: SstLoaderOptions | CdkLoaderOptions


ParsedResolverInfo

ฦฌ ParsedResolverInfo: ParsedUnitResolverInfo | ParsedPipelineResolverInfo


ResolverInfo

ฦฌ ResolverInfo: UnitResolverInfo | PipelineResolverInfo

Functions

createLoader

โ–ธ createLoader(scope, options): CdkLoader

Instantialize a CDK Loader instance

Parameters

NameTypeDescription
scopeConstructCDK Stack
optionsCdkLoaderOptionsCDK Loader options

Returns

CdkLoader

โ–ธ createLoader(scope, options): SstLoader

Instantialize an SST Loader instance

Parameters

NameTypeDescription
scopeConstructSST Stack
optionsSstLoaderOptionsSST Loader options

Returns

SstLoader

โ–ธ createLoader(scope, options): CdkLoader | SstLoader

Instantialize a CDK or SST Loader instance

Parameters

NameTypeDescription
scopeConstructStack
optionsSstLoaderOptions | CdkLoaderOptionsCDK or SST Loader options

Returns

CdkLoader | SstLoader


getGraphqlFiles

โ–ธ Const getGraphqlFiles(directory): string[]

Returns a list of *.graphql file paths in the specified directory

Parameters

NameTypeDescription
directorystringpath to the directory containing .graphql files

Returns

string[]

An array of .graphql file paths in the form of ${directory}/.graphql