# RelationalDatabaseConfigProperty

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

`RelationalDatabaseConfig` is a property of the [AWS::AppSync::DataSource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html) property type.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

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

- `rdsHttpEndpointConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSource.RdsHttpEndpointConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appsync.CfnDataSource.RdsHttpEndpointConfigProperty.html) — Information about the Amazon RDS resource.

- `relationalDatabaseSourceType`: string (required) — The type of relational data source.
