@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:12.580Z") @Stability(value=Experimental) public interface DatabaseInstanceProps extends software.amazon.jsii.JsiiSerializable
Example:
DatabaseInstance replica1 = DatabaseInstance.Builder.create(this, "Instance")
.cluster(cluster)
.instanceType(InstanceType.R5_LARGE)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
DatabaseInstanceProps.Builder
A builder for
DatabaseInstanceProps |
static class |
DatabaseInstanceProps.Jsii$Proxy
An implementation for
DatabaseInstanceProps |
| Modifier and Type | Method and Description |
|---|---|
static DatabaseInstanceProps.Builder |
builder() |
default String |
getAvailabilityZone()
(experimental) The name of the Availability Zone where the DB instance will be located.
|
IDatabaseCluster |
getCluster()
(experimental) The Neptune database cluster the instance should launch into.
|
default String |
getDbInstanceName()
(experimental) A name for the DB instance.
|
InstanceType |
getInstanceType()
(experimental) What type of instance to start for the replicas.
|
default IParameterGroup |
getParameterGroup()
(experimental) The DB parameter group to associate with the instance.
|
default RemovalPolicy |
getRemovalPolicy()
(experimental) The CloudFormation policy to apply when the instance is removed from the stack or replaced during an update.
|
@Stability(value=Experimental) @NotNull IDatabaseCluster getCluster()
@Stability(value=Experimental) @NotNull InstanceType getInstanceType()
@Stability(value=Experimental) @Nullable default String getAvailabilityZone()
Default: - no preference
@Stability(value=Experimental) @Nullable default String getDbInstanceName()
If you specify a name, AWS CloudFormation converts it to lowercase.
Default: - a CloudFormation generated name
@Stability(value=Experimental) @Nullable default IParameterGroup getParameterGroup()
Default: no parameter group
@Stability(value=Experimental) @Nullable default RemovalPolicy getRemovalPolicy()
Default: RemovalPolicy.Retain
@Stability(value=Experimental) static DatabaseInstanceProps.Builder builder()
DatabaseInstanceProps.Builder of DatabaseInstancePropsCopyright © 2022. All rights reserved.