Interface CfnDataSource.RelationalDatabaseConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSource.RelationalDatabaseConfigProperty.Jsii$Proxy
- Enclosing class:
- CfnDataSource
@Stability(Stable)
public static interface CfnDataSource.RelationalDatabaseConfigProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.appsync.*;
RelationalDatabaseConfigProperty relationalDatabaseConfigProperty = RelationalDatabaseConfigProperty.builder()
.relationalDatabaseSourceType("relationalDatabaseSourceType")
// the properties below are optional
.rdsHttpEndpointConfig(RdsHttpEndpointConfigProperty.builder()
.awsRegion("awsRegion")
.awsSecretStoreArn("awsSecretStoreArn")
.dbClusterIdentifier("dbClusterIdentifier")
// the properties below are optional
.databaseName("databaseName")
.schema("schema")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSource.RelationalDatabaseConfigPropertystatic final classAn implementation forCfnDataSource.RelationalDatabaseConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRelationalDatabaseSourceType
The type of relational data source. -
getRdsHttpEndpointConfig
Information about the Amazon RDS resource. -
builder
-