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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lightsail/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#final_relational_database_snapshot_nameString

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

<note markdown=“1”> Specifying this parameter and also specifying the ‘skip final snapshot` parameter to `true` results in an error.

</note>

Constraints:

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

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

Returns:

  • (String)


5354
5355
5356
5357
5358
5359
5360
# File 'lib/aws-sdk-lightsail/types.rb', line 5354

class DeleteRelationalDatabaseRequest < Struct.new(
  :relational_database_name,
  :skip_final_snapshot,
  :final_relational_database_snapshot_name)
  SENSITIVE = []
  include Aws::Structure
end

#relational_database_nameString

The name of the database that you are deleting.

Returns:

  • (String)


5354
5355
5356
5357
5358
5359
5360
# File 'lib/aws-sdk-lightsail/types.rb', line 5354

class DeleteRelationalDatabaseRequest < Struct.new(
  :relational_database_name,
  :skip_final_snapshot,
  :final_relational_database_snapshot_name)
  SENSITIVE = []
  include Aws::Structure
end

#skip_final_snapshotBoolean

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)


5354
5355
5356
5357
5358
5359
5360
# File 'lib/aws-sdk-lightsail/types.rb', line 5354

class DeleteRelationalDatabaseRequest < Struct.new(
  :relational_database_name,
  :skip_final_snapshot,
  :final_relational_database_snapshot_name)
  SENSITIVE = []
  include Aws::Structure
end