Class: Humidifier::RDS::DBInstance

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

Overview

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

AWS Resource:

Constant Summary

Constants inherited from Humidifier::Resource

Humidifier::Resource::COMMON_ATTRIBUTES

Instance Method Summary collapse

Methods inherited from Humidifier::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

#allocated_storageObject

returns the AllocatedStorage property



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

def allocated_storage
  properties['allocated_storage']
end

#allocated_storage=(value) ⇒ Object

sets the AllocatedStorage property (String)



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

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

#allow_major_version_upgradeObject

returns the AllowMajorVersionUpgrade property



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

def allow_major_version_upgrade
  properties['allow_major_version_upgrade']
end

#allow_major_version_upgrade=(value) ⇒ Object

sets the AllowMajorVersionUpgrade property (Boolean)



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

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

#associated_rolesObject

returns the AssociatedRoles property



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

def associated_roles
  properties['associated_roles']
end

#associated_roles=(value) ⇒ Object

sets the AssociatedRoles property (List)



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

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

#auto_minor_version_upgradeObject

returns the AutoMinorVersionUpgrade property



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

def auto_minor_version_upgrade
  properties['auto_minor_version_upgrade']
end

#auto_minor_version_upgrade=(value) ⇒ Object

sets the AutoMinorVersionUpgrade property (Boolean)



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

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

#availability_zoneObject

returns the AvailabilityZone property



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

def availability_zone
  properties['availability_zone']
end

#availability_zone=(value) ⇒ Object

sets the AvailabilityZone property (String)



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

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

#backup_retention_periodObject

returns the BackupRetentionPeriod property



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

def backup_retention_period
  properties['backup_retention_period']
end

#backup_retention_period=(value) ⇒ Object

sets the BackupRetentionPeriod property (Integer)



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

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

#ca_certificate_identifierObject

returns the CACertificateIdentifier property



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

def ca_certificate_identifier
  properties['ca_certificate_identifier']
end

#ca_certificate_identifier=(value) ⇒ Object

sets the CACertificateIdentifier property (String)



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

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

#character_set_nameObject

returns the CharacterSetName property



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

def character_set_name
  properties['character_set_name']
end

#character_set_name=(value) ⇒ Object

sets the CharacterSetName property (String)



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

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

#copy_tags_to_snapshotObject

returns the CopyTagsToSnapshot property



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

def copy_tags_to_snapshot
  properties['copy_tags_to_snapshot']
end

#copy_tags_to_snapshot=(value) ⇒ Object

sets the CopyTagsToSnapshot property (Boolean)



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

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

#db_cluster_identifierObject

returns the DBClusterIdentifier property



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

def db_cluster_identifier
  properties['db_cluster_identifier']
end

#db_cluster_identifier=(value) ⇒ Object

sets the DBClusterIdentifier property (String)



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

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

#db_instance_classObject

returns the DBInstanceClass property



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

def db_instance_class
  properties['db_instance_class']
end

#db_instance_class=(value) ⇒ Object

sets the DBInstanceClass property (String)



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

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

#db_instance_identifierObject

returns the DBInstanceIdentifier property



120
121
122
# File 'lib/humidifier/magic.rb', line 120

def db_instance_identifier
  properties['db_instance_identifier']
end

#db_instance_identifier=(value) ⇒ Object

sets the DBInstanceIdentifier property (String)



125
126
127
# File 'lib/humidifier/magic.rb', line 125

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

#db_nameObject

returns the DBName property



130
131
132
# File 'lib/humidifier/magic.rb', line 130

def db_name
  properties['db_name']
end

#db_name=(value) ⇒ Object

sets the DBName property (String)



135
136
137
# File 'lib/humidifier/magic.rb', line 135

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

#db_parameter_group_nameObject

returns the DBParameterGroupName property



140
141
142
# File 'lib/humidifier/magic.rb', line 140

def db_parameter_group_name
  properties['db_parameter_group_name']
end

#db_parameter_group_name=(value) ⇒ Object

sets the DBParameterGroupName property (String)



145
146
147
# File 'lib/humidifier/magic.rb', line 145

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

#db_security_groupsObject

returns the DBSecurityGroups property



150
151
152
# File 'lib/humidifier/magic.rb', line 150

def db_security_groups
  properties['db_security_groups']
end

#db_security_groups=(value) ⇒ Object

sets the DBSecurityGroups property (List)



155
156
157
# File 'lib/humidifier/magic.rb', line 155

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

#db_snapshot_identifierObject

returns the DBSnapshotIdentifier property



160
161
162
# File 'lib/humidifier/magic.rb', line 160

def db_snapshot_identifier
  properties['db_snapshot_identifier']
end

#db_snapshot_identifier=(value) ⇒ Object

sets the DBSnapshotIdentifier property (String)



165
166
167
# File 'lib/humidifier/magic.rb', line 165

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

#db_subnet_group_nameObject

returns the DBSubnetGroupName property



170
171
172
# File 'lib/humidifier/magic.rb', line 170

def db_subnet_group_name
  properties['db_subnet_group_name']
end

#db_subnet_group_name=(value) ⇒ Object

sets the DBSubnetGroupName property (String)



175
176
177
# File 'lib/humidifier/magic.rb', line 175

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

#delete_automated_backupsObject

returns the DeleteAutomatedBackups property



180
181
182
# File 'lib/humidifier/magic.rb', line 180

def delete_automated_backups
  properties['delete_automated_backups']
end

#delete_automated_backups=(value) ⇒ Object

sets the DeleteAutomatedBackups property (Boolean)



185
186
187
# File 'lib/humidifier/magic.rb', line 185

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

#deletion_protectionObject

returns the DeletionProtection property



190
191
192
# File 'lib/humidifier/magic.rb', line 190

def deletion_protection
  properties['deletion_protection']
end

#deletion_protection=(value) ⇒ Object

sets the DeletionProtection property (Boolean)



195
196
197
# File 'lib/humidifier/magic.rb', line 195

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

#domainObject

returns the Domain property



200
201
202
# File 'lib/humidifier/magic.rb', line 200

def domain
  properties['domain']
end

#domain=(value) ⇒ Object

sets the Domain property (String)



205
206
207
# File 'lib/humidifier/magic.rb', line 205

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

#domain_iam_role_nameObject

returns the DomainIAMRoleName property



210
211
212
# File 'lib/humidifier/magic.rb', line 210

def domain_iam_role_name
  properties['domain_iam_role_name']
end

#domain_iam_role_name=(value) ⇒ Object

sets the DomainIAMRoleName property (String)



215
216
217
# File 'lib/humidifier/magic.rb', line 215

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

#enable_cloudwatch_logs_exportsObject

returns the EnableCloudwatchLogsExports property



220
221
222
# File 'lib/humidifier/magic.rb', line 220

def enable_cloudwatch_logs_exports
  properties['enable_cloudwatch_logs_exports']
end

#enable_cloudwatch_logs_exports=(value) ⇒ Object

sets the EnableCloudwatchLogsExports property (List)



225
226
227
# File 'lib/humidifier/magic.rb', line 225

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

#enable_iam_database_authenticationObject

returns the EnableIAMDatabaseAuthentication property



230
231
232
# File 'lib/humidifier/magic.rb', line 230

def enable_iam_database_authentication
  properties['enable_iam_database_authentication']
end

#enable_iam_database_authentication=(value) ⇒ Object

sets the EnableIAMDatabaseAuthentication property (Boolean)



235
236
237
# File 'lib/humidifier/magic.rb', line 235

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

#enable_performance_insightsObject

returns the EnablePerformanceInsights property



240
241
242
# File 'lib/humidifier/magic.rb', line 240

def enable_performance_insights
  properties['enable_performance_insights']
end

#enable_performance_insights=(value) ⇒ Object

sets the EnablePerformanceInsights property (Boolean)



245
246
247
# File 'lib/humidifier/magic.rb', line 245

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

#engineObject

returns the Engine property



250
251
252
# File 'lib/humidifier/magic.rb', line 250

def engine
  properties['engine']
end

#engine=(value) ⇒ Object

sets the Engine property (String)



255
256
257
# File 'lib/humidifier/magic.rb', line 255

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

#engine_versionObject

returns the EngineVersion property



260
261
262
# File 'lib/humidifier/magic.rb', line 260

def engine_version
  properties['engine_version']
end

#engine_version=(value) ⇒ Object

sets the EngineVersion property (String)



265
266
267
# File 'lib/humidifier/magic.rb', line 265

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

#iopsObject

returns the Iops property



270
271
272
# File 'lib/humidifier/magic.rb', line 270

def iops
  properties['iops']
end

#iops=(value) ⇒ Object

sets the Iops property (Integer)



275
276
277
# File 'lib/humidifier/magic.rb', line 275

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

#kms_key_idObject

returns the KmsKeyId property



280
281
282
# File 'lib/humidifier/magic.rb', line 280

def kms_key_id
  properties['kms_key_id']
end

#kms_key_id=(value) ⇒ Object

sets the KmsKeyId property (String)



285
286
287
# File 'lib/humidifier/magic.rb', line 285

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

#license_modelObject

returns the LicenseModel property



290
291
292
# File 'lib/humidifier/magic.rb', line 290

def license_model
  properties['license_model']
end

#license_model=(value) ⇒ Object

sets the LicenseModel property (String)



295
296
297
# File 'lib/humidifier/magic.rb', line 295

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

#master_user_passwordObject

returns the MasterUserPassword property



300
301
302
# File 'lib/humidifier/magic.rb', line 300

def master_user_password
  properties['master_user_password']
end

#master_user_password=(value) ⇒ Object

sets the MasterUserPassword property (String)



305
306
307
# File 'lib/humidifier/magic.rb', line 305

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

#master_usernameObject

returns the MasterUsername property



310
311
312
# File 'lib/humidifier/magic.rb', line 310

def master_username
  properties['master_username']
end

#master_username=(value) ⇒ Object

sets the MasterUsername property (String)



315
316
317
# File 'lib/humidifier/magic.rb', line 315

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

#max_allocated_storageObject

returns the MaxAllocatedStorage property



320
321
322
# File 'lib/humidifier/magic.rb', line 320

def max_allocated_storage
  properties['max_allocated_storage']
end

#max_allocated_storage=(value) ⇒ Object

sets the MaxAllocatedStorage property (Integer)



325
326
327
# File 'lib/humidifier/magic.rb', line 325

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

#monitoring_intervalObject

returns the MonitoringInterval property



330
331
332
# File 'lib/humidifier/magic.rb', line 330

def monitoring_interval
  properties['monitoring_interval']
end

#monitoring_interval=(value) ⇒ Object

sets the MonitoringInterval property (Integer)



335
336
337
# File 'lib/humidifier/magic.rb', line 335

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

#monitoring_role_arnObject

returns the MonitoringRoleArn property



340
341
342
# File 'lib/humidifier/magic.rb', line 340

def monitoring_role_arn
  properties['monitoring_role_arn']
end

#monitoring_role_arn=(value) ⇒ Object

sets the MonitoringRoleArn property (String)



345
346
347
# File 'lib/humidifier/magic.rb', line 345

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

#multi_azObject

returns the MultiAZ property



350
351
352
# File 'lib/humidifier/magic.rb', line 350

def multi_az
  properties['multi_az']
end

#multi_az=(value) ⇒ Object

sets the MultiAZ property (Boolean)



355
356
357
# File 'lib/humidifier/magic.rb', line 355

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

#option_group_nameObject

returns the OptionGroupName property



360
361
362
# File 'lib/humidifier/magic.rb', line 360

def option_group_name
  properties['option_group_name']
end

#option_group_name=(value) ⇒ Object

sets the OptionGroupName property (String)



365
366
367
# File 'lib/humidifier/magic.rb', line 365

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

#performance_insights_kms_key_idObject

returns the PerformanceInsightsKMSKeyId property



370
371
372
# File 'lib/humidifier/magic.rb', line 370

def performance_insights_kms_key_id
  properties['performance_insights_kms_key_id']
end

#performance_insights_kms_key_id=(value) ⇒ Object

sets the PerformanceInsightsKMSKeyId property (String)



375
376
377
# File 'lib/humidifier/magic.rb', line 375

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

#performance_insights_retention_periodObject

returns the PerformanceInsightsRetentionPeriod property



380
381
382
# File 'lib/humidifier/magic.rb', line 380

def performance_insights_retention_period
  properties['performance_insights_retention_period']
end

#performance_insights_retention_period=(value) ⇒ Object

sets the PerformanceInsightsRetentionPeriod property (Integer)



385
386
387
# File 'lib/humidifier/magic.rb', line 385

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

#portObject

returns the Port property



390
391
392
# File 'lib/humidifier/magic.rb', line 390

def port
  properties['port']
end

#port=(value) ⇒ Object

sets the Port property (String)



395
396
397
# File 'lib/humidifier/magic.rb', line 395

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

#preferred_backup_windowObject

returns the PreferredBackupWindow property



400
401
402
# File 'lib/humidifier/magic.rb', line 400

