You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::AppSync::Types::DataSource

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#data_source_arn ⇒ String

The data source ARN.

Returns:

  • (String) —

    The data source ARN.

#description ⇒ String

The description of the data source.

Returns:

  • (String) —

    The description of the data source.

#dynamodb_config ⇒ Types::DynamodbDataSourceConfig

Amazon DynamoDB settings.

Returns:

#elasticsearch_config ⇒ Types::ElasticsearchDataSourceConfig

Amazon Elasticsearch Service settings.

Returns:

#http_config ⇒ Types::HttpDataSourceConfig

HTTP endpoint settings.

Returns:

#lambda_config ⇒ Types::LambdaDataSourceConfig

AWS Lambda settings.

Returns:

#name ⇒ String

The name of the data source.

Returns:

  • (String) —

    The name of the data source.

#relational_database_config ⇒ Types::RelationalDatabaseDataSourceConfig

Relational database settings.

Returns:

#service_role_arn ⇒ String

The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.

Returns:

  • (String) —

    The AWS IAM service role ARN for the data source.

#type ⇒ String

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

    Possible values:

    • AWS_LAMBDA
    • AMAZON_DYNAMODB
    • AMAZON_ELASTICSEARCH
    • NONE
    • HTTP
    • RELATIONAL_DATABASE

Returns:

  • (String) —

    The type of the data source.