DataSourceState class
Input properties used for looking up and filtering DataSource resources.
Constructors
-
DataSourceState({Input<
String?> ? apiId, Input<String?> ? arn, 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, Input<String?> ? type}) -
Creates a new DataSourceState.
apiIdAPI ID for the GraphQL API for the data source.arnARNdescriptionDescription of the data source.dynamodbConfigDynamoDB settings. SeedynamodbConfigBlock for details.elasticsearchConfigAmazon Elasticsearch settings. SeeelasticsearchConfigBlock for details.eventBridgeConfigAWS EventBridge settings. SeeeventBridgeConfigBlock for details.httpConfigHTTP settings. SeehttpConfigBlock for details.lambdaConfigAWS Lambda settings. SeelambdaConfigBlock for details.nameUser-supplied name for the data source.opensearchserviceConfigAmazon OpenSearch Service settings. SeeopensearchserviceConfigBlock for details.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.relationalDatabaseConfigAWS RDS settings. SeerelationalDatabaseConfigBlock for details.serviceRoleArnIAM service role ARN for the data source. Required iftypeis specified asAWS_LAMBDA,AMAZON_DYNAMODB,AMAZON_ELASTICSEARCH,AMAZON_EVENTBRIDGE, orAMAZON_OPENSEARCH_SERVICE.typeType of the Data Source. Valid values:AWS_LAMBDA,AMAZON_DYNAMODB,AMAZON_ELASTICSEARCH,HTTP,NONE,RELATIONAL_DATABASE,AMAZON_EVENTBRIDGE,AMAZON_OPENSEARCH_SERVICE.const -
DataSourceState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
apiId
→ Input<
String?> ? -
API ID for the GraphQL API for the data source.
final
-
arn
→ Input<
String?> ? -
ARN
final
-
description
→ Input<
String?> ? -
Description of the data source.
final
-
dynamodbConfig
→ Input<
DataSourceDynamodbConfig?> ? -
DynamoDB settings. See
dynamodbConfigBlock for details.final -
elasticsearchConfig
→ Input<
DataSourceElasticsearchConfig?> ? -
Amazon Elasticsearch settings. See
elasticsearchConfigBlock for details.final -
eventBridgeConfig
→ Input<
DataSourceEventBridgeConfig?> ? -
AWS EventBridge settings. See
eventBridgeConfigBlock for details.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
httpConfig
→ Input<
DataSourceHttpConfig?> ? -
HTTP settings. See
httpConfigBlock for details.final -
lambdaConfig
→ Input<
DataSourceLambdaConfig?> ? -
AWS Lambda settings. See
lambdaConfigBlock for details.final -
name
→ Input<
String?> ? -
User-supplied name for the data source.
final
-
opensearchserviceConfig
→ Input<
DataSourceOpensearchserviceConfig?> ? -
Amazon OpenSearch Service settings. See
opensearchserviceConfigBlock 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
relationalDatabaseConfigBlock 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
typeis specified asAWS_LAMBDA,AMAZON_DYNAMODB,AMAZON_ELASTICSEARCH,AMAZON_EVENTBRIDGE, orAMAZON_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