Interface ExtendedDataSourceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ExtendedDataSourceProps.Jsii$Proxy
Should not be used directly.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appsync.*;
ExtendedDataSourceProps extendedDataSourceProps = ExtendedDataSourceProps.builder()
.type("type")
// the properties below are optional
.dynamoDbConfig(DynamoDBConfigProperty.builder()
.awsRegion("awsRegion")
.tableName("tableName")
// the properties below are optional
.deltaSyncConfig(DeltaSyncConfigProperty.builder()
.baseTableTtl("baseTableTtl")
.deltaSyncTableName("deltaSyncTableName")
.deltaSyncTableTtl("deltaSyncTableTtl")
.build())
.useCallerCredentials(false)
.versioned(false)
.build())
.elasticsearchConfig(ElasticsearchConfigProperty.builder()
.awsRegion("awsRegion")
.endpoint("endpoint")
.build())
.eventBridgeConfig(EventBridgeConfigProperty.builder()
.eventBusArn("eventBusArn")
.build())
.httpConfig(HttpConfigProperty.builder()
.endpoint("endpoint")
// the properties below are optional
.authorizationConfig(AuthorizationConfigProperty.builder()
.authorizationType("authorizationType")
// the properties below are optional
.awsIamConfig(AwsIamConfigProperty.builder()
.signingRegion("signingRegion")
.signingServiceName("signingServiceName")
.build())
.build())
.build())
.lambdaConfig(LambdaConfigProperty.builder()
.lambdaFunctionArn("lambdaFunctionArn")
.build())
.openSearchServiceConfig(OpenSearchServiceConfigProperty.builder()
.awsRegion("awsRegion")
.endpoint("endpoint")
.build())
.relationalDatabaseConfig(RelationalDatabaseConfigProperty.builder()
.relationalDatabaseSourceType("relationalDatabaseSourceType")
// the properties below are optional
.rdsHttpEndpointConfig(RdsHttpEndpointConfigProperty.builder()
.awsRegion("awsRegion")
.awsSecretStoreArn("awsSecretStoreArn")
.dbClusterIdentifier("dbClusterIdentifier")
// the properties below are optional
.databaseName("databaseName")
.schema("schema")
.build())
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forExtendedDataSourcePropsstatic final classAn implementation forExtendedDataSourceProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default Objectconfiguration for DynamoDB Datasource.default ObjectDeprecated.default Objectconfiguration for EventBridge Datasource.default Objectconfiguration for HTTP Datasource.default Objectconfiguration for Lambda Datasource.default Objectconfiguration for OpenSearch data source.default Objectconfiguration for RDS Datasource.getType()the type of the AppSync datasource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
the type of the AppSync datasource. -
getDynamoDbConfig
configuration for DynamoDB Datasource.Returns union: either
IResolvableorCfnDataSource.DynamoDBConfigPropertyDefault: - No config
-
getElasticsearchConfig
Deprecated.- use
openSearchConfig
(deprecated) configuration for Elasticsearch data source.Returns union: either
IResolvableorCfnDataSource.ElasticsearchConfigPropertyDefault: - No config
- use
-
getEventBridgeConfig
configuration for EventBridge Datasource.Returns union: either
IResolvableorCfnDataSource.EventBridgeConfigPropertyDefault: - No config
-
getHttpConfig
configuration for HTTP Datasource.Returns union: either
IResolvableorCfnDataSource.HttpConfigPropertyDefault: - No config
-
getLambdaConfig
configuration for Lambda Datasource.Returns union: either
IResolvableorCfnDataSource.LambdaConfigPropertyDefault: - No config
-
getOpenSearchServiceConfig
configuration for OpenSearch data source.Returns union: either
IResolvableorCfnDataSource.OpenSearchServiceConfigPropertyDefault: - No config
-
getRelationalDatabaseConfig
configuration for RDS Datasource.Returns union: either
IResolvableorCfnDataSource.RelationalDatabaseConfigPropertyDefault: - No config
-
builder
- Returns:
- a
ExtendedDataSourceProps.BuilderofExtendedDataSourceProps
-
openSearchConfig