Show / Hide Table of Contents

Interface IProvisionedClusterInstanceProps

Options for creating a provisioned 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 IProvisionedClusterInstanceProps : IClusterInstanceOptions
Syntax (vb)
Public Interface IProvisionedClusterInstanceProps 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("Instance", new ProvisionedClusterInstanceProps {
                    InstanceType = InstanceType.Of(InstanceClass.BURSTABLE3, InstanceSize.SMALL)
                }),
                Readers = new [] { ClusterInstance.Provisioned("reader") },
                InstanceUpdateBehaviour = InstanceUpdateBehaviour.ROLLING,  // Optional - defaults to rds.InstanceUpdateBehaviour.BULK
                Vpc = vpc
            });

Synopsis

Properties

InstanceType

The cluster instance type.

PromotionTier

The promotion tier of the cluster instance.

Properties

InstanceType

The cluster instance type.

InstanceType? InstanceType { get; }
Property Value

InstanceType

Remarks

Default: db.t3.medium

PromotionTier

The promotion tier of the cluster instance.

double? PromotionTier { get; }
Property Value

double?

Remarks

Can be between 0-15

For provisioned instances this just determines the failover priority. If multiple instances have the same priority then one will be picked at random

Default: 2

Back to top Generated by DocFX