Class InstanceProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class InstanceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements InstanceProps
An implementation for InstanceProps
  • 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(InstanceProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the InstanceProps.Builder.
  • Method Details

    • getVpc

      public final IVpc getVpc()
      Description copied from interface: InstanceProps
      What subnets to run the RDS instances in.

      Must be at least 2 subnets in two different AZs.

      Specified by:
      getVpc in interface InstanceProps
    • getAllowMajorVersionUpgrade

      public final Boolean getAllowMajorVersionUpgrade()
      Description copied from interface: InstanceProps
      Whether to allow upgrade of major version for the DB instance.

      Default: - false

      Specified by:
      getAllowMajorVersionUpgrade in interface InstanceProps
    • getAutoMinorVersionUpgrade

      public final Boolean getAutoMinorVersionUpgrade()
      Description copied from interface: InstanceProps
      Whether to enable automatic upgrade of minor version for the DB instance.

      Default: - true

      Specified by:
      getAutoMinorVersionUpgrade in interface InstanceProps
    • getDeleteAutomatedBackups

      public final Boolean getDeleteAutomatedBackups()
      Description copied from interface: InstanceProps
      Whether to remove automated backups immediately after the DB instance is deleted for the DB instance.

      Default: - true

      Specified by:
      getDeleteAutomatedBackups in interface InstanceProps
    • getEnablePerformanceInsights

      public final Boolean getEnablePerformanceInsights()
      Description copied from interface: InstanceProps
      Whether to enable Performance Insights for the DB instance.

      Default: - false, unless ``performanceInsightRentention`` or ``performanceInsightEncryptionKey`` is set.

      Specified by:
      getEnablePerformanceInsights in interface InstanceProps
    • getInstanceType

      public final InstanceType getInstanceType()
      Description copied from interface: InstanceProps
      What type of instance to start for the replicas.

      Default: - t3.medium (or, more precisely, db.t3.medium)

      Specified by:
      getInstanceType in interface InstanceProps
    • getParameterGroup

      public final IParameterGroup getParameterGroup()
      Description copied from interface: InstanceProps
      The DB parameter group to associate with the instance.

      Default: no parameter group

      Specified by:
      getParameterGroup in interface InstanceProps
    • getParameters

      public final Map<String,String> getParameters()
      Description copied from interface: InstanceProps
      The parameters in the DBParameterGroup to create automatically.

      You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBParameterGroup.

      Default: - None

      Specified by:
      getParameters in interface InstanceProps
    • getPerformanceInsightEncryptionKey

      public final IKey getPerformanceInsightEncryptionKey()
      Description copied from interface: InstanceProps
      The AWS KMS key for encryption of Performance Insights data.

      Default: - default master key

      Specified by:
      getPerformanceInsightEncryptionKey in interface InstanceProps
    • getPerformanceInsightRetention

      public final PerformanceInsightRetention getPerformanceInsightRetention()
      Description copied from interface: InstanceProps
      The amount of time, in days, to retain Performance Insights data.

      Default: 7

      Specified by:
      getPerformanceInsightRetention in interface InstanceProps
    • getPubliclyAccessible

      public final Boolean getPubliclyAccessible()
      Description copied from interface: InstanceProps
      Indicates whether the DB instance is an internet-facing instance.

      Default: - `true` if `vpcSubnets` is `subnetType: SubnetType.PUBLIC`, `false` otherwise

      Specified by:
      getPubliclyAccessible in interface InstanceProps
    • getSecurityGroups

      public final List<ISecurityGroup> getSecurityGroups()
      Description copied from interface: InstanceProps
      Security group.

      Default: a new security group is created.

      Specified by:
      getSecurityGroups in interface InstanceProps
    • getVpcSubnets

      public final SubnetSelection getVpcSubnets()
      Description copied from interface: InstanceProps
      Where to place the instances within the VPC.

      Default: - the Vpc default strategy if not specified.

      Specified by:
      getVpcSubnets in interface InstanceProps
    • $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