Interface ISchema
Interface for implementing your own schema.
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISchema
Syntax (vb)
Public Interface ISchema
Remarks
Useful for providing schema's from sources other than assets
Synopsis
Methods
| Bind(IGraphQLApiRef, ISchemaBindOptions?) | Binds a schema string to a GraphQlApi. |
Methods
Bind(IGraphQLApiRef, ISchemaBindOptions?)
Binds a schema string to a GraphQlApi.
ISchemaConfig Bind(IGraphQLApiRef api, ISchemaBindOptions? options = null)
Parameters
- api IGraphQLApiRef
the api to bind the schema to.
- options ISchemaBindOptions
configuration for bind behavior.
Returns
ISchemaConfig with apiId and schema definition string
Remarks
Useful for providing schema's from sources other than assets