DataSource
import type { DataSource } from "https://aws-api.deno.dev/v0.3/services/appsync.ts?docs=full";
Describes a data source.
interface DataSource {
dataSourceArn?: string | null;
description?: string | null;
dynamodbConfig?: DynamodbDataSourceConfig | null;
elasticsearchConfig?: ElasticsearchDataSourceConfig | null;
httpConfig?: HttpDataSourceConfig | null;
lambdaConfig?: LambdaDataSourceConfig | null;
name?: string | null;
openSearchServiceConfig?: OpenSearchServiceDataSourceConfig | null;
relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig | null;
serviceRoleArn?: string | null;
type?: DataSourceType | null;
}§Properties
§
dynamodbConfig?: DynamodbDataSourceConfig | null
[src]DynamoDB settings.
§
elasticsearchConfig?: ElasticsearchDataSourceConfig | null
[src]Amazon OpenSearch Service settings.
§
httpConfig?: HttpDataSourceConfig | null
[src]HTTP endpoint settings.
§
lambdaConfig?: LambdaDataSourceConfig | null
[src]Lambda settings.
§
openSearchServiceConfig?: OpenSearchServiceDataSourceConfig | null
[src]Amazon OpenSearch Service settings.
§
relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig | null
[src]Relational database settings.
§
serviceRoleArn?: string | null
[src]The Identity and Access Management (IAM) service role Amazon Resource Name (ARN) for the data source. The system assumes this role when accessing the data source.
§
type?: DataSourceType | null
[src]The type of the data source.
- AWS_LAMBDA: The data source is an Lambda function.
- AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.
- AMAZON_ELASTICSEARCH: The data source is an Amazon OpenSearch Service domain.
- AMAZON_OPENSEARCH_SERVICE: The data source is an Amazon OpenSearch Service domain.
- NONE: There is no data source. Use this type when you want to invoke a GraphQL operation without connecting to a data source, such as when you're performing data transformation with resolvers or invoking a subscription from a mutation.
- HTTP: The data source is an HTTP endpoint.
- RELATIONAL_DATABASE: The data source is a relational database.