Interface AppSyncRdsDataSourcePropsV2
- All Superinterfaces:
AppSyncBackedDataSourceProps,AppSyncBaseDataSourceProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AppSyncRdsDataSourcePropsV2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:28.839Z")
@Stability(Stable)
public interface AppSyncRdsDataSourcePropsV2
extends software.amazon.jsii.JsiiSerializable, AppSyncBackedDataSourceProps
Properties for an AppSync RDS datasource Aurora Serverless V2.
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.*;
import software.amazon.awscdk.services.iam.*;
import software.amazon.awscdk.services.rds.*;
import software.amazon.awscdk.services.secretsmanager.*;
IApi api;
DatabaseCluster databaseCluster;
Role role;
Secret secret;
AppSyncRdsDataSourcePropsV2 appSyncRdsDataSourcePropsV2 = AppSyncRdsDataSourcePropsV2.builder()
.api(api)
.secretStore(secret)
.serverlessCluster(databaseCluster)
// the properties below are optional
.databaseName("databaseName")
.description("description")
.name("name")
.serviceRole(role)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAppSyncRdsDataSourcePropsV2static final classAn implementation forAppSyncRdsDataSourcePropsV2 -
Method Summary
Methods inherited from interface software.amazon.awscdk.services.appsync.AppSyncBackedDataSourceProps
getServiceRoleMethods inherited from interface software.amazon.awscdk.services.appsync.AppSyncBaseDataSourceProps
getApi, getDescription, getNameMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSecretStore
The secret containing the credentials for the database. -
getServerlessCluster
The serverless cluster to call to interact with this data source. -
getDatabaseName
The name of the database to use within the cluster.Default: - None
-
builder
-