Class UserProps.Jsii$Proxy

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

@Stability(Experimental) @Internal public static final class UserProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements UserProps
An implementation for UserProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.redshift.UserProps

    UserProps.Builder, UserProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the UserProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final ISecret
    (experimental) The secret containing credentials to a Redshift user with administrator privileges.
    final ICluster
    (experimental) The cluster containing the database.
    final String
    (experimental) The name of the database.
    final IKey
    (experimental) KMS key to encrypt the generated secret.
    (experimental) The policy to apply when this resource is removed from the application.
    final String
    (experimental) The name of the user.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(UserProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the UserProps.Builder.
  • Method Details

    • getEncryptionKey

      public final IKey getEncryptionKey()
      Description copied from interface: UserProps
      (experimental) KMS key to encrypt the generated secret.

      Default: - the default AWS managed key is used

      Specified by:
      getEncryptionKey in interface UserProps
    • getRemovalPolicy

      public final RemovalPolicy getRemovalPolicy()
      Description copied from interface: UserProps
      (experimental) The policy to apply when this resource is removed from the application.

      Default: cdk.RemovalPolicy.Destroy

      Specified by:
      getRemovalPolicy in interface UserProps
    • getUsername

      public final String getUsername()
      Description copied from interface: UserProps
      (experimental) The name of the user.

      For valid values, see: https://docs.aws.amazon.com/redshift/latest/dg/r_names.html

      Default: - a name is generated

      Specified by:
      getUsername in interface UserProps
    • getCluster

      public final ICluster getCluster()
      Description copied from interface: DatabaseOptions
      (experimental) The cluster containing the database.
      Specified by:
      getCluster in interface DatabaseOptions
    • getDatabaseName

      public final String getDatabaseName()
      Description copied from interface: DatabaseOptions
      (experimental) The name of the database.
      Specified by:
      getDatabaseName in interface DatabaseOptions
    • getAdminUser

      public final ISecret getAdminUser()
      Description copied from interface: DatabaseOptions
      (experimental) The secret containing credentials to a Redshift user with administrator privileges.

      Secret JSON schema: { username: string; password: string }.

      Default: - the admin secret is taken from the cluster

      Specified by:
      getAdminUser in interface DatabaseOptions
    • $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