@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:42.880Z") @Stability(value=Experimental) public interface RdsDataSourceProps extends software.amazon.jsii.JsiiSerializable, BackedDataSourceProps
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.*;
GraphqlApi graphqlApi;
Role role;
Secret secret;
ServerlessCluster serverlessCluster;
RdsDataSourceProps rdsDataSourceProps = RdsDataSourceProps.builder()
.api(graphqlApi)
.secretStore(secret)
.serverlessCluster(serverlessCluster)
// the properties below are optional
.databaseName("databaseName")
.description("description")
.name("name")
.serviceRole(role)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
RdsDataSourceProps.Builder
A builder for
RdsDataSourceProps |
static class |
RdsDataSourceProps.Jsii$Proxy
An implementation for
RdsDataSourceProps |
| Modifier and Type | Method and Description |
|---|---|
static RdsDataSourceProps.Builder |
builder() |
default String |
getDatabaseName()
(experimental) The name of the database to use within the cluster.
|
ISecret |
getSecretStore()
(experimental) The secret containing the credentials for the database.
|
IServerlessCluster |
getServerlessCluster()
(experimental) The serverless cluster to call to interact with this data source.
|
getServiceRolegetApi, getDescription, getName@Stability(value=Experimental) @NotNull ISecret getSecretStore()
@Stability(value=Experimental) @NotNull IServerlessCluster getServerlessCluster()
@Stability(value=Experimental) @Nullable default String getDatabaseName()
Default: - None
@Stability(value=Experimental) static RdsDataSourceProps.Builder builder()
builder in interface BackedDataSourcePropsbuilder in interface BaseDataSourcePropsRdsDataSourceProps.Builder of RdsDataSourcePropsCopyright © 2022. All rights reserved.