Class: Humidifier::DocDB::DBCluster

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

Overview

A dynamically-defined class that represents an AWS::DocDB::DBCluster 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

#availability_zonesObject

returns the AvailabilityZones property



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

def availability_zones
  properties['availability_zones']
end

#availability_zones=(value) ⇒ Object

sets the AvailabilityZones property (List)



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

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

#backup_retention_periodObject

returns the BackupRetentionPeriod property



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

def backup_retention_period
  properties['backup_retention_period']
end

#backup_retention_period=(value) ⇒ Object

sets the BackupRetentionPeriod property (Integer)



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

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

#copy_tags_to_snapshotObject

returns the CopyTagsToSnapshot property



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

def copy_tags_to_snapshot
  properties['copy_tags_to_snapshot']
end

#copy_tags_to_snapshot=(value) ⇒ Object

sets the CopyTagsToSnapshot property (Boolean)



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

def copy_tags_to_snapshot=(value)
  update_property('copy_tags_to_snapshot', 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_cluster_parameter_group_nameObject

returns the DBClusterParameterGroupName property



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

def db_cluster_parameter_group_name
  properties['db_cluster_parameter_group_name']
end

#db_cluster_parameter_group_name=(value) ⇒ Object

sets the DBClusterParameterGroupName property (String)



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

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

#db_subnet_group_nameObject

returns the DBSubnetGroupName property



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

def db_subnet_group_name
  properties['db_subnet_group_name']
end

#db_subnet_group_name=(value) ⇒ Object

sets the DBSubnetGroupName property (String)



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

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

#deletion_protectionObject

returns the DeletionProtection property



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

def deletion_protection
  properties['deletion_protection']
end

#deletion_protection=(value) ⇒ Object

sets the DeletionProtection property (Boolean)



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

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

#enable_cloudwatch_logs_exportsObject

returns the EnableCloudwatchLogsExports property



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

def enable_cloudwatch_logs_exports
  properties['enable_cloudwatch_logs_exports']
end

#enable_cloudwatch_logs_exports=(value) ⇒ Object

sets the EnableCloudwatchLogsExports property (List)



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

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

#engine_versionObject

returns the EngineVersion property



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

def engine_version
  properties['engine_version']
end

#engine_version=(value) ⇒ Object

sets the EngineVersion property (String)



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

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

#kms_key_idObject

returns the KmsKeyId property



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

def kms_key_id
  properties['kms_key_id']
end

#kms_key_id=(value) ⇒ Object

sets the KmsKeyId property (String)



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

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

#master_user_passwordObject

returns the MasterUserPassword property



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

def master_user_password
  properties['master_user_password']
end

#master_user_password=(value) ⇒ Object

sets the MasterUserPassword property (String)



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

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

#master_usernameObject

returns the MasterUsername property



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

def master_username
  properties['master_username']
end

#master_username=(value) ⇒ Object

sets the MasterUsername property (String)



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

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

#portObject

returns the Port property



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

def port
  properties['port']
end

#port=(value) ⇒ Object

sets the Port property (Integer)



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

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

#preferred_backup_windowObject

returns the PreferredBackupWindow property



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

def preferred_backup_window
  properties['preferred_backup_window']
end

#preferred_backup_window=(value) ⇒ Object

sets the PreferredBackupWindow property (String)



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

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

#preferred_maintenance_windowObject

returns the PreferredMaintenanceWindow property



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

def preferred_maintenance_window
  properties['preferred_maintenance_window']
end

#preferred_maintenance_window=(value) ⇒ Object

sets the PreferredMaintenanceWindow property (String)



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

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

#snapshot_identifierObject

returns the SnapshotIdentifier property



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

def snapshot_identifier
  properties['snapshot_identifier']
end

#snapshot_identifier=(value) ⇒ Object

sets the SnapshotIdentifier property (String)



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

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

#storage_encryptedObject

returns the StorageEncrypted property



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

def storage_encrypted
  properties['storage_encrypted']
end

#storage_encrypted=(value) ⇒ Object

sets the StorageEncrypted property (Boolean)



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

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

#tagsObject

returns the Tags property



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

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



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

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

#vpc_security_group_idsObject

returns the VpcSecurityGroupIds property



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

def vpc_security_group_ids
  properties['vpc_security_group_ids']
end

#vpc_security_group_ids=(value) ⇒ Object

sets the VpcSecurityGroupIds property (List)



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

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