Enum DBClusterStorageType
The storage type to be associated with the DB cluster.
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum DBClusterStorageType
Syntax (vb)
Public Enum DBClusterStorageType
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. |
Fields
| Name | Description |
|---|---|
| AURORA | Storage type for Aurora DB standard clusters. |
| AURORA_IOPT1 | Storage type for Aurora DB I/O-Optimized clusters. |