ExtendedDataSourceProps

class aws_cdk.aws_appsync.ExtendedDataSourceProps(*, type, dynamo_db_config=None, elasticsearch_config=None, http_config=None, lambda_config=None, relational_database_config=None)

Bases: object

__init__(*, type, dynamo_db_config=None, elasticsearch_config=None, http_config=None, lambda_config=None, relational_database_config=None)

props used by implementations of BaseDataSource to provide configuration.

Should not be used directly.

Parameters
  • type (str) – the type of the AppSync datasource.

  • dynamo_db_config (Union[IResolvable, None, DynamoDBConfigProperty]) – configuration for DynamoDB Datasource. Default: - No config

  • elasticsearch_config (Union[IResolvable, None, ElasticsearchConfigProperty]) – configuration for Elasticsearch Datasource. Default: - No config

  • http_config (Union[IResolvable, None, HttpConfigProperty]) – configuration for HTTP Datasource. Default: - No config

  • lambda_config (Union[IResolvable, None, LambdaConfigProperty]) – configuration for Lambda Datasource. Default: - No config

  • relational_database_config (Union[IResolvable, None, RelationalDatabaseConfigProperty]) – configuration for RDS Datasource. Default: - No config

stability :stability: experimental

Attributes

dynamo_db_config

configuration for DynamoDB Datasource.

default :default: - No config

stability :stability: experimental

Return type

Union[IResolvable, None, DynamoDBConfigProperty]

elasticsearch_config

configuration for Elasticsearch Datasource.

default :default: - No config

stability :stability: experimental

Return type

Union[IResolvable, None, ElasticsearchConfigProperty]

http_config

configuration for HTTP Datasource.

default :default: - No config

stability :stability: experimental

Return type

Union[IResolvable, None, HttpConfigProperty]

lambda_config

configuration for Lambda Datasource.

default :default: - No config

stability :stability: experimental

Return type

Union[IResolvable, None, LambdaConfigProperty]

relational_database_config

configuration for RDS Datasource.

default :default: - No config

stability :stability: experimental

Return type

Union[IResolvable, None, RelationalDatabaseConfigProperty]

type

the type of the AppSync datasource.

stability :stability: experimental

Return type

str