Class DatabaseInstanceProps
(experimental) Construction properties for a DatabaseInstanceNew.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Neptune.Alpha
Assembly: Amazon.CDK.AWS.Neptune.Alpha.dll
Syntax (csharp)
public class DatabaseInstanceProps : Object, IDatabaseInstanceProps
Syntax (vb)
Public Class DatabaseInstanceProps
Inherits Object
Implements IDatabaseInstanceProps
Remarks
Stability: Experimental
ExampleMetadata: fixture=with-cluster infused
Examples
var replica1 = new DatabaseInstance(this, "Instance", new DatabaseInstanceProps {
Cluster = cluster,
InstanceType = InstanceType.R5_LARGE
});
Synopsis
Constructors
DatabaseInstanceProps() |
Properties
AvailabilityZone | (experimental) The name of the Availability Zone where the DB instance will be located. |
Cluster | (experimental) The Neptune database cluster the instance should launch into. |
DbInstanceName | (experimental) A name for the DB instance. |
InstanceType | (experimental) What type of instance to start for the replicas. |
ParameterGroup | (experimental) The DB parameter group to associate with the instance. |
RemovalPolicy | (experimental) The CloudFormation policy to apply when the instance is removed from the stack or replaced during an update. |
Constructors
DatabaseInstanceProps()
public DatabaseInstanceProps()
Properties
AvailabilityZone
(experimental) The name of the Availability Zone where the DB instance will be located.
public string AvailabilityZone { get; set; }
Property Value
System.String
Remarks
Default: - no preference
Stability: Experimental
Cluster
(experimental) The Neptune database cluster the instance should launch into.
public IDatabaseCluster Cluster { get; set; }
Property Value
Remarks
Stability: Experimental
DbInstanceName
(experimental) A name for the DB instance.
public string DbInstanceName { get; set; }
Property Value
System.String
Remarks
If you specify a name, AWS CloudFormation converts it to lowercase.
Default: - a CloudFormation generated name
Stability: Experimental
InstanceType
(experimental) What type of instance to start for the replicas.
public InstanceType InstanceType { get; set; }
Property Value
Remarks
Stability: Experimental
ParameterGroup
(experimental) The DB parameter group to associate with the instance.
public IParameterGroup ParameterGroup { get; set; }
Property Value
Remarks
Default: no parameter group
Stability: Experimental
RemovalPolicy
(experimental) The CloudFormation policy to apply when the instance is removed from the stack or replaced during an update.
public Nullable<RemovalPolicy> RemovalPolicy { get; set; }
Property Value
System.Nullable<RemovalPolicy>
Remarks
Default: RemovalPolicy.Retain
Stability: Experimental