def preferred_backup_window
  properties['preferred_backup_window']
end

#preferred_backup_window=(value) ⇒ Object

sets the PreferredBackupWindow property (String)



405
406
407
# File 'lib/humidifier/magic.rb', line 405

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

#preferred_maintenance_windowObject

returns the PreferredMaintenanceWindow property



410
411
412
# File 'lib/humidifier/magic.rb', line 410

def preferred_maintenance_window
  properties['preferred_maintenance_window']
end

#preferred_maintenance_window=(value) ⇒ Object

sets the PreferredMaintenanceWindow property (String)



415
416
417
# File 'lib/humidifier/magic.rb', line 415

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

#processor_featuresObject

returns the ProcessorFeatures property



420
421
422
# File 'lib/humidifier/magic.rb', line 420

def processor_features
  properties['processor_features']
end

#processor_features=(value) ⇒ Object

sets the ProcessorFeatures property (List)



425
426
427
# File 'lib/humidifier/magic.rb', line 425

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

#promotion_tierObject

returns the PromotionTier property



430
431
432
# File 'lib/humidifier/magic.rb', line 430

def promotion_tier
  properties['promotion_tier']
end

#promotion_tier=(value) ⇒ Object

sets the PromotionTier property (Integer)



435
436
437
# File 'lib/humidifier/magic.rb', line 435

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

#publicly_accessibleObject

returns the PubliclyAccessible property



440
441
442
# File 'lib/humidifier/magic.rb', line 440

def publicly_accessible
  properties['publicly_accessible']
end

#publicly_accessible=(value) ⇒ Object

sets the PubliclyAccessible property (Boolean)



445
446
447
# File 'lib/humidifier/magic.rb', line 445

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

#source_db_instance_identifierObject

returns the SourceDBInstanceIdentifier property



450
451
452
# File 'lib/humidifier/magic.rb', line 450

def source_db_instance_identifier
  properties['source_db_instance_identifier']
end

#source_db_instance_identifier=(value) ⇒ Object

sets the SourceDBInstanceIdentifier property (String)



455
456
457
# File 'lib/humidifier/magic.rb', line 455

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

#source_regionObject

returns the SourceRegion property



460
461
462
# File 'lib/humidifier/magic.rb', line 460

def source_region
  properties['source_region']
end

#source_region=(value) ⇒ Object

sets the SourceRegion property (String)



465
466
467
# File 'lib/humidifier/magic.rb', line 465

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

#storage_encryptedObject

returns the StorageEncrypted property



470
471
472
# File 'lib/humidifier/magic.rb', line 470

def storage_encrypted
  properties['storage_encrypted']
end

#storage_encrypted=(value) ⇒ Object

sets the StorageEncrypted property (Boolean)



475
476
477
# File 'lib/humidifier/magic.rb', line 475

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

#storage_typeObject

returns the StorageType property



480
481
482
# File 'lib/humidifier/magic.rb', line 480

def storage_type
  properties['storage_type']
end

#storage_type=(value) ⇒ Object

sets the StorageType property (String)



485
486
487
# File 'lib/humidifier/magic.rb', line 485

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

#tagsObject

returns the Tags property



490
491
492
# File 'lib/humidifier/magic.rb', line 490

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



495
496
497
# File 'lib/humidifier/magic.rb', line 495

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

#timezoneObject

returns the Timezone property



500
501
502
# File 'lib/humidifier/magic.rb', line 500

def timezone
  properties['timezone']
end

#timezone=(value) ⇒ Object

sets the Timezone property (String)



505
506
507
# File 'lib/humidifier/magic.rb', line 505

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

#use_default_processor_featuresObject

returns the UseDefaultProcessorFeatures property



510
511
512
# File 'lib/humidifier/magic.rb', line 510

def use_default_processor_features
  properties['use_default_processor_features']
end

#use_default_processor_features=(value) ⇒ Object

sets the UseDefaultProcessorFeatures property (Boolean)



515
516
517
# File 'lib/humidifier/magic.rb', line 515

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

#vpc_security_groupsObject

returns the VPCSecurityGroups property



520
521
522
# File 'lib/humidifier/magic.rb', line 520

def vpc_security_groups
  properties['vpc_security_groups']
end

#vpc_security_groups=(value) ⇒ Object

sets the VPCSecurityGroups property (List)



525
526
527
# File 'lib/humidifier/magic.rb', line 525

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