aws-cdk-lib.aws_appsync.ISchema

interface ISchema

LanguageType name
.NETAmazon.CDK.AWS.AppSync.ISchema
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappsync#ISchema
Javasoftware.amazon.awscdk.services.appsync.ISchema
Pythonaws_cdk.aws_appsync.ISchema
TypeScript (source)aws-cdk-lib » aws_appsync » ISchema

Implemented by SchemaFile

Interface for implementing your own schema.

Useful for providing schema's from sources other than assets

Methods

NameDescription
bind(api, options?)Binds a schema string to a GraphQlApi.

bind(api, options?)

public bind(api: IGraphqlApi, options?: SchemaBindOptions): ISchemaConfig

Parameters

  • api IGraphqlApi — the api to bind the schema to.
  • options SchemaBindOptions — configuration for bind behavior.

Returns

  • ISchemaConfig

Binds a schema string to a GraphQlApi.