You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lightsail::Types::DeleteRelationalDatabaseRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DeleteRelationalDatabaseRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  relational_database_name: "ResourceName", # required
  skip_final_snapshot: false,
  final_relational_database_snapshot_name: "ResourceName",
}

Instance Attribute Summary collapse

Instance Attribute Details

#final_relational_database_snapshot_name ⇒ String

The name of the database snapshot created if skip final snapshot is false, which is the default value for that parameter.

Specifying this parameter and also specifying the skip final snapshot parameter to true results in an error.

Constraints:

  • Must contain from 2 to 255 alphanumeric characters, or hyphens.

  • The first and last character must be a letter or number.

Returns:

  • (String) —

    The name of the database snapshot created if skip final snapshot is false, which is the default value for that parameter.

#relational_database_name ⇒ String

The name of the database that you are deleting.

Returns:

  • (String) —

    The name of the database that you are deleting.

#skip_final_snapshot ⇒ Boolean

Determines whether a final database snapshot is created before your database is deleted. If true is specified, no database snapshot is created. If false is specified, a database snapshot is created before your database is deleted.

You must specify the final relational database snapshot name parameter if the skip final snapshot parameter is false.

Default: false

Returns:

  • (Boolean) —

    Determines whether a final database snapshot is created before your database is deleted.