Class: MintPress::Aws::Lightsail::RelationalDatabaseFromSnapshot

Inherits:
Object
  • Object
show all
Includes:
MintLogger, AwsCommon, Mixins::Properties
Defined in:
src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/relational_database_from_snapshot.rb

Properties (Read/Write)

  • #relational_database_name ⇒ [String]
    'The name to use for your new database. Constraints: Must contain from 2 to 255 alphanumeric characters, or hyphens. The first and last character must be a letter or number.'

    Property Attributes
    • create_relational_database_from_snapshot_prop'relational_database_name'
    • read_onlyfalse
    • source"create_relational_database_from_snapshot"
    
    
    19
    20
    21
    22
    23
    24
    25
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/relational_database_from_snapshot.rb', line 19
    
    property :relational_database_name, create_relational_database_from_snapshot_prop: 'relational_database_name', type: [String], read_only: false, source: "create_relational_database_from_snapshot", description: 'The name to use for your new database.
    
    Constraints:
    
    
    Must contain from 2 to 255 alphanumeric characters, or hyphens.
    The first and last character must be a letter or number.'
  • #availability_zone ⇒ [String]
    'The Availability Zone in which to create your new database. Use the us-east-2a case-sensitive format. You can get a list of Availability Zones by using the get regions operation. Be sure to add the include relational database Availability Zones parameter to your request.'

    Property Attributes
    • create_relational_database_from_snapshot_prop'availability_zone'
    • read_onlyfalse
    • source"create_relational_database_from_snapshot"
    
    
    26
    27
    28
    29
    30
    31
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/relational_database_from_snapshot.rb', line 26
    
    property :availability_zone, create_relational_database_from_snapshot_prop: 'availability_zone', type: [String], read_only: false, source: "create_relational_database_from_snapshot", description: 'The Availability Zone in which to create your new database. Use the
    us-east-2a case-sensitive format.
    
    You can get a list of Availability Zones by using the get regions
    operation. Be sure to add the include relational database
    Availability Zones parameter to your request.'
  • #publicly_accessible ⇒ [TrueClass,FalseClass]
    'Specifies the accessibility options for your new database. A value of true specifies a database that is available to resources outside of your Lightsail account. A value of false specifies a database that is available only to your Lightsail resources in the same region as your database.'

    Property Attributes
    • create_relational_database_from_snapshot_prop'publicly_accessible'
    • read_onlyfalse
    • source"create_relational_database_from_snapshot"
    
    
    32
    33
    34
    35
    36
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/relational_database_from_snapshot.rb', line 32
    
    property :publicly_accessible, create_relational_database_from_snapshot_prop: 'publicly_accessible', type: [TrueClass,FalseClass], read_only: false, source: "create_relational_database_from_snapshot", description: 'Specifies the accessibility options for your new database. A value of
    true specifies a database that is available to resources outside of
    your Lightsail account. A value of false specifies a database that
    is available only to your Lightsail resources in the same region as
    your database.'
  • #relational_database_snapshot_name ⇒ [String]
    'The name of the database snapshot from which to create your new database.'

    Property Attributes
    • create_relational_database_from_snapshot_prop'relational_database_snapshot_name'
    • read_onlyfalse
    • source"create_relational_database_from_snapshot"
    
    
    37
    38
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/relational_database_from_snapshot.rb', line 37
    
    property :relational_database_snapshot_name, create_relational_database_from_snapshot_prop: 'relational_database_snapshot_name', type: [String], read_only: false, source: "create_relational_database_from_snapshot", description: 'The name of the database snapshot from which to create your new
    database.'
  • #source_relational_database_name ⇒ [String]
    'The name of the source database.'

    Property Attributes
    • create_relational_database_from_snapshot_prop'source_relational_database_name'
    • read_onlyfalse
    • source"create_relational_database_from_snapshot"
    
    
    39
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/relational_database_from_snapshot.rb', line 39
    
    property :source_relational_database_name, create_relational_database_from_snapshot_prop: 'source_relational_database_name', type: [String], read_only: false, source: "create_relational_database_from_snapshot", description: 'The name of the source database.'
  • #restore_time ⇒ [Time,DateTime,Integer]
    'The date and time to restore your database from. Constraints: Must be before the latest restorable time for the database. Cannot be specified if the use latest restorable time parameter is true. Specified in Coordinated Universal Time (UTC). Specified in the Unix time format. For example, if you wish to use a restore time of October 1, 2018, at 8 PM UTC, then you input 1538424000 as the restore time.'

    Property Attributes
    • create_relational_database_from_snapshot_prop'restore_time'
    • read_onlyfalse
    • source"create_relational_database_from_snapshot"
    
    
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/relational_database_from_snapshot.rb', line 40
    
    property :restore_time, create_relational_database_from_snapshot_prop: 'restore_time', type: [Time,DateTime,Integer], read_only: false, source: "create_relational_database_from_snapshot", description: 'The date and time to restore your database from.
    
    Constraints:
    
    
    Must be before the latest restorable time for the database.
    Cannot be specified if the use latest restorable time parameter is
    true.
    Specified in Coordinated Universal Time (UTC).
    Specified in the Unix time format.
    
    For example, if you wish to use a restore time of October 1, 2018,
    at 8 PM UTC, then you input 1538424000 as the restore time.'
  • #use_latest_restorable_time ⇒ [TrueClass,FalseClass]
    'Specifies whether your database is restored from the latest backup time. A value of true restores from the latest backup time. Default: false Constraints: Cannot be specified if the restore time parameter is provided.'

    Property Attributes
    • create_relational_database_from_snapshot_prop'use_latest_restorable_time'
    • read_onlyfalse
    • source"create_relational_database_from_snapshot"
    
    
    53
    54
    55
    56
    57
    58
    59
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/relational_database_from_snapshot.rb', line 53
    
    property :use_latest_restorable_time, create_relational_database_from_snapshot_prop: 'use_latest_restorable_time', type: [TrueClass,FalseClass], read_only: false, source: "create_relational_database_from_snapshot", description: 'Specifies whether your database is restored from the latest backup
    time. A value of true restores from the latest backup time.
    
    Default: false
    
    Constraints: Cannot be specified if the restore time parameter is
    provided.'
  • #tags ⇒ Hash of ⇒ [MintPress::Aws::Lightsail::Tag]
    'The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it"s created.'

    Property Attributes
    • create_relational_database_from_snapshot_prop'tags'
    • read_onlyfalse
    • source"create_relational_database_from_snapshot"
    
    
    60
    61
    62
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/relational_database_from_snapshot.rb', line 60
    
    property :tags, create_relational_database_from_snapshot_prop: 'tags', type: [MintPress::Aws::Lightsail::Tag], array: false, read_only: false, source: "create_relational_database_from_snapshot", description: 'The tag keys and optional values to add to the resource during create.
    
    Use the TagResource action to tag a resource after it"s created.', hash: true
  • #relational_database_bundle ⇒ [MintPress::Aws::Lightsail::RelationalDatabaseBundle]
    'The bundle ID for your new database. A bundle describes the performance specifications for your database. You can get a list of database bundle IDs by using the get relational database bundles operation. When creating a new database from a snapshot, you cannot choose a bundle that is smaller than the bundle of the source database.'

    Property Attributes
    • create_relational_database_from_snapshot_prop'relational_database_bundle_id'
    • read_onlyfalse
    • source"create_relational_database_from_snapshot"
    • fromString
    
    
    63
    64
    65
    66
    67
    68
    69
    70
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/relational_database_from_snapshot.rb', line 63
    
    property :relational_database_bundle, create_relational_database_from_snapshot_prop: 'relational_database_bundle_id', type: [MintPress::Aws::Lightsail::RelationalDatabaseBundle], read_only: false, source: "create_relational_database_from_snapshot", description: 'The bundle ID for your new database. A bundle describes the
    performance specifications for your database.
    
    You can get a list of database bundle IDs by using the get relational
    database bundles operation.
    
    When creating a new database from a snapshot, you cannot choose a
    bundle that is smaller than the bundle of the source database.', from: String
  • #region ⇒ String
    Region _specifically for this object_. If you're not doing different objects in different regions, you should not set this, but rather set the region on your AwsPlatformProvider instead

    Property Attributes
    
    
    74
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/relational_database_from_snapshot.rb', line 74
    
    property :region, type: String
  • #platform ⇒ MintPress::InfrastructureAws::AwsPlatform (Default Value: MintPress::InfrastructureAws::AwsPlatform.new)
    The platform details, including credentials - normally this will come via AwsPlatformProvider (see the Infrastructure Providers section of the documentation)

    Property Attributes
    • defaultMintPress::InfrastructureAws::AwsPlatform.new
    
    
    77
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/relational_database_from_snapshot.rb', line 77
    
    property :platform, type: MintPress::InfrastructureAws::AwsPlatform, default: MintPress::InfrastructureAws::AwsPlatform.new

