@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:03.087Z") @Stability(value=Experimental) public interface ExtendedDataSourceProps extends software.amazon.jsii.JsiiSerializable
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())
.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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ExtendedDataSourceProps.Builder
A builder for
ExtendedDataSourceProps |
static class |
ExtendedDataSourceProps.Jsii$Proxy
An implementation for
ExtendedDataSourceProps |
| Modifier and Type | Method and Description |
|---|---|
static ExtendedDataSourceProps.Builder |
builder() |
default Object |
getDynamoDbConfig()
(experimental) configuration for DynamoDB Datasource.
|
default Object |
getElasticsearchConfig()
(experimental) configuration for Elasticsearch Datasource.
|
default Object |
getHttpConfig()
(experimental) configuration for HTTP Datasource.
|
default Object |
getLambdaConfig()
(experimental) configuration for Lambda Datasource.
|
default Object |
getRelationalDatabaseConfig()
(experimental) configuration for RDS Datasource.
|
String |
getType()
(experimental) the type of the AppSync datasource.
|
@Stability(value=Experimental) @NotNull String getType()
@Stability(value=Experimental) @Nullable default Object getDynamoDbConfig()
Default: - No config
@Stability(value=Experimental) @Nullable default Object getElasticsearchConfig()
Default: - No config
@Stability(value=Experimental) @Nullable default Object getHttpConfig()
Default: - No config
@Stability(value=Experimental) @Nullable default Object getLambdaConfig()
Default: - No config
@Stability(value=Experimental) @Nullable default Object getRelationalDatabaseConfig()
Default: - No config
@Stability(value=Experimental) static ExtendedDataSourceProps.Builder builder()
ExtendedDataSourceProps.Builder of ExtendedDataSourcePropsCopyright © 2022. All rights reserved.