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

Class: Aws::Lightsail::Types::RelationalDatabaseSnapshot

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

Overview

Describes a database snapshot.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

The Amazon Resource Name (ARN) of the database snapshot.

Returns:

  • (String) —

    The Amazon Resource Name (ARN) of the database snapshot.

#created_at ⇒ Time

The timestamp when the database snapshot was created.

Returns:

  • (Time) —

    The timestamp when the database snapshot was created.

#engine ⇒ String

The software of the database snapshot (for example, MySQL)

Returns:

  • (String) —

    The software of the database snapshot (for example, MySQL).

#engine_version ⇒ String

The database engine version for the database snapshot (for example, 5.7.23).

Returns:

  • (String) —

    The database engine version for the database snapshot (for example, 5.7.23).

#from_relational_database_arn ⇒ String

The Amazon Resource Name (ARN) of the database from which the database snapshot was created.

Returns:

  • (String) —

    The Amazon Resource Name (ARN) of the database from which the database snapshot was created.

#from_relational_database_blueprint_id ⇒ String

The blueprint ID of the database from which the database snapshot was created. A blueprint describes the major engine version of a database.

Returns:

  • (String) —

    The blueprint ID of the database from which the database snapshot was created.

#from_relational_database_bundle_id ⇒ String

The bundle ID of the database from which the database snapshot was created.

Returns:

  • (String) —

    The bundle ID of the database from which the database snapshot was created.

#from_relational_database_name ⇒ String

The name of the source database from which the database snapshot was created.

Returns:

  • (String) —

    The name of the source database from which the database snapshot was created.

#location ⇒ Types::ResourceLocation

The Region name and Availability Zone where the database snapshot is located.

Returns:

#name ⇒ String

The name of the database snapshot.

Returns:

  • (String) —

    The name of the database snapshot.

#resource_type ⇒ String

The Lightsail resource type.

Possible values:

  • ContainerService
  • Instance
  • StaticIp
  • KeyPair
  • InstanceSnapshot
  • Domain
  • PeeredVpc
  • LoadBalancer
  • LoadBalancerTlsCertificate
  • Disk
  • DiskSnapshot
  • RelationalDatabase
  • RelationalDatabaseSnapshot
  • ExportSnapshotRecord
  • CloudFormationStackRecord
  • Alarm
  • ContactMethod
  • Distribution
  • Certificate

Returns:

  • (String) —

    The Lightsail resource type.

#size_in_gb ⇒ Integer

The size of the disk in GB (for example, 32) for the database snapshot.

Returns:

  • (Integer) —

    The size of the disk in GB (for example, 32) for the database snapshot.

#state ⇒ String

The state of the database snapshot.

Returns:

  • (String) —

    The state of the database snapshot.

#support_code ⇒ String

The support code for the database snapshot. Include this code in your email to support when you have questions about a database snapshot in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Returns:

  • (String) —

    The support code for the database snapshot.

#tags ⇒ Array<Types::Tag>

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Returns:

  • (Array<Types::Tag>) —

    The tag keys and optional values for the resource.