Class DatabaseCluster

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IConstruct, IDependable, IResource, IConnectable, IDatabaseCluster, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:40.326Z") @Stability(Experimental) public class DatabaseCluster extends DatabaseClusterBase implements IDatabaseCluster
(experimental) Create a clustered database with a given number of instances.

Example:

 DatabaseCluster cluster = DatabaseCluster.Builder.create(this, "Database")
         .vpc(vpc)
         .instanceType(InstanceType.R5_LARGE)
         .instances(2)
         .build();
 
  • Field Details

    • DEFAULT_NUM_INSTANCES

      @Stability(Experimental) public static final Number DEFAULT_NUM_INSTANCES
      (experimental) The default number of instances in the Neptune cluster if none are specified.
  • Constructor Details

    • DatabaseCluster

      protected DatabaseCluster(software.amazon.jsii.JsiiObjectRef objRef)
    • DatabaseCluster

      protected DatabaseCluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • DatabaseCluster

      @Stability(Experimental) public DatabaseCluster(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull DatabaseClusterProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details