AWS SDK Version 3 for .NET
API Reference

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.

Describes a data source.

Inheritance Hierarchy

System.Object
  Amazon.AppSync.Model.DataSource

Namespace: Amazon.AppSync.Model
Assembly: AWSSDK.AppSync.dll
Version: 3.x.y.z

Syntax

C#
public class DataSource

The DataSource type exposes the following members

Constructors

NameDescription
Public Method DataSource()

Properties

NameTypeDescription
Public Property DataSourceArn System.String

Gets and sets the property DataSourceArn.

The data source ARN.

Public Property Description System.String

Gets and sets the property Description.

The description of the data source.

Public Property DynamodbConfig Amazon.AppSync.Model.DynamodbDataSourceConfig

Gets and sets the property DynamodbConfig.

DynamoDB settings.

Public Property ElasticsearchConfig Amazon.AppSync.Model.ElasticsearchDataSourceConfig

Gets and sets the property ElasticsearchConfig.

Amazon Elasticsearch settings.

Public Property HttpConfig Amazon.AppSync.Model.HttpDataSourceConfig

Gets and sets the property HttpConfig.

Http endpoint settings.

Public Property LambdaConfig Amazon.AppSync.Model.LambdaDataSourceConfig

Gets and sets the property LambdaConfig.

Lambda settings.

Public Property Name System.String

Gets and sets the property Name.

The name of the data source.

Public Property ServiceRoleArn System.String

Gets and sets the property ServiceRoleArn.

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

Public Property Type Amazon.AppSync.DataSourceType

Gets and sets the property 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 AWS Lambda function.

  • NONE: There is no data source. This type is used when 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.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms