Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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;
}

§Properties

§
apiId: string
[src]

The API ID for the GraphQL API for the DataSource.

§
description?: string | null
[src]

A description of the DataSource.

§
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.

§
name: string
[src]

A user-supplied name for the DataSource.

§
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.

§

The type of the DataSource.