Interface CfnDataSource.IRelationalDatabaseConfigProperty
Use the RelationalDatabaseConfig
property type to specify RelationalDatabaseConfig
for an AWS AppSync data source.
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public interface IRelationalDatabaseConfigProperty
Syntax (vb)
Public Interface IRelationalDatabaseConfigProperty
Remarks
RelationalDatabaseConfig
is a property of the AWS::AppSync::DataSource property type.
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 relationalDatabaseConfigProperty = 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
Properties
RdsHttpEndpointConfig | Information about the Amazon RDS resource. |
RelationalDatabaseSourceType | The type of relational data source. |
Properties
RdsHttpEndpointConfig
Information about the Amazon RDS resource.
virtual object RdsHttpEndpointConfig { get; }
Property Value
System.Object
Remarks
RelationalDatabaseSourceType
The type of relational data source.
string RelationalDatabaseSourceType { get; }
Property Value
System.String