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)


5336
5337
5338
5339
5340
5341
5342
# File 'lib/aws-sdk-lightsail/types.rb', line 5336

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)


5336
5337
5338
5339
5340
5341
5342
# File 'lib/aws-sdk-lightsail/types.rb', line 5336

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)


5336
5337
5338
5339
5340
5341
5342
# File 'lib/aws-sdk-lightsail/types.rb', line 5336

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