DataSourceArgs class

The set of arguments for DataSource. The set of arguments for DataSource.

Constructors

DataSourceArgs({required Input<String> apiId, Input<String?>? description, Input<DataSourceDynamodbConfig?>? dynamodbConfig, Input<DataSourceElasticsearchConfig?>? elasticsearchConfig, Input<DataSourceEventBridgeConfig?>? eventBridgeConfig, Input<DataSourceHttpConfig?>? httpConfig, Input<DataSourceLambdaConfig?>? lambdaConfig, Input<String?>? name, Input<DataSourceOpensearchserviceConfig?>? opensearchserviceConfig, Input<String?>? region, Input<DataSourceRelationalDatabaseConfig?>? relationalDatabaseConfig, Input<String?>? serviceRoleArn, required Input<String> type})
Creates a new DataSourceArgs. apiId API ID for the GraphQL API for the data source. description Description of the data source. dynamodbConfig DynamoDB settings. See dynamodbConfig Block for details. elasticsearchConfig Amazon Elasticsearch settings. See elasticsearchConfig Block for details. eventBridgeConfig AWS EventBridge settings. See eventBridgeConfig Block for details. httpConfig HTTP settings. See httpConfig Block for details. lambdaConfig AWS Lambda settings. See lambdaConfig Block for details. name User-supplied name for the data source. opensearchserviceConfig Amazon OpenSearch Service settings. See opensearchserviceConfig Block for details. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. relationalDatabaseConfig AWS RDS settings. See relationalDatabaseConfig Block for details. serviceRoleArn IAM service role ARN for the data source. Required if type is specified as AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, AMAZON_EVENTBRIDGE, or AMAZON_OPENSEARCH_SERVICE. type Type of the Data Source. Valid values: AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, HTTP, NONE, RELATIONAL_DATABASE, AMAZON_EVENTBRIDGE, AMAZON_OPENSEARCH_SERVICE.
const
DataSourceArgs.fromMap(Map<String, dynamic> map)
factory

Properties

apiId → Input<String>
API ID for the GraphQL API for the data source.
final
description → Input<String?>?
Description of the data source.
final
dynamodbConfig → Input<DataSourceDynamodbConfig?>?
DynamoDB settings. See dynamodbConfig Block for details.
final
elasticsearchConfig → Input<DataSourceElasticsearchConfig?>?
Amazon Elasticsearch settings. See elasticsearchConfig Block for details.
final
eventBridgeConfig → Input<DataSourceEventBridgeConfig?>?
AWS EventBridge settings. See eventBridgeConfig Block for details.
final
hashCode → int
The hash code for this object.
no setterinherited
httpConfig → Input<DataSourceHttpConfig?>?
HTTP settings. See httpConfig Block for details.
final
lambdaConfig → Input<DataSourceLambdaConfig?>?
AWS Lambda settings. See lambdaConfig Block for details.
final
name → Input<String?>?
User-supplied name for the data source.
final
opensearchserviceConfig → Input<DataSourceOpensearchserviceConfig?>?
Amazon OpenSearch Service settings. See opensearchserviceConfig Block for details.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
relationalDatabaseConfig → Input<DataSourceRelationalDatabaseConfig?>?
AWS RDS settings. See relationalDatabaseConfig Block for details.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceRoleArn → Input<String?>?
IAM service role ARN for the data source. Required if type is specified as AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, AMAZON_EVENTBRIDGE, or AMAZON_OPENSEARCH_SERVICE.
final
type → Input<String>
Type of the Data Source. Valid values: AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, HTTP, NONE, RELATIONAL_DATABASE, AMAZON_EVENTBRIDGE, AMAZON_OPENSEARCH_SERVICE.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited