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

Class: Aws::Lightsail::Types::RelationalDatabase

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

Overview

Describes a database.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the database.

Returns:

  • (String)


6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#backup_retention_enabledBoolean

A Boolean value indicating whether automated backup retention is enabled for the database.

Returns:

  • (Boolean)


6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#created_atTime

The timestamp when the database was created. Formatted in Unix time.

Returns:

  • (Time)


6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#engineString

The database software (for example, MySQL).

Returns:

  • (String)


6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#engine_versionString

The database engine version (for example, 5.7.23).

Returns:

  • (String)


6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#hardwareTypes::RelationalDatabaseHardware

Describes the hardware of the database.



6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#latest_restorable_timeTime

The latest point in time to which the database can be restored. Formatted in Unix time.

Returns:

  • (Time)


6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#locationTypes::ResourceLocation

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



6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#master_database_nameString

The name of the master database created when the Lightsail database resource is created.

Returns:

  • (String)


6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#master_endpointTypes::RelationalDatabaseEndpoint

The master endpoint for the database.



6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#master_usernameString

The master user name of the database.

Returns:

  • (String)


6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#nameString

The unique name of the database resource in Lightsail.

Returns:

  • (String)


6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#parameter_apply_statusString

The status of parameter updates for the database.

Returns:

  • (String)


6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#pending_maintenance_actionsArray<Types::PendingMaintenanceAction>

Describes the pending maintenance actions for the database.



6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#pending_modified_valuesTypes::PendingModifiedRelationalDatabaseValues

Describes pending database value modifications.



6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#preferred_backup_windowString

The daily time range during which automated backups are created for the database (for example, 16:00-16:30).

Returns:

  • (String)


6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#preferred_maintenance_windowString

The weekly time range during which system maintenance can occur on the database.

In the format ddd:hh24:mi-ddd:hh24:mi. For example, Tue:17:00-Tue:17:30.

Returns:

  • (String)


6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#publicly_accessibleBoolean

A Boolean value indicating whether the database is publicly accessible.

Returns:

  • (Boolean)


6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#relational_database_blueprint_idString

The blueprint ID for the database. A blueprint describes the major engine version of a database.

Returns:

  • (String)


6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#relational_database_bundle_idString

The bundle ID for the database. A bundle describes the performance specifications for your database.

Returns:

  • (String)


6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#resource_typeString

The Lightsail resource type for the database (for example, RelationalDatabase).

Returns:

  • (String)


6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#secondary_availability_zoneString

Describes the secondary Availability Zone of a high availability database.

The secondary database is used for failover support of a high availability database.

Returns:

  • (String)


6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#stateString

Describes the current state of the database.

Returns:

  • (String)


6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#support_codeString

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

Returns:

  • (String)


6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end

#tagsArray<Types::Tag>

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

Returns:



6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 6739

class RelationalDatabase < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :relational_database_blueprint_id,
  :relational_database_bundle_id,
  :master_database_name,
  :hardware,
  :state,
  :secondary_availability_zone,
  :backup_retention_enabled,
  :pending_modified_values,
  :engine,
  :engine_version,
  :latest_restorable_time,
  :master_username,
  :parameter_apply_status,
  :preferred_backup_window,
  :preferred_maintenance_window,
  :publicly_accessible,
  :master_endpoint,
  :pending_maintenance_actions)
  include Aws::Structure
end