AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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_arnString

The data source ARN.

Returns:

  • (String)

    The data source ARN.

#descriptionString

The description of the data source.

Returns:

  • (String)

    The description of the data source.

#dynamodb_configTypes::DynamodbDataSourceConfig

Amazon DynamoDB settings.

Returns:

#elasticsearch_configTypes::ElasticsearchDataSourceConfig

Amazon Elasticsearch Service settings.

Returns:

#http_configTypes::HttpDataSourceConfig

HTTP endpoint settings.

Returns:

#lambda_configTypes::LambdaDataSourceConfig

AWS Lambda settings.

Returns:

#nameString

The name of the data source.

Returns:

  • (String)

    The name of the data source.

#relational_database_configTypes::RelationalDatabaseDataSourceConfig

Relational database settings.

Returns:

#service_role_arnString

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.

#typeString

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.