Class DBClusterStorageType
The storage type to be associated with the DB cluster.
Inheritance
System.Object
DBClusterStorageType
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class DBClusterStorageType : Enum
Syntax (vb)
Public NotInheritable Class DBClusterStorageType
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
Vpc vpc;
var cluster = new DatabaseCluster(this, "Database", new DatabaseClusterProps {
Engine = DatabaseClusterEngine.AuroraPostgres(new AuroraPostgresClusterEngineProps { Version = AuroraPostgresEngineVersion.VER_15_2 }),
Credentials = Credentials.FromUsername("adminuser", new CredentialsFromUsernameOptions { Password = SecretValue.UnsafePlainText("7959866cacc02c2d243ecfe177464fe6") }),
Writer = ClusterInstance.Provisioned("writer", new ProvisionedClusterInstanceProps {
PubliclyAccessible = false
}),
Readers = new [] { ClusterInstance.Provisioned("reader") },
StorageType = DBClusterStorageType.AURORA_IOPT1,
VpcSubnets = new SubnetSelection {
SubnetType = SubnetType.PRIVATE_WITH_EGRESS
},
Vpc = vpc
});
Synopsis
Fields
AURORA | Storage type for Aurora DB standard clusters. |
AURORA_IOPT1 | Storage type for Aurora DB I/O-Optimized clusters. |
value__ |
Fields
AURORA
Storage type for Aurora DB standard clusters.
public const DBClusterStorageType AURORA
Field Value
Type | Description |
---|---|
DBClusterStorageType |
AURORA_IOPT1
Storage type for Aurora DB I/O-Optimized clusters.
public const DBClusterStorageType AURORA_IOPT1
Field Value
Type | Description |
---|---|
DBClusterStorageType |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |