@Stability(value=Stable) @Internal public static final class CfnDatabaseProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDatabaseProps
CfnDatabasePropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnDatabaseProps.Builder, CfnDatabaseProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnDatabaseProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnDatabaseProps.Builder. |
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(Object o) |
String |
getAvailabilityZone()
The Availability Zone for the database.
|
Object |
getBackupRetention()
A Boolean value indicating whether automated backup retention is enabled for the database.
|
String |
getCaCertificateIdentifier()
The certificate associated with the database.
|
String |
getMasterDatabaseName()
The meaning of this parameter differs according to the database engine you use.
|
String |
getMasterUsername()
The name for the primary user.
|
String |
getMasterUserPassword()
The password for the primary user of the database.
|
String |
getPreferredBackupWindow()
The daily time range during which automated backups are created for the database (for example, `16:00-16:30` ).
|
String |
getPreferredMaintenanceWindow()
The weekly time range during which system maintenance can occur for the database, formatted as follows: `ddd:hh24:mi-ddd:hh24:mi` .
|
Object |
getPubliclyAccessible()
A Boolean value indicating whether the database is accessible to anyone on the internet.
|
String |
getRelationalDatabaseBlueprintId()
The blueprint ID for the database (for example, `mysql_8_0` ).
|
String |
getRelationalDatabaseBundleId()
The bundle ID for the database (for example, `medium_1_0` ).
|
String |
getRelationalDatabaseName()
The name of the instance.
|
Object |
getRelationalDatabaseParameters()
An array of parameters for the database.
|
Object |
getRotateMasterUserPassword()
A Boolean value indicating whether to change the primary user password to a new, strong password generated by Lightsail .
|
List<CfnTag> |
getTags()
An array of key-value pairs to apply to this resource.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnDatabaseProps.Builder builder)
CfnDatabaseProps.Builder.public final String getMasterDatabaseName()
CfnDatabasePropsMySQL
The name of the database to create when the Lightsail database resource is created. If this parameter isn't specified, no database is created in the database resource.
Constraints:
For more information about reserved words in MySQL, see the Keywords and Reserved Words articles for MySQL 5.6 , MySQL 5.7 , and MySQL 8.0 .
PostgreSQL
The name of the database to create when the Lightsail database resource is created. If this parameter isn't specified, a database named postgres is created in the database resource.
Constraints:
For more information about reserved words in PostgreSQL, see the SQL Key Words articles for PostgreSQL 9.6 , PostgreSQL 10 , PostgreSQL 11 , and PostgreSQL 12 .
getMasterDatabaseName in interface CfnDatabasePropspublic final String getMasterUsername()
CfnDatabasePropsMySQL
Constraints:
For more information about reserved words in MySQL 5.6 or 5.7, see the Keywords and Reserved Words articles for MySQL 5.6 , MySQL 5.7 , or MySQL 8.0 .
PostgreSQL
Constraints:
For more information about reserved words in MySQL 5.6 or 5.7, see the Keywords and Reserved Words articles for PostgreSQL 9.6 , PostgreSQL 10 , PostgreSQL 11 , and PostgreSQL 12 .
getMasterUsername in interface CfnDatabasePropspublic final String getRelationalDatabaseBlueprintId()
CfnDatabasePropsgetRelationalDatabaseBlueprintId in interface CfnDatabasePropspublic final String getRelationalDatabaseBundleId()
CfnDatabasePropsgetRelationalDatabaseBundleId in interface CfnDatabasePropspublic final String getRelationalDatabaseName()
CfnDatabasePropsgetRelationalDatabaseName in interface CfnDatabasePropspublic final String getAvailabilityZone()
CfnDatabasePropsgetAvailabilityZone in interface CfnDatabasePropspublic final Object getBackupRetention()
CfnDatabasePropsgetBackupRetention in interface CfnDatabasePropspublic final String getCaCertificateIdentifier()
CfnDatabasePropsgetCaCertificateIdentifier in interface CfnDatabasePropspublic final String getMasterUserPassword()
CfnDatabasePropsThe password can include any printable ASCII character except the following: /, ", or @. It cannot contain spaces.
The
MasterUserPasswordandRotateMasterUserPasswordparameters cannot be used together in the same template.
MySQL
Constraints: Must contain 8-41 characters.
PostgreSQL
Constraints: Must contain 8-128 characters.
getMasterUserPassword in interface CfnDatabasePropspublic final String getPreferredBackupWindow()
CfnDatabasePropsgetPreferredBackupWindow in interface CfnDatabasePropspublic final String getPreferredMaintenanceWindow()
CfnDatabaseProps
For example, Tue:17:00-Tue:17:30 .
getPreferredMaintenanceWindow in interface CfnDatabasePropspublic final Object getPubliclyAccessible()
CfnDatabasePropsgetPubliclyAccessible in interface CfnDatabasePropspublic final Object getRelationalDatabaseParameters()
CfnDatabasePropsgetRelationalDatabaseParameters in interface CfnDatabasePropspublic final Object getRotateMasterUserPassword()
CfnDatabaseProps
The
RotateMasterUserPasswordandMasterUserPasswordparameters cannot be used together in the same template.
getRotateMasterUserPassword in interface CfnDatabasePropspublic final List<CfnTag> getTags()
CfnDatabasePropsFor more information, see Tag in the AWS CloudFormation User Guide .
The
ValueofTagsis optional for Lightsail resources.
getTags in interface CfnDatabaseProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.