Class ClusterProps.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Experimental) @Internal public static final class ClusterProps.Jsii$Proxy extends implements ClusterProps
An implementation for ClusterProps
  • Constructor Details

    • Jsii$Proxy

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

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

    • getMasterUser

      public final Login getMasterUser()
      Description copied from interface: ClusterProps
      (experimental) Username and password for the administrative user.
      Specified by:
      getMasterUser in interface ClusterProps
    • getVpc

      public final IVpc getVpc()
      Description copied from interface: ClusterProps
      (experimental) The VPC to place the cluster in.
      Specified by:
      getVpc in interface ClusterProps
    • getClusterName

      public final String getClusterName()
      Description copied from interface: ClusterProps
      (experimental) An optional identifier for the cluster.

      Default: - A name is automatically generated.

      Specified by:
      getClusterName in interface ClusterProps
    • getClusterType

      public final ClusterType getClusterType()
      Description copied from interface: ClusterProps
      (experimental) Settings for the individual instances that are launched.


      invalid @link
      Specified by:
      getClusterType in interface ClusterProps
    • getDefaultDatabaseName

      public final String getDefaultDatabaseName()
      Description copied from interface: ClusterProps
      (experimental) Name of a database which is automatically created inside the cluster.

      Default: - default_db

      Specified by:
      getDefaultDatabaseName in interface ClusterProps
    • getEncrypted

      public final Boolean getEncrypted()
      Description copied from interface: ClusterProps
      (experimental) Whether to enable encryption of data at rest in the cluster.

      Default: true

      Specified by:
      getEncrypted in interface ClusterProps
    • getEncryptionKey

      public final IKey getEncryptionKey()
      Description copied from interface: ClusterProps
      (experimental) The KMS key to use for encryption of data at rest.

      Default: - AWS-managed key, if encryption at rest is enabled

      Specified by:
      getEncryptionKey in interface ClusterProps
    • getLoggingBucket

      public final IBucket getLoggingBucket()
      Description copied from interface: ClusterProps
      (experimental) Bucket to send logs to.

      Logging information includes queries and connection attempts, for the specified Amazon Redshift cluster.

      Default: - No Logs

      Specified by:
      getLoggingBucket in interface ClusterProps
    • getLoggingKeyPrefix

      public final String getLoggingKeyPrefix()
      Description copied from interface: ClusterProps
      (experimental) Prefix used for logging.

      Default: - no prefix

      Specified by:
      getLoggingKeyPrefix in interface ClusterProps
    • getNodeType

      public final NodeType getNodeType()
      Description copied from interface: ClusterProps
      (experimental) The node type to be provisioned for the cluster.


      invalid @link
      Specified by:
      getNodeType in interface ClusterProps
    • getNumberOfNodes

      public final Number getNumberOfNodes()
      Description copied from interface: ClusterProps
      (experimental) Number of compute nodes in the cluster. Only specify this property for multi-node clusters.

      Value must be at least 2 and no more than 100.

      Default: - 2 if `clusterType` is ClusterType.MULTI_NODE, undefined otherwise

      Specified by:
      getNumberOfNodes in interface ClusterProps
    • getParameterGroup

      public final IClusterParameterGroup getParameterGroup()
      Description copied from interface: ClusterProps
      (experimental) Additional parameters to pass to the database engine

      Default: - No parameter group.

      Specified by:
      getParameterGroup in interface ClusterProps
    • getPort

      public final Number getPort()
      Description copied from interface: ClusterProps
      (experimental) What port to listen on.

      Default: - The default for the engine is used.

      Specified by:
      getPort in interface ClusterProps
    • getPreferredMaintenanceWindow

      public final String getPreferredMaintenanceWindow()
      Description copied from interface: ClusterProps
      (experimental) A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC).

      Example: 'Sun:23:45-Mon:00:15'

      Default: - 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.

      Specified by:
      getPreferredMaintenanceWindow in interface ClusterProps
      See Also:
    • getPubliclyAccessible

      public final Boolean getPubliclyAccessible()
      Description copied from interface: ClusterProps
      (experimental) Whether to make cluster publicly accessible.

      Default: false

      Specified by:
      getPubliclyAccessible in interface ClusterProps
    • getRemovalPolicy

      public final RemovalPolicy getRemovalPolicy()
      Description copied from interface: ClusterProps
      (experimental) The removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.

      Default: RemovalPolicy.RETAIN

      Specified by:
      getRemovalPolicy in interface ClusterProps
    • getRoles

      public final List<IRole> getRoles()
      Description copied from interface: ClusterProps
      (experimental) A list of AWS Identity and Access Management (IAM) role that can be used by the cluster to access other AWS services.

      Specify a maximum of 10 roles.

      Default: - No role is attached to the cluster.

      Specified by:
      getRoles in interface ClusterProps
    • getSecurityGroups

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

      Default: - a new security group is created.

      Specified by:
      getSecurityGroups in interface ClusterProps
    • getSubnetGroup

      public final IClusterSubnetGroup getSubnetGroup()
      Description copied from interface: ClusterProps
      (experimental) A cluster subnet group to use with this cluster.

      Default: - a new subnet group will be created.

      Specified by:
      getSubnetGroup in interface ClusterProps
    • getVpcSubnets

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

      Default: - private subnets

      Specified by:
      getVpcSubnets in interface ClusterProps
    • $jsii$toJson

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

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

      public final int hashCode()
      hashCode in class Object