Interface ExtendedDataSourceProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ExtendedDataSourceProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.497Z") @Stability(Experimental) public interface ExtendedDataSourceProps extends software.amazon.jsii.JsiiSerializable
(experimental) props used by implementations of BaseDataSource to provide configuration.

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())
         .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();
 
  • Method Details

    • getType

      @Stability(Experimental) @NotNull String getType()
      (experimental) the type of the AppSync datasource.
    • getDynamoDbConfig

      @Stability(Experimental) @Nullable default Object getDynamoDbConfig()
      (experimental) configuration for DynamoDB Datasource.

      Default: - No config

    • getElasticsearchConfig

      @Stability(Deprecated) @Deprecated @Nullable default Object getElasticsearchConfig()
      Deprecated.
      • use openSearchConfig
      (deprecated) configuration for Elasticsearch data source.

      Default: - No config

    • getHttpConfig

      @Stability(Experimental) @Nullable default Object getHttpConfig()
      (experimental) configuration for HTTP Datasource.

      Default: - No config

    • getLambdaConfig

      @Stability(Experimental) @Nullable default Object getLambdaConfig()
      (experimental) configuration for Lambda Datasource.

      Default: - No config

    • getOpenSearchServiceConfig

      @Stability(Experimental) @Nullable default Object getOpenSearchServiceConfig()
      (experimental) configuration for OpenSearch data source.

      Default: - No config

    • getRelationalDatabaseConfig

      @Stability(Experimental) @Nullable default Object getRelationalDatabaseConfig()
      (experimental) configuration for RDS Datasource.

      Default: - No config

    • builder

      @Stability(Experimental) static ExtendedDataSourceProps.Builder builder()
      Returns:
      a ExtendedDataSourceProps.Builder of ExtendedDataSourceProps