Skip to main content

Interface: LoaderOptions

Extends​

Properties​

api​

api: GraphqlApi


dataSources?​

optional dataSources: Record<string, BaseDataSource>


defaultFunctionDataSource?​

optional defaultFunctionDataSource: DataSource


defaultUnitResolverDataSource?​

optional defaultUnitResolverDataSource: DataSource


structure?​

optional structure: DirectoryStructure

Inherited from​

ParserOptions.structure


variables?​

optional variables: Record<string, string>

AppSync Butler variables to replace in VTL files. See Parser.setVariable for an example Mapping Template with a defined AppSync Butler variable.

Inherited from​

ParserOptions.variables