type property

DataSourceType? type
final

The type of the data source.

  • AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.
  • AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service domain.
  • AWS_LAMBDA: The data source is an AWS Lambda function.
  • NONE: There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.
  • HTTP: The data source is an HTTP endpoint.
  • RELATIONAL_DATABASE: The data source is a relational database.

Implementation

final DataSourceType? type;