DataSourceArgs

data class DataSourceArgs(val apiId: Output<String>? = null, val description: Output<String>? = null, val dynamoDbConfig: Output<DataSourceDynamoDbConfigArgs>? = null, val elasticsearchConfig: Output<DataSourceElasticsearchConfigArgs>? = null, val eventBridgeConfig: Output<DataSourceEventBridgeConfigArgs>? = null, val httpConfig: Output<DataSourceHttpConfigArgs>? = null, val lambdaConfig: Output<DataSourceLambdaConfigArgs>? = null, val metricsConfig: Output<DataSourceMetricsConfig>? = null, val name: Output<String>? = null, val openSearchServiceConfig: Output<DataSourceOpenSearchServiceConfigArgs>? = null, val relationalDatabaseConfig: Output<DataSourceRelationalDatabaseConfigArgs>? = null, val serviceRoleArn: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<DataSourceArgs>

Resource Type definition for AWS::AppSync::DataSource

Example Usage

Example

No Java example available.

Example

No Java example available.

Constructors

Link copied to clipboard
constructor(apiId: Output<String>? = null, description: Output<String>? = null, dynamoDbConfig: Output<DataSourceDynamoDbConfigArgs>? = null, elasticsearchConfig: Output<DataSourceElasticsearchConfigArgs>? = null, eventBridgeConfig: Output<DataSourceEventBridgeConfigArgs>? = null, httpConfig: Output<DataSourceHttpConfigArgs>? = null, lambdaConfig: Output<DataSourceLambdaConfigArgs>? = null, metricsConfig: Output<DataSourceMetricsConfig>? = null, name: Output<String>? = null, openSearchServiceConfig: Output<DataSourceOpenSearchServiceConfigArgs>? = null, relationalDatabaseConfig: Output<DataSourceRelationalDatabaseConfigArgs>? = null, serviceRoleArn: Output<String>? = null, type: Output<String>? = null)

Properties

Link copied to clipboard
val apiId: Output<String>? = null

Unique AWS AppSync GraphQL API identifier where this data source will be created.

Link copied to clipboard
val description: Output<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
val name: Output<String>? = null

Friendly name for you to identify your AppSync data source after creation.

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: Output<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: Output<String>? = null

The type of the data source.

Functions

Link copied to clipboard
open override fun toJava(): DataSourceArgs