Interface CfnDBInstanceProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:40.304Z") @Stability(Stable) public interface CfnDBInstanceProps extends
Properties for defining a CfnDBInstance.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnDBInstanceProps cfnDBInstanceProps = CfnDBInstanceProps.builder()
         // the properties below are optional
  • Method Details

    • getDbInstanceClass

      @Stability(Stable) @NotNull String getDbInstanceClass()
      Contains the name of the compute and memory capacity class of the DB instance.

      If you update this property, some interruptions may occur.

    • getAllowMajorVersionUpgrade

      @Stability(Stable) @Nullable default Object getAllowMajorVersionUpgrade()
      Indicates that major version upgrades are allowed.

      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.

      When you change this parameter for an existing DB cluster, CloudFormation will replace your existing DB cluster with a new, empty one that uses the engine version you specified.

    • getAutoMinorVersionUpgrade

      @Stability(Stable) @Nullable default Object getAutoMinorVersionUpgrade()
      Indicates that minor version patches are applied automatically.

      When updating this property, some interruptions may occur.

    • getAvailabilityZone

      @Stability(Stable) @Nullable default String getAvailabilityZone()
      Specifies the name of the Availability Zone the DB instance is located in.
    • getDbClusterIdentifier

      @Stability(Stable) @Nullable 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.
    • getDbInstanceIdentifier

      @Stability(Stable) @Nullable default String getDbInstanceIdentifier()
      Contains a user-supplied database identifier.

      This identifier is the unique key that identifies a DB instance.

    • getDbParameterGroupName

      @Stability(Stable) @Nullable default String getDbParameterGroupName()
      The name of an existing DB parameter group or a reference to an AWS::Neptune::DBParameterGroup resource created in the template.

      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.

    • getDbSnapshotIdentifier

      @Stability(Stable) @Nullable default String getDbSnapshotIdentifier()
      This parameter is not supported.

      AWS::Neptune::DBInstance does not support restoring from snapshots.

      AWS::Neptune::DBCluster does support restoring from snapshots.

    • getDbSubnetGroupName

      @Stability(Stable) @Nullable default String getDbSubnetGroupName()
      A DB subnet group to associate with the DB instance.

      If you update this value, the new subnet group must be a subnet group in a new virtual private cloud (VPC).

    • getPreferredMaintenanceWindow

      @Stability(Stable) @Nullable default String getPreferredMaintenanceWindow()
      Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      An arbitrary set of tags (key-value pairs) for this DB instance.
    • builder

      @Stability(Stable) static CfnDBInstanceProps.Builder builder()
      a CfnDBInstanceProps.Builder of CfnDBInstanceProps