CreateDataSourceRequest
import type { CreateDataSourceRequest } from "https://aws-api.deno.dev/v0.3/services/appsync.ts?docs=full";
interface CreateDataSourceRequest {
apiId: string;
description?: string | null;
dynamodbConfig?: DynamodbDataSourceConfig | null;
elasticsearchConfig?: ElasticsearchDataSourceConfig | null;
httpConfig?: HttpDataSourceConfig | null;
lambdaConfig?: LambdaDataSourceConfig | null;
name: string;
openSearchServiceConfig?: OpenSearchServiceDataSourceConfig | null;
relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig | null;
serviceRoleArn?: string | null;
type: DataSourceType;
}§Properties
§
dynamodbConfig?: DynamodbDataSourceConfig | null
[src]Amazon DynamoDB settings.
§
elasticsearchConfig?: ElasticsearchDataSourceConfig | null
[src]Amazon OpenSearch Service settings.
As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use "CreateDataSourceRequest$openSearchServiceConfig" to create an OpenSearch data source.
§
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
[src]The type of the DataSource
.