Class: Humidifier::Neptune::DBInstance

Inherits:
Resource
  • Object
show all
Defined in:
lib/humidifier/magic.rb

Overview

A dynamically-defined class that represents an AWS::Neptune::DBInstance resource

AWS Resource:

Constant Summary

Constants inherited from Resource

Resource::COMMON_ATTRIBUTES

Instance Method Summary collapse

Methods inherited from Resource

#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property

Constructor Details

This class inherits a constructor from Humidifier::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Humidifier::Resource

Instance Method Details

#allow_major_version_upgradeObject

returns the AllowMajorVersionUpgrade property



10
11
12
# File 'lib/humidifier/magic.rb', line 10

def allow_major_version_upgrade
  properties['allow_major_version_upgrade']
end

#allow_major_version_upgrade=(value) ⇒ Object

sets the AllowMajorVersionUpgrade property (Boolean)



15
16
17
# File 'lib/humidifier/magic.rb', line 15

def allow_major_version_upgrade=(value)
  update_property('allow_major_version_upgrade', value)
end

#auto_minor_version_upgradeObject

returns the AutoMinorVersionUpgrade property



20
21
22
# File 'lib/humidifier/magic.rb', line 20

def auto_minor_version_upgrade
  properties['auto_minor_version_upgrade']
end

#auto_minor_version_upgrade=(value) ⇒ Object

sets the AutoMinorVersionUpgrade property (Boolean)



25
26
27
# File 'lib/humidifier/magic.rb', line 25

def auto_minor_version_upgrade=(value)
  update_property('auto_minor_version_upgrade', value)
end

#availability_zoneObject

returns the AvailabilityZone property



30
31
32
# File 'lib/humidifier/magic.rb', line 30

def availability_zone
  properties['availability_zone']
end

#availability_zone=(value) ⇒ Object

sets the AvailabilityZone property (String)



35
36
37
# File 'lib/humidifier/magic.rb', line 35

def availability_zone=(value)
  update_property('availability_zone', value)
end

#db_cluster_identifierObject

returns the DBClusterIdentifier property



40
41
42
# File 'lib/humidifier/magic.rb', line 40

def db_cluster_identifier
  properties['db_cluster_identifier']
end

#db_cluster_identifier=(value) ⇒ Object

sets the DBClusterIdentifier property (String)



45
46
47
# File 'lib/humidifier/magic.rb', line 45

def db_cluster_identifier=(value)
  update_property('db_cluster_identifier', value)
end

#db_instance_classObject

returns the DBInstanceClass property



50
51
52
# File 'lib/humidifier/magic.rb', line 50

def db_instance_class
  properties['db_instance_class']
end

#db_instance_class=(value) ⇒ Object

sets the DBInstanceClass property (String)



55
56
57
# File 'lib/humidifier/magic.rb', line 55

def db_instance_class=(value)
  update_property('db_instance_class', value)
end

#db_instance_identifierObject

returns the DBInstanceIdentifier property



60
61
62
# File 'lib/humidifier/magic.rb', line 60

def db_instance_identifier
  properties['db_instance_identifier']
end

#db_instance_identifier=(value) ⇒ Object

sets the DBInstanceIdentifier property (String)



65
66
67
# File 'lib/humidifier/magic.rb', line 65

def db_instance_identifier=(value)
  update_property('db_instance_identifier', value)
end

#db_parameter_group_nameObject

returns the DBParameterGroupName property



70
71
72
# File 'lib/humidifier/magic.rb', line 70

def db_parameter_group_name
  properties['db_parameter_group_name']
end

#db_parameter_group_name=(value) ⇒ Object

sets the DBParameterGroupName property (String)



75
76
77
# File 'lib/humidifier/magic.rb', line 75

def db_parameter_group_name=(value)
  update_property('db_parameter_group_name', value)
end

#db_snapshot_identifierObject

returns the DBSnapshotIdentifier property



80
81
82
# File 'lib/humidifier/magic.rb', line 80

def db_snapshot_identifier
  properties['db_snapshot_identifier']
end

#db_snapshot_identifier=(value) ⇒ Object

sets the DBSnapshotIdentifier property (String)



85
86
87
# File 'lib/humidifier/magic.rb', line 85

def db_snapshot_identifier=(value)
  update_property('db_snapshot_identifier', value)
end

#db_subnet_group_nameObject

returns the DBSubnetGroupName property



90
91
92
# File 'lib/humidifier/magic.rb', line 90

def db_subnet_group_name
  properties['db_subnet_group_name']
end

#db_subnet_group_name=(value) ⇒ Object

sets the DBSubnetGroupName property (String)



95
96
97
# File 'lib/humidifier/magic.rb', line 95

def db_subnet_group_name=(value)
  update_property('db_subnet_group_name', value)
end

#preferred_maintenance_windowObject

returns the PreferredMaintenanceWindow property



100
101
102
# File 'lib/humidifier/magic.rb', line 100

def preferred_maintenance_window
  properties['preferred_maintenance_window']
end

#preferred_maintenance_window=(value) ⇒ Object

sets the PreferredMaintenanceWindow property (String)



105
106
107
# File 'lib/humidifier/magic.rb', line 105

def preferred_maintenance_window=(value)
  update_property('preferred_maintenance_window', value)
end

#tagsObject

returns the Tags property



110
111
112
# File 'lib/humidifier/magic.rb', line 110

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



115
116
117
# File 'lib/humidifier/magic.rb', line 115

def tags=(value)
  update_property('tags', value)
end