Class ClusterInstanceBindOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.rds.ClusterInstanceBindOptions.Jsii$Proxy
All Implemented Interfaces:
ClusterInstanceBindOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
ClusterInstanceBindOptions

@Stability(Stable) @Internal public static final class ClusterInstanceBindOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ClusterInstanceBindOptions
An implementation for ClusterInstanceBindOptions
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(ClusterInstanceBindOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ClusterInstanceBindOptions.Builder.
  • Method Details

    • getMonitoringInterval

      public final Duration getMonitoringInterval()
      Description copied from interface: ClusterInstanceBindOptions
      The interval, in seconds, between points when Amazon RDS collects enhanced monitoring metrics for the DB instances.

      Default: no enhanced monitoring

      Specified by:
      getMonitoringInterval in interface ClusterInstanceBindOptions
    • getMonitoringRole

      public final IRole getMonitoringRole()
      Description copied from interface: ClusterInstanceBindOptions
      Role that will be used to manage DB instances monitoring.

      Default: - A role is automatically created for you

      Specified by:
      getMonitoringRole in interface ClusterInstanceBindOptions
    • getPromotionTier

      public final Number getPromotionTier()
      Description copied from interface: ClusterInstanceBindOptions
      The promotion tier of the cluster instance.

      This matters more for serverlessV2 instances. If a serverless instance is in tier 0-1 then it will scale with the writer.

      For provisioned instances this just determines the failover priority. If multiple instances have the same priority then one will be picked at random

      Default: 2

      Specified by:
      getPromotionTier in interface ClusterInstanceBindOptions
    • getRemovalPolicy

      public final RemovalPolicy getRemovalPolicy()
      Description copied from interface: ClusterInstanceBindOptions
      The removal policy on the cluster.

      Default: - RemovalPolicy.DESTROY (cluster snapshot can restore)

      Specified by:
      getRemovalPolicy in interface ClusterInstanceBindOptions
    • getSubnetGroup

      public final ISubnetGroup getSubnetGroup()
      Description copied from interface: ClusterInstanceBindOptions
      Existing subnet group for the cluster.

      This is only needed when using the isFromLegacyInstanceProps

      Default: - cluster subnet group is used

      Specified by:
      getSubnetGroup in interface ClusterInstanceBindOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object