public static final class UserProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements UserProps
UserProps
UserProps.Builder, UserProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
ISecret |
getAdminUser()
(experimental) The secret containing credentials to a Redshift user with administrator privileges.
|
ICluster |
getCluster()
(experimental) The cluster containing the database.
|
java.lang.String |
getDatabaseName()
(experimental) The name of the database.
|
IKey |
getEncryptionKey()
(experimental) KMS key to encrypt the generated secret.
|
RemovalPolicy |
getRemovalPolicy()
(experimental) The policy to apply when this resource is removed from the application.
|
java.lang.String |
getUsername()
(experimental) The name of the user.
|
int |
hashCode() |
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final IKey getEncryptionKey()
UserProps
Default: - the default AWS managed key is used
getEncryptionKey
in interface UserProps
public final RemovalPolicy getRemovalPolicy()
UserProps
Default: cdk.RemovalPolicy.Destroy
getRemovalPolicy
in interface UserProps
public final java.lang.String getUsername()
UserProps
For valid values, see: https://docs.aws.amazon.com/redshift/latest/dg/r_names.html
Default: - a name is generated
getUsername
in interface UserProps
public final ICluster getCluster()
DatabaseOptions
getCluster
in interface DatabaseOptions
public final java.lang.String getDatabaseName()
DatabaseOptions
getDatabaseName
in interface DatabaseOptions
public final ISecret getAdminUser()
DatabaseOptions
Secret JSON schema: { username: string; password: string }
.
Default: - the admin secret is taken from the cluster
getAdminUser
in interface DatabaseOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()