Class ExtendedDataSourceProps
props used by implementations of BaseDataSource to provide configuration.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ExtendedDataSourceProps : Object, IExtendedDataSourceProps
Syntax (vb)
Public Class ExtendedDataSourceProps
Inherits Object
Implements IExtendedDataSourceProps
Remarks
Should not be used directly.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
var extendedDataSourceProps = new ExtendedDataSourceProps {
Type = "type",
// the properties below are optional
DynamoDbConfig = new DynamoDBConfigProperty {
AwsRegion = "awsRegion",
TableName = "tableName",
// the properties below are optional
DeltaSyncConfig = new DeltaSyncConfigProperty {
BaseTableTtl = "baseTableTtl",
DeltaSyncTableName = "deltaSyncTableName",
DeltaSyncTableTtl = "deltaSyncTableTtl"
},
UseCallerCredentials = false,
Versioned = false
},
ElasticsearchConfig = new ElasticsearchConfigProperty {
AwsRegion = "awsRegion",
Endpoint = "endpoint"
},
EventBridgeConfig = new EventBridgeConfigProperty {
EventBusArn = "eventBusArn"
},
HttpConfig = new HttpConfigProperty {
Endpoint = "endpoint",
// the properties below are optional
AuthorizationConfig = new AuthorizationConfigProperty {
AuthorizationType = "authorizationType",
// the properties below are optional
AwsIamConfig = new AwsIamConfigProperty {
SigningRegion = "signingRegion",
SigningServiceName = "signingServiceName"
}
}
},
LambdaConfig = new LambdaConfigProperty {
LambdaFunctionArn = "lambdaFunctionArn"
},
OpenSearchServiceConfig = new OpenSearchServiceConfigProperty {
AwsRegion = "awsRegion",
Endpoint = "endpoint"
},
RelationalDatabaseConfig = new RelationalDatabaseConfigProperty {
RelationalDatabaseSourceType = "relationalDatabaseSourceType",
// the properties below are optional
RdsHttpEndpointConfig = new RdsHttpEndpointConfigProperty {
AwsRegion = "awsRegion",
AwsSecretStoreArn = "awsSecretStoreArn",
DbClusterIdentifier = "dbClusterIdentifier",
// the properties below are optional
DatabaseName = "databaseName",
Schema = "schema"
}
}
};
Synopsis
Constructors
ExtendedDataSourceProps() |
Properties
DynamoDbConfig | configuration for DynamoDB Datasource. |
ElasticsearchConfig | (deprecated) configuration for Elasticsearch data source. |
EventBridgeConfig | configuration for EventBridge Datasource. |
HttpConfig | configuration for HTTP Datasource. |
LambdaConfig | configuration for Lambda Datasource. |
OpenSearchServiceConfig | configuration for OpenSearch data source. |
RelationalDatabaseConfig | configuration for RDS Datasource. |
Type | the type of the AppSync datasource. |
Constructors
ExtendedDataSourceProps()
public ExtendedDataSourceProps()
Properties
DynamoDbConfig
configuration for DynamoDB Datasource.
public object DynamoDbConfig { get; set; }
Property Value
System.Object
Remarks
Default: - No config
ElasticsearchConfig
(deprecated) configuration for Elasticsearch data source.
public object ElasticsearchConfig { get; set; }
Property Value
System.Object
Remarks
Default: - No config
Stability: Deprecated
EventBridgeConfig
configuration for EventBridge Datasource.
public object EventBridgeConfig { get; set; }
Property Value
System.Object
Remarks
Default: - No config
HttpConfig
configuration for HTTP Datasource.
public object HttpConfig { get; set; }
Property Value
System.Object
Remarks
Default: - No config
LambdaConfig
configuration for Lambda Datasource.
public object LambdaConfig { get; set; }
Property Value
System.Object
Remarks
Default: - No config
OpenSearchServiceConfig
configuration for OpenSearch data source.
public object OpenSearchServiceConfig { get; set; }
Property Value
System.Object
Remarks
Default: - No config
RelationalDatabaseConfig
configuration for RDS Datasource.
public object RelationalDatabaseConfig { get; set; }
Property Value
System.Object
Remarks
Default: - No config
Type
the type of the AppSync datasource.
public string Type { get; set; }
Property Value
System.String