Enum NetworkType
The network type of the DB instance.
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum NetworkType
Syntax (vb)
Public Enum NetworkType
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. |
| IPV6 | IPv6 only network type. |
Fields
| Name | Description |
|---|---|
| DUAL | Dual-stack network type. |
| IPV4 | IPv4 only network type. |
| IPV6 | IPv6 only network type. |