Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Interface CreateDataSourceCommandInputProtected

The input for CreateDataSourceCommand.



apiId: undefined | string

The API ID for the GraphQL API for the DataSource.

description?: string

A description of the DataSource.

dynamodbConfig?: DynamodbDataSourceConfig

Amazon DynamoDB settings.

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.

eventBridgeConfig?: EventBridgeDataSourceConfig

Amazon EventBridge settings.

HTTP endpoint settings.

lambdaConfig?: LambdaDataSourceConfig

Lambda settings.

name: undefined | string

A user-supplied name for the DataSource.

openSearchServiceConfig?: OpenSearchServiceDataSourceConfig

Amazon OpenSearch Service settings.

relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig

Relational database settings.

serviceRoleArn?: 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: undefined | string

The type of the DataSource.