class Aws::AppSync::Types::DataSource

Describes a data source.

@!attribute [rw] data_source_arn

The data source ARN.
@return [String]

@!attribute [rw] name

The name of the data source.
@return [String]

@!attribute [rw] description

The description of the data source.
@return [String]

@!attribute [rw] type

The type of the data source.

* **AMAZON\_DYNAMODB**\: The data source is an Amazon DynamoDB
  table.

* **AMAZON\_ELASTICSEARCH**\: The data source is an Amazon
  Elasticsearch Service domain.

* **AWS\_LAMBDA**\: The data source is an Amazon Web Services Lambda
  function.

* **NONE**\: There is no data source. This type is used when you
  wish to invoke a GraphQL operation without connecting to a data
  source, such as performing data transformation with resolvers or
  triggering a subscription to be invoked from a mutation.

* **HTTP**\: The data source is an HTTP endpoint.

* **RELATIONAL\_DATABASE**\: The data source is a relational
  database.
@return [String]

@!attribute [rw] service_role_arn

The Identity and Access Management service role ARN for the data
source. The system assumes this role when accessing the data source.
@return [String]

@!attribute [rw] dynamodb_config

Amazon DynamoDB settings.
@return [Types::DynamodbDataSourceConfig]

@!attribute [rw] lambda_config

Amazon Web Services Lambda settings.
@return [Types::LambdaDataSourceConfig]

@!attribute [rw] elasticsearch_config

Amazon Elasticsearch Service settings.
@return [Types::ElasticsearchDataSourceConfig]

@!attribute [rw] http_config

HTTP endpoint settings.
@return [Types::HttpDataSourceConfig]

@!attribute [rw] relational_database_config

Relational database settings.
@return [Types::RelationalDatabaseDataSourceConfig]

@see docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DataSource AWS API Documentation

Constants

SENSITIVE