@Stability(value=Experimental) @Internal public static final class UserProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements UserProps
UserPropssoftware.amazon.jsii.JsiiObject.InitializationModeUserProps.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.
|
protected |
Jsii$Proxy(UserProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
UserProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
ISecret |
getAdminUser()
(experimental) The secret containing credentials to a Redshift user with administrator privileges.
|
ICluster |
getCluster()
(experimental) The cluster containing the database.
|
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.
|
String |
getUsername()
(experimental) The name of the user.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(UserProps.Builder builder)
UserProps.Builder.public final IKey getEncryptionKey()
UserPropsDefault: - the default AWS managed key is used
getEncryptionKey in interface UserPropspublic final RemovalPolicy getRemovalPolicy()
UserPropsDefault: cdk.RemovalPolicy.Destroy
getRemovalPolicy in interface UserPropspublic final String getUsername()
UserPropsFor valid values, see: https://docs.aws.amazon.com/redshift/latest/dg/r_names.html
Default: - a name is generated
getUsername in interface UserPropspublic final ICluster getCluster()
DatabaseOptionsgetCluster in interface DatabaseOptionspublic final String getDatabaseName()
DatabaseOptionsgetDatabaseName in interface DatabaseOptionspublic final ISecret getAdminUser()
DatabaseOptions
Secret JSON schema: { username: string; password: string }.
Default: - the admin secret is taken from the cluster
getAdminUser in interface DatabaseOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.