Create Relational Database

POST {{aws_lightsail_base_url}}/?availabilityZone&masterDatabaseName&masterUsername&masterUserPassword&preferredBackupWindow&preferredMaintenanceWindow&publiclyAccessible&relationalDatabaseBlueprintId&relationalDatabaseBundleId&relationalDatabaseName&tags&Version=2016-11-28

Request Params

KeyDatatypeRequiredDescription
availabilityZonenullThe Availability Zone in which to create your new database. Use the us-east-2a case-sensitive format.
masterDatabaseNamenullThe name of the master database created when the Lightsail database resource is created.
masterUsernamenullThe master user name for your new database.
masterUserPasswordnullThe password for the master user of your new database. The password can include any printable ASCII character except /, , or @.
preferredBackupWindownullThe daily time range during which automated backups are created for your new database if automated backups are enabled.
preferredMaintenanceWindownullThe weekly time range during which system maintenance can occur on your new database.
publiclyAccessiblenullSpecifies the accessibility options for your new database. A value of true specifies a database that is available to resources outside of your Lightsail account. A value of false specifies a database that is available only to your Lightsail resources in the same region as your database.
relationalDatabaseBlueprintIdnullThe blueprint ID for your new database. A blueprint describes the major engine version of a database.
relationalDatabaseBundleIdnullThe bundle ID for your new database. A bundle describes the performance specifications for your database.
relationalDatabaseNamenullThe name to use for your new database.
tagsnullThe tag keys and optional values to add to the resource during create.
VersionstringThe version of the API.

Request Body

{"availabilityZone"=>"string", "masterDatabaseName"=>"string", "masterUsername"=>"string", "masterUserPassword"=>"string", "preferredBackupWindow"=>"string", "preferredMaintenanceWindow"=>"string", "publiclyAccessible"=>1, "relationalDatabaseBlueprintId"=>"string", "relationalDatabaseBundleId"=>"string", "relationalDatabaseName"=>"string", "tags"=>[{"key"=>"string", "value"=>"string"}]}