Interface IDatabaseInstanceProps
(experimental) Construction properties for a DatabaseInstanceNew.
Namespace: Amazon.CDK.AWS.Neptune
Assembly: Amazon.CDK.AWS.Neptune.dll
Syntax (csharp)
public interface IDatabaseInstanceProps
Syntax (vb)
Public Interface 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
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. |
Properties
AvailabilityZone
(experimental) The name of the Availability Zone where the DB instance will be located.
virtual string AvailabilityZone { get; }
Property Value
System.String
Remarks
Default: - no preference
Stability: Experimental
Cluster
(experimental) The Neptune database cluster the instance should launch into.
IDatabaseCluster Cluster { get; }
Property Value
Remarks
Stability: Experimental
DbInstanceName
(experimental) A name for the DB instance.
virtual string DbInstanceName { get; }
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.
InstanceType InstanceType { get; }
Property Value
Remarks
Stability: Experimental
ParameterGroup
(experimental) The DB parameter group to associate with the instance.
virtual IParameterGroup ParameterGroup { get; }
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.
virtual Nullable<RemovalPolicy> RemovalPolicy { get; }
Property Value
System.Nullable<RemovalPolicy>
Remarks
Default: RemovalPolicy.Retain
Stability: Experimental