ISchema
- class aws_cdk.aws_appsync.ISchema(*args, **kwargs)
Bases:
Protocol
Interface for implementing your own schema.
Useful for providing schema’s from sources other than assets
Methods
- bind(api)
Binds a schema string to a GraphQlApi.
- Parameters:
api (
IGraphqlApi
) – the api to bind the schema to.- Return type:
- Returns:
ISchemaConfig with apiId and schema definition string