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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

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)


5696
5697
5698
5699
5700
5701
5702
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5696

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

#relational_database_name ⇒ String

The name of the database that you are deleting.

Returns:

  • (String)


5696
5697
5698
5699
5700
5701
5702
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5696

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

#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)


5696
5697
5698
5699
5700
5701
5702
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5696

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