Class CfnDatabaseProps.Jsii$Proxy
- All Implemented Interfaces:
CfnDatabaseProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnDatabaseProps
CfnDatabaseProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.lightsail.CfnDatabaseProps
CfnDatabaseProps.Builder, CfnDatabaseProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnDatabaseProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnDatabaseProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe Availability Zone for the database.final ObjectA Boolean value indicating whether automated backup retention is enabled for the database.final StringThe certificate associated with the database.final StringThe meaning of this parameter differs according to the database engine you use.final StringThe name for the primary user.final StringThe password for the primary user of the database.final StringThe daily time range during which automated backups are created for the database (for example,16:00-16:30).final StringThe weekly time range during which system maintenance can occur for the database, formatted as follows:ddd:hh24:mi-ddd:hh24:mi.final ObjectA Boolean value indicating whether the database is accessible to anyone on the internet.final StringThe blueprint ID for the database (for example,mysql_8_0).final StringThe bundle ID for the database (for example,medium_1_0).final StringThe name of the instance.final ObjectAn array of parameters for the database.final ObjectA Boolean value indicating whether to change the primary user password to a new, strong password generated by Lightsail .getTags()An array of key-value pairs to apply to this resource.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theCfnDatabaseProps.Builder.
-
-
Method Details
-
getMasterDatabaseName
Description copied from interface:CfnDatabasePropsThe meaning of this parameter differs according to the database engine you use.MySQL
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:
- Must contain 1-64 letters or numbers.
- Must begin with a letter. Subsequent characters can be letters, underscores, or numbers (0-9).
- Can't be a word reserved by the specified database engine.
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
postgresis created in the database resource.Constraints:
- Must contain 1-63 letters or numbers.
- Must begin with a letter. Subsequent characters can be letters, underscores, or numbers (0-9).
- Can't be a word reserved by the specified database engine.
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 .
- Specified by:
getMasterDatabaseNamein interfaceCfnDatabaseProps- See Also:
-
getMasterUsername
Description copied from interface:CfnDatabasePropsThe name for the primary user.MySQL
Constraints:
- Required for MySQL.
- Must be 1-16 letters or numbers. Can contain underscores.
- First character must be a letter.
- Can't be a reserved word for the chosen database engine.
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:
- Required for PostgreSQL.
- Must be 1-63 letters or numbers. Can contain underscores.
- First character must be a letter.
- Can't be a reserved word for the chosen database engine.
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 .
- Specified by:
getMasterUsernamein interfaceCfnDatabaseProps- See Also:
-
getRelationalDatabaseBlueprintId
Description copied from interface:CfnDatabasePropsThe blueprint ID for the database (for example,mysql_8_0).- Specified by:
getRelationalDatabaseBlueprintIdin interfaceCfnDatabaseProps- See Also:
-
getRelationalDatabaseBundleId
Description copied from interface:CfnDatabasePropsThe bundle ID for the database (for example,medium_1_0).- Specified by:
getRelationalDatabaseBundleIdin interfaceCfnDatabaseProps- See Also:
-
getRelationalDatabaseName
Description copied from interface:CfnDatabasePropsThe name of the instance.- Specified by:
getRelationalDatabaseNamein interfaceCfnDatabaseProps- See Also:
-
getAvailabilityZone
Description copied from interface:CfnDatabasePropsThe Availability Zone for the database.- Specified by:
getAvailabilityZonein interfaceCfnDatabaseProps- See Also:
-
getBackupRetention
Description copied from interface:CfnDatabasePropsA Boolean value indicating whether automated backup retention is enabled for the database.Data Import Mode is enabled when
BackupRetentionis set tofalse, and is disabled whenBackupRetentionis set totrue.Returns union: either
BooleanorIResolvable- Specified by:
getBackupRetentionin interfaceCfnDatabaseProps- See Also:
-
getCaCertificateIdentifier
Description copied from interface:CfnDatabasePropsThe certificate associated with the database.- Specified by:
getCaCertificateIdentifierin interfaceCfnDatabaseProps- See Also:
-
getMasterUserPassword
Description copied from interface:CfnDatabasePropsThe password for the primary user of the database.The password can include any printable ASCII character except the following: /, ", or
- Specified by:
getMasterUserPasswordin interfaceCfnDatabaseProps- See Also:
-
getPreferredBackupWindow
Description copied from interface:CfnDatabasePropsThe daily time range during which automated backups are created for the database (for example,16:00-16:30).- Specified by:
getPreferredBackupWindowin interfaceCfnDatabaseProps- See Also:
-
getPreferredMaintenanceWindow
Description copied from interface:CfnDatabasePropsThe weekly time range during which system maintenance can occur for the database, formatted as follows:ddd:hh24:mi-ddd:hh24:mi.For example,
Tue:17:00-Tue:17:30.- Specified by:
getPreferredMaintenanceWindowin interfaceCfnDatabaseProps- See Also:
-
getPubliclyAccessible
Description copied from interface:CfnDatabasePropsA Boolean value indicating whether the database is accessible to anyone on the internet.Returns union: either
BooleanorIResolvable- Specified by:
getPubliclyAccessiblein interfaceCfnDatabaseProps- See Also:
-
getRelationalDatabaseParameters
Description copied from interface:CfnDatabasePropsAn array of parameters for the database.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDatabase.RelationalDatabaseParameterProperty>- Specified by:
getRelationalDatabaseParametersin interfaceCfnDatabaseProps- See Also:
-
getRotateMasterUserPassword
Description copied from interface:CfnDatabasePropsA Boolean value indicating whether to change the primary user password to a new, strong password generated by Lightsail .The
RotateMasterUserPasswordandMasterUserPasswordparameters cannot be used together in the same template.Returns union: either
BooleanorIResolvable- Specified by:
getRotateMasterUserPasswordin interfaceCfnDatabaseProps- See Also:
-
getTags
Description copied from interface:CfnDatabasePropsAn array of key-value pairs to apply to this resource.For more information, see Tag in the AWS CloudFormation User Guide .
The
ValueofTagsis optional for Lightsail resources.- Specified by:
getTagsin interfaceCfnDatabaseProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-