@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.008Z") @Stability(value=Stable) public interface CfnDBInstanceProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.neptune.*;
CfnDBInstanceProps cfnDBInstanceProps = CfnDBInstanceProps.builder()
.dbInstanceClass("dbInstanceClass")
// the properties below are optional
.allowMajorVersionUpgrade(false)
.autoMinorVersionUpgrade(false)
.availabilityZone("availabilityZone")
.dbClusterIdentifier("dbClusterIdentifier")
.dbInstanceIdentifier("dbInstanceIdentifier")
.dbParameterGroupName("dbParameterGroupName")
.dbSnapshotIdentifier("dbSnapshotIdentifier")
.dbSubnetGroupName("dbSubnetGroupName")
.preferredMaintenanceWindow("preferredMaintenanceWindow")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDBInstanceProps.Builder
A builder for
CfnDBInstanceProps |
static class |
CfnDBInstanceProps.Jsii$Proxy
An implementation for
CfnDBInstanceProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnDBInstanceProps.Builder |
builder() |
default Object |
getAllowMajorVersionUpgrade()
Indicates that major version upgrades are allowed.
|
default Object |
getAutoMinorVersionUpgrade()
Indicates that minor version patches are applied automatically.
|
default String |
getAvailabilityZone()
Specifies the name of the Availability Zone the DB instance is located in.
|
default String |
getDbClusterIdentifier()
If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.
|
String |
getDbInstanceClass()
Contains the name of the compute and memory capacity class of the DB instance.
|
default String |
getDbInstanceIdentifier()
Contains a user-supplied database identifier.
|
default String |
getDbParameterGroupName()
The name of an existing DB parameter group or a reference to an AWS::Neptune::DBParameterGroup resource created in the template.
|
default String |
getDbSnapshotIdentifier()
This parameter is not supported.
|
default String |
getDbSubnetGroupName()
A DB subnet group to associate with the DB instance.
|
default String |
getPreferredMaintenanceWindow()
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
default List<CfnTag> |
getTags()
An arbitrary set of tags (key-value pairs) for this DB instance.
|
@Stability(value=Stable) @NotNull String getDbInstanceClass()
If you update this property, some interruptions may occur.
@Stability(value=Stable) @Nullable default Object getAllowMajorVersionUpgrade()
Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the DB instance's current version.
@Stability(value=Stable) @Nullable default Object getAutoMinorVersionUpgrade()
When updating this property, some interruptions may occur.
@Stability(value=Stable) @Nullable default String getAvailabilityZone()
@Stability(value=Stable) @Nullable default String getDbClusterIdentifier()
@Stability(value=Stable) @Nullable default String getDbInstanceIdentifier()
This identifier is the unique key that identifies a DB instance.
@Stability(value=Stable) @Nullable default String getDbParameterGroupName()
If any of the data members of the referenced parameter group are changed during an update, the DB instance might need to be restarted, which causes some interruption. If the parameter group contains static parameters, whether they were changed or not, an update triggers a reboot.
@Stability(value=Stable) @Nullable default String getDbSnapshotIdentifier()
AWS::Neptune::DBInstance does not support restoring from snapshots.
AWS::Neptune::DBCluster does support restoring from snapshots.
@Stability(value=Stable) @Nullable default String getDbSubnetGroupName()
If you update this value, the new subnet group must be a subnet group in a new virtual private cloud (VPC).
@Stability(value=Stable) @Nullable default String getPreferredMaintenanceWindow()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnDBInstanceProps.Builder builder()
CfnDBInstanceProps.Builder of CfnDBInstancePropsCopyright © 2022. All rights reserved.