Class NetworkType
The network type of the DB instance.
Inheritance
System.Object
NetworkType
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class NetworkType : Enum
Syntax (vb)
Public NotInheritable Class NetworkType
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
Vpc vpc;
// VPC and subnets must have IPv6 CIDR blocks
var cluster = new DatabaseCluster(this, "Database", new DatabaseClusterProps {
Engine = DatabaseClusterEngine.AuroraMysql(new AuroraMysqlClusterEngineProps { Version = AuroraMysqlEngineVersion.VER_3_02_1 }),
Writer = ClusterInstance.Provisioned("writer", new ProvisionedClusterInstanceProps {
PubliclyAccessible = false
}),
Vpc = vpc,
NetworkType = NetworkType.DUAL
});
Synopsis
Fields
DUAL | Dual-stack network type. |
IPV4 | IPv4 only network type. |
value__ |
Fields
DUAL
IPV4
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |