Show / Hide Table of Contents

Class AuroraPostgresClusterEngineProps

Creation properties of the Aurora PostgreSQL database cluster engine.

Inheritance
object
AuroraPostgresClusterEngineProps
Implements
IAuroraPostgresClusterEngineProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AuroraPostgresClusterEngineProps : IAuroraPostgresClusterEngineProps
Syntax (vb)
Public Class AuroraPostgresClusterEngineProps Implements IAuroraPostgresClusterEngineProps
Remarks

Used in DatabaseClusterEngine.auroraPostgres.

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

Constructors

AuroraPostgresClusterEngineProps()

Creation properties of the Aurora PostgreSQL database cluster engine.

Properties

Version

The version of the Aurora PostgreSQL cluster engine.

Constructors

AuroraPostgresClusterEngineProps()

Creation properties of the Aurora PostgreSQL database cluster engine.

public AuroraPostgresClusterEngineProps()
Remarks

Used in DatabaseClusterEngine.auroraPostgres.

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
             });

Properties

Version

The version of the Aurora PostgreSQL cluster engine.

public AuroraPostgresEngineVersion Version { get; set; }
Property Value

AuroraPostgresEngineVersion

Remarks

Used in DatabaseClusterEngine.auroraPostgres.

ExampleMetadata: infused

Implements

IAuroraPostgresClusterEngineProps
Back to top Generated by DocFX