aws-cdk-lib.aws_appsync.CfnDataSource.RelationalDatabaseConfigProperty

interface RelationalDatabaseConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.AppSync.CfnDataSource.RelationalDatabaseConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappsync#CfnDataSource_RelationalDatabaseConfigProperty
Javasoftware.amazon.awscdk.services.appsync.CfnDataSource.RelationalDatabaseConfigProperty
Pythonaws_cdk.aws_appsync.CfnDataSource.RelationalDatabaseConfigProperty
TypeScript aws-cdk-lib » aws_appsync » CfnDataSource » RelationalDatabaseConfigProperty

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

// 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

NameTypeDescription
relationalDatabaseSourceTypestringThe type of relational data source.
rdsHttpEndpointConfig?IResolvable | RdsHttpEndpointConfigPropertyInformation about the Amazon RDS resource.

relationalDatabaseSourceType

Type: string

The type of relational data source.


rdsHttpEndpointConfig?

Type: IResolvable | RdsHttpEndpointConfigProperty (optional)

Information about the Amazon RDS resource.