Properties (Read Only)

Constant Summary

Constants included from MintLogger

MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN

Instance Attribute Summary

Attributes included from Mixins::Properties

#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root

Instance Method Summary collapse

Methods included from AwsCommon

#alive?, all, #attach_generic, #attached?, #available?, #build_create_hash, #by_id, #by_name, #create_generic, #delete_cascade_generic, #delete_generic, #detach_generic, #exists?, #fill_in_details, #find_by_details, #find_global_object, #get_aws_region, #get_state, #handle_singleton_object, #harvest, #perform_operation, #prop_to_hash, #register_aws_object, #resource_api, #running?, #start_generic, #started?, #stop_generic, #terminate_generic

Methods included from Mixins::Properties

#[], #[]=, #add_validate_report_result, #armour_set_property, #array_contains?, #array_is_a?, #check_autopush, #check_stack_overflow, #clone_property_object, #cloner_handle_single_property, #coerce_single, #contains_as_string?, #display_validate_report_result, #double_initialize?, #dump_to_hash, #find_parent, #find_parent_by_identity, #generate_accessor_functions, #get_canonical_renamed, #get_from_opts, #get_my_name, #get_property, #get_property_item, #has?, included, #initialize_validate_report, #inspect, #is_cloned_object?, #is_mintpress_object?, #is_probably_canonical?, #is_set?, #local_debug, #local_info, #local_verbose, #mintpress_property_definitions, #place_object_by_identity, #process_properties, #prop_set?, #property, #property_definitions, #property_details, #property_is_simple_object?, #push_root!, #require_property, #require_update, #retrieve_docstring, #sanitize, #set_map_dirty, #set_property, #set_property_item, #show_short_array, #strip_defaults!, #synchronize, #uncloned_property_definitions, #update_map, #validate, #validate_generic, #validate_properties, #validate_property, #validate_required, #version_allowed?, #weakref

Methods included from MintLogger::Utils::Common

#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send

Constructor Details

#initialize(opts = {}) ⇒ RelationalDatabaseFromSnapshot

Returns a new instance of RelationalDatabaseFromSnapshot.

Instance Method Details

#createObject