Interface DatabaseInstanceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DatabaseInstanceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.338Z")
@Stability(Experimental)
public interface DatabaseInstanceProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Construction properties for a DatabaseInstanceNew.
Example:
DatabaseInstance replica1 = DatabaseInstance.Builder.create(this, "Instance") .cluster(cluster) .instanceType(InstanceType.R5_LARGE) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forDatabaseInstanceProps
static final class
An implementation forDatabaseInstanceProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
(experimental) The name of the Availability Zone where the DB instance will be located.(experimental) The Neptune database cluster the instance should launch into.default String
(experimental) A name for the DB instance.(experimental) What type of instance to start for the replicas.default IParameterGroup
(experimental) The DB parameter group to associate with the instance.default RemovalPolicy
(experimental) The CloudFormation policy to apply when the instance is removed from the stack or replaced during an update.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCluster
(experimental) The Neptune database cluster the instance should launch into. -
getInstanceType
(experimental) What type of instance to start for the replicas. -
getAvailabilityZone
(experimental) The name of the Availability Zone where the DB instance will be located.Default: - no preference
-
getDbInstanceName
(experimental) A name for the DB instance.If you specify a name, AWS CloudFormation converts it to lowercase.
Default: - a CloudFormation generated name
-
getParameterGroup
(experimental) The DB parameter group to associate with the instance.Default: no parameter group
-
getRemovalPolicy
(experimental) The CloudFormation policy to apply when the instance is removed from the stack or replaced during an update.Default: RemovalPolicy.Retain
-
builder
- Returns:
- a
DatabaseInstanceProps.Builder
ofDatabaseInstanceProps
-