Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CreateDataSourceCommandInput

Hierarchy

Index

Properties

apiId

apiId: string | undefined

The API ID for the GraphQL API for the DataSource.

Optional description

description: undefined | string

A description of the DataSource.

Optional dynamodbConfig

dynamodbConfig: DynamodbDataSourceConfig

Amazon DynamoDB settings.

Optional elasticsearchConfig

elasticsearchConfig: ElasticsearchDataSourceConfig

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.

Optional httpConfig

HTTP endpoint settings.

Optional lambdaConfig

Lambda settings.

name

name: string | undefined

A user-supplied name for the DataSource.

Optional openSearchServiceConfig

openSearchServiceConfig: OpenSearchServiceDataSourceConfig

Amazon OpenSearch Service settings.

Optional relationalDatabaseConfig

relationalDatabaseConfig: RelationalDatabaseDataSourceConfig

Relational database settings.

Optional serviceRoleArn

serviceRoleArn: undefined | string

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

type: DataSourceType | string | undefined

The type of the DataSource.