GetDataSourceResult

data class GetDataSourceResult(val dataSourceArn: String? = null, val description: String? = null, val dynamoDbConfig: DataSourceDynamoDbConfig? = null, val elasticsearchConfig: DataSourceElasticsearchConfig? = null, val eventBridgeConfig: DataSourceEventBridgeConfig? = null, val httpConfig: DataSourceHttpConfig? = null, val lambdaConfig: DataSourceLambdaConfig? = null, val metricsConfig: DataSourceMetricsConfig? = null, val openSearchServiceConfig: DataSourceOpenSearchServiceConfig? = null, val relationalDatabaseConfig: DataSourceRelationalDatabaseConfig? = null, val serviceRoleArn: String? = null, val type: String? = null)

Constructors

Link copied to clipboard
constructor(dataSourceArn: String? = null, description: String? = null, dynamoDbConfig: DataSourceDynamoDbConfig? = null, elasticsearchConfig: DataSourceElasticsearchConfig? = null, eventBridgeConfig: DataSourceEventBridgeConfig? = null, httpConfig: DataSourceHttpConfig? = null, lambdaConfig: DataSourceLambdaConfig? = null, metricsConfig: DataSourceMetricsConfig? = null, openSearchServiceConfig: DataSourceOpenSearchServiceConfig? = null, relationalDatabaseConfig: DataSourceRelationalDatabaseConfig? = null, serviceRoleArn: String? = null, type: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val dataSourceArn: String? = null

The Amazon Resource Name (ARN) of the API key, such as arn:aws:appsync:us-east-1:123456789012:apis/graphqlapiid/datasources/datasourcename.

Link copied to clipboard
val description: String? = null

The description of the data source.

Link copied to clipboard

AWS Region and TableName for an Amazon DynamoDB table in your account.

Link copied to clipboard

AWS Region and Endpoints for an Amazon OpenSearch Service domain in your account. As of September 2021, Amazon Elasticsearch Service is Amazon OpenSearch Service. This property is deprecated. For new data sources, use OpenSearchServiceConfig to specify an OpenSearch Service data source.

Link copied to clipboard

ARN for the EventBridge bus.

Link copied to clipboard

Endpoints for an HTTP data source.

Link copied to clipboard

An ARN of a Lambda function in valid ARN format. This can be the ARN of a Lambda function that exists in the current account or in another account.

Link copied to clipboard

Enables or disables enhanced data source metrics for specified data sources. Note that MetricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS . If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, MetricsConfig will be ignored. However, you can still set its value. MetricsConfig can be ENABLED or DISABLED .

Link copied to clipboard

AWS Region and Endpoints for an Amazon OpenSearch Service domain in your account.

Link copied to clipboard

Relational Database configuration of the relational database data source.

Link copied to clipboard
val serviceRoleArn: String? = null

The AWS Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source.

Link copied to clipboard
val type: String? = null

The type of the data source.