interface RelationalDatabaseConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppSync.CfnDataSource.RelationalDatabaseConfigProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappsync#CfnDataSource_RelationalDatabaseConfigProperty |
![]() | software.amazon.awscdk.services.appsync.CfnDataSource.RelationalDatabaseConfigProperty |
![]() | aws_cdk.aws_appsync.CfnDataSource.RelationalDatabaseConfigProperty |
![]() | 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
Name | Type | Description |
---|---|---|
relational | string | The type of relational data source. |
rds | IResolvable | Rds | Information about the Amazon RDS resource. |
relationalDatabaseSourceType
Type:
string
The type of relational data source.
rdsHttpEndpointConfig?
Type:
IResolvable
|
Rds
(optional)
Information about the Amazon RDS resource.