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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb

Overview

Describes a data source.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#data_source_arnString

The data source ARN.

Returns:

  • (String)


1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1115

class DataSource < Struct.new(
  :data_source_arn,
  :name,
  :description,
  :type,
  :service_role_arn,
  :dynamodb_config,
  :lambda_config,
  :elasticsearch_config,
  :http_config,
  :relational_database_config)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description of the data source.

Returns:

  • (String)


1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1115

class DataSource < Struct.new(
  :data_source_arn,
  :name,
  :description,
  :type,
  :service_role_arn,
  :dynamodb_config,
  :lambda_config,
  :elasticsearch_config,
  :http_config,
  :relational_database_config)
  SENSITIVE = []
  include Aws::Structure
end

#dynamodb_configTypes::DynamodbDataSourceConfig

Amazon DynamoDB settings.



1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1115

class DataSource < Struct.new(
  :data_source_arn,
  :name,
  :description,
  :type,
  :service_role_arn,
  :dynamodb_config,
  :lambda_config,
  :elasticsearch_config,
  :http_config,
  :relational_database_config)
  SENSITIVE = []
  include Aws::Structure
end

#elasticsearch_configTypes::ElasticsearchDataSourceConfig

Amazon Elasticsearch Service settings.



1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1115

class DataSource < Struct.new(
  :data_source_arn,
  :name,
  :description,
  :type,
  :service_role_arn,
  :dynamodb_config,
  :lambda_config,
  :elasticsearch_config,
  :http_config,
  :relational_database_config)
  SENSITIVE = []
  include Aws::Structure
end

#http_configTypes::HttpDataSourceConfig

HTTP endpoint settings.



1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1115

class DataSource < Struct.new(
  :data_source_arn,
  :name,
  :description,
  :type,
  :service_role_arn,
  :dynamodb_config,
  :lambda_config,
  :elasticsearch_config,
  :http_config,
  :relational_database_config)
  SENSITIVE = []
  include Aws::Structure
end

#lambda_configTypes::LambdaDataSourceConfig

AWS Lambda settings.



1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1115

class DataSource < Struct.new(
  :data_source_arn,
  :name,
  :description,
  :type,
  :service_role_arn,
  :dynamodb_config,
  :lambda_config,
  :elasticsearch_config,
  :http_config,
  :relational_database_config)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the data source.

Returns:

  • (String)


1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1115

class DataSource < Struct.new(
  :data_source_arn,
  :name,
  :description,
  :type,
  :service_role_arn,
  :dynamodb_config,
  :lambda_config,
  :elasticsearch_config,
  :http_config,
  :relational_database_config)
  SENSITIVE = []
  include Aws::Structure
end

#relational_database_configTypes::RelationalDatabaseDataSourceConfig

Relational database settings.



1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1115

class DataSource < Struct.new(
  :data_source_arn,
  :name,
  :description,
  :type,
  :service_role_arn,
  :dynamodb_config,
  :lambda_config,
  :elasticsearch_config,
  :http_config,
  :relational_database_config)
  SENSITIVE = []
  include Aws::Structure
end

#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)


1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1115

class DataSource < Struct.new(
  :data_source_arn,
  :name,
  :description,
  :type,
  :service_role_arn,
  :dynamodb_config,
  :lambda_config,
  :elasticsearch_config,
  :http_config,
  :relational_database_config)
  SENSITIVE = []
  include Aws::Structure
end

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

Returns:

  • (String)


1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1115

class DataSource < Struct.new(
  :data_source_arn,
  :name,
  :description,
  :type,
  :service_role_arn,
  :dynamodb_config,
  :lambda_config,
  :elasticsearch_config,
  :http_config,
  :relational_database_config)
  SENSITIVE = []
  include Aws::Structure
end