Show / Hide Table of Contents

Interface IRdsDataSourcePropsV2

Properties for an AppSync RDS datasource Aurora Serverless V2.

Inherited Members
IBackedDataSourceProps.ServiceRole
IBaseDataSourceProps.Api
IBaseDataSourceProps.Description
IBaseDataSourceProps.Name
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IRdsDataSourcePropsV2 : IBackedDataSourceProps, IBaseDataSourceProps
Syntax (vb)
Public Interface IRdsDataSourcePropsV2 Inherits IBackedDataSourceProps, IBaseDataSourceProps
Remarks

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
            // The values are placeholders you should change.
            using Amazon.CDK.AWS.AppSync;
            using Amazon.CDK.AWS.IAM;
            using Amazon.CDK.AWS.RDS;
            using Amazon.CDK.AWS.SecretsManager;
            using Amazon.CDK.Interfaces.AppSync;

            DatabaseCluster databaseCluster;
            IGraphQLApiRef graphQLApiRef;
            Role role;
            Secret secret;

            var rdsDataSourcePropsV2 = new RdsDataSourcePropsV2 {
                Api = graphQLApiRef,
                SecretStore = secret,
                ServerlessCluster = databaseCluster,

                // the properties below are optional
                DatabaseName = "databaseName",
                Description = "description",
                Name = "name",
                ServiceRole = role
            };

Synopsis

Properties

DatabaseName

The name of the database to use within the cluster.

SecretStore

The secret containing the credentials for the database.

ServerlessCluster

The serverless cluster to call to interact with this data source.

Properties

DatabaseName

The name of the database to use within the cluster.

string? DatabaseName { get; }
Property Value

string

Remarks

Default: - None

SecretStore

The secret containing the credentials for the database.

ISecret SecretStore { get; }
Property Value

ISecret

Remarks

ExampleMetadata: fixture=_generated

ServerlessCluster

The serverless cluster to call to interact with this data source.

IDatabaseCluster ServerlessCluster { get; }
Property Value

IDatabaseCluster

Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX