Show / Hide Table of Contents

Interface IServerlessV2ClusterInstanceProps

Options for creating a serverless v2 instance.

Inherited Members
IClusterInstanceOptions.AllowMajorVersionUpgrade
IClusterInstanceOptions.ApplyImmediately
IClusterInstanceOptions.AutoMinorVersionUpgrade
IClusterInstanceOptions.AvailabilityZone
IClusterInstanceOptions.CaCertificate
IClusterInstanceOptions.EnablePerformanceInsights
IClusterInstanceOptions.InstanceIdentifier
IClusterInstanceOptions.IsFromLegacyInstanceProps
IClusterInstanceOptions.ParameterGroup
IClusterInstanceOptions.Parameters
IClusterInstanceOptions.PerformanceInsightEncryptionKey
IClusterInstanceOptions.PerformanceInsightRetention
IClusterInstanceOptions.PreferredMaintenanceWindow
IClusterInstanceOptions.PubliclyAccessible
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IServerlessV2ClusterInstanceProps : IClusterInstanceOptions
Syntax (vb)
Public Interface IServerlessV2ClusterInstanceProps Inherits IClusterInstanceOptions
Remarks

ExampleMetadata: infused

Examples
Vpc vpc;

            var cluster = new DatabaseCluster(this, "Database", new DatabaseClusterProps {
                Engine = DatabaseClusterEngine.AuroraMysql(new AuroraMysqlClusterEngineProps { Version = AuroraMysqlEngineVersion.VER_3_01_0 }),
                Writer = ClusterInstance.Provisioned("writer", new ProvisionedClusterInstanceProps {
                    CaCertificate = CaCertificate.RDS_CA_RSA2048_G1
                }),
                Readers = new [] { ClusterInstance.ServerlessV2("reader", new ServerlessV2ClusterInstanceProps {
                    CaCertificate = CaCertificate.Of("custom-ca")
                }) },
                Vpc = vpc
            });

Synopsis

Properties

ScaleWithWriter

Only applicable to reader instances.

Properties

ScaleWithWriter

Only applicable to reader instances.

bool? ScaleWithWriter { get; }
Property Value

bool?

Remarks

If this is true then the instance will be placed in promotion tier 1, otherwise it will be placed in promotion tier 2.

For serverless v2 instances this means:

    Default: false

    Back to top Generated by DocFX