Skip to content
v2.275.0

RelationalDatabaseConfigProperty Struct ​

Use the RelationalDatabaseConfig property type to specify RelationalDatabaseConfig for an AWS AppSync data source.

RelationalDatabaseConfig is a property of the AWS::AppSync::DataSource property type.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appsync as appsync } from 'aws-cdk-lib';
const relationalDatabaseConfigProperty: appsync.CfnDataSource.RelationalDatabaseConfigProperty = {
  relationalDatabaseSourceType: 'relationalDatabaseSourceType',

  // the properties below are optional
  rdsHttpEndpointConfig: {
    awsRegion: 'awsRegion',
    awsSecretStoreArn: 'awsSecretStoreArn',
    dbClusterIdentifier: 'dbClusterIdentifier',

    // the properties below are optional
    databaseName: 'databaseName',
    schema: 'schema',
  },
};

Properties ​

rdsHttpEndpointConfigoptionalIResolvable | CfnDataSource.RdsHttpEndpointConfigPropertyrds_http_endpoint_configoptionaltyping.Union[IResolvable, RdsHttpEndpointConfigProperty]rdsHttpEndpointConfigoptionalIResolvableRdsHttpEndpointConfigoptionalIResolvableRdsHttpEndpointConfigoptionalinterface{}#
Information about the Amazon RDS resource.
relationalDatabaseSourceTypestringrelational_database_source_typestrrelationalDatabaseSourceTypeStringRelationalDatabaseSourceTypestringRelationalDatabaseSourceType*stringrequired#
The type of relational data source.