Class: Humidifier::RDS::DBCluster
- Inherits:
-
Humidifier::Resource
- Object
- Humidifier::Resource
- Humidifier::RDS::DBCluster
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::RDS::DBCluster resource
Constant Summary
Constants inherited from Humidifier::Resource
Humidifier::Resource::COMMON_ATTRIBUTES
Instance Method Summary collapse
-
#associated_roles ⇒ Object
returns the AssociatedRoles property.
-
#associated_roles=(value) ⇒ Object
sets the AssociatedRoles property (List).
-
#availability_zones ⇒ Object
returns the AvailabilityZones property.
-
#availability_zones=(value) ⇒ Object
sets the AvailabilityZones property (List).
-
#backtrack_window ⇒ Object
returns the BacktrackWindow property.
-
#backtrack_window=(value) ⇒ Object
sets the BacktrackWindow property (Integer).
-
#backup_retention_period ⇒ Object
returns the BackupRetentionPeriod property.
-
#backup_retention_period=(value) ⇒ Object
sets the BackupRetentionPeriod property (Integer).
-
#copy_tags_to_snapshot ⇒ Object
returns the CopyTagsToSnapshot property.
-
#copy_tags_to_snapshot=(value) ⇒ Object
sets the CopyTagsToSnapshot property (Boolean).
-
#database_name ⇒ Object
returns the DatabaseName property.
-
#database_name=(value) ⇒ Object
sets the DatabaseName property (String).
-
#db_cluster_identifier ⇒ Object
returns the DBClusterIdentifier property.
-
#db_cluster_identifier=(value) ⇒ Object
sets the DBClusterIdentifier property (String).
-
#db_cluster_parameter_group_name ⇒ Object
returns the DBClusterParameterGroupName property.
-
#db_cluster_parameter_group_name=(value) ⇒ Object
sets the DBClusterParameterGroupName property (String).
-
#db_subnet_group_name ⇒ Object
returns the DBSubnetGroupName property.
-
#db_subnet_group_name=(value) ⇒ Object
sets the DBSubnetGroupName property (String).
-
#deletion_protection ⇒ Object
returns the DeletionProtection property.
-
#deletion_protection=(value) ⇒ Object
sets the DeletionProtection property (Boolean).
-
#enable_cloudwatch_logs_exports ⇒ Object
returns the EnableCloudwatchLogsExports property.
-
#enable_cloudwatch_logs_exports=(value) ⇒ Object
sets the EnableCloudwatchLogsExports property (List).
-
#enable_http_endpoint ⇒ Object
returns the EnableHttpEndpoint property.
-
#enable_http_endpoint=(value) ⇒ Object
sets the EnableHttpEndpoint property (Boolean).
-
#enable_iam_database_authentication ⇒ Object
returns the EnableIAMDatabaseAuthentication property.
-
#enable_iam_database_authentication=(value) ⇒ Object
sets the EnableIAMDatabaseAuthentication property (Boolean).
-
#engine ⇒ Object
returns the Engine property.
-
#engine=(value) ⇒ Object
sets the Engine property (String).
-
#engine_mode ⇒ Object
returns the EngineMode property.
-
#engine_mode=(value) ⇒ Object
sets the EngineMode property (String).
-
#engine_version ⇒ Object
returns the EngineVersion property.
-
#engine_version=(value) ⇒ Object
sets the EngineVersion property (String).
-
#global_cluster_identifier ⇒ Object
returns the GlobalClusterIdentifier property.
-
#global_cluster_identifier=(value) ⇒ Object
sets the GlobalClusterIdentifier property (String).
-
#kms_key_id ⇒ Object
returns the KmsKeyId property.
-
#kms_key_id=(value) ⇒ Object
sets the KmsKeyId property (String).
-
#master_user_password ⇒ Object
returns the MasterUserPassword property.
-
#master_user_password=(value) ⇒ Object
sets the MasterUserPassword property (String).
-
#master_username ⇒ Object
returns the MasterUsername property.
-
#master_username=(value) ⇒ Object
sets the MasterUsername property (String).
-
#port ⇒ Object
returns the Port property.
-
#port=(value) ⇒ Object
sets the Port property (Integer).
-
#preferred_backup_window ⇒ Object
returns the PreferredBackupWindow property.
-
#preferred_backup_window=(value) ⇒ Object
sets the PreferredBackupWindow property (String).
-
#preferred_maintenance_window ⇒ Object
returns the PreferredMaintenanceWindow property.
-
#preferred_maintenance_window=(value) ⇒ Object
sets the PreferredMaintenanceWindow property (String).
-
#replication_source_identifier ⇒ Object
returns the ReplicationSourceIdentifier property.
-
#replication_source_identifier=(value) ⇒ Object
sets the ReplicationSourceIdentifier property (String).
-
#restore_type ⇒ Object
returns the RestoreType property.
-
#restore_type=(value) ⇒ Object
sets the RestoreType property (String).
-
#scaling_configuration ⇒ Object
returns the ScalingConfiguration property.
-
#scaling_configuration=(value) ⇒ Object
sets the ScalingConfiguration property (Structure).
-
#snapshot_identifier ⇒ Object
returns the SnapshotIdentifier property.
-
#snapshot_identifier=(value) ⇒ Object
sets the SnapshotIdentifier property (String).
-
#source_db_cluster_identifier ⇒ Object
returns the SourceDBClusterIdentifier property.
-
#source_db_cluster_identifier=(value) ⇒ Object
sets the SourceDBClusterIdentifier property (String).
-
#source_region ⇒ Object
returns the SourceRegion property.
-
#source_region=(value) ⇒ Object
sets the SourceRegion property (String).
-
#storage_encrypted ⇒ Object
returns the StorageEncrypted property.
-
#storage_encrypted=(value) ⇒ Object
sets the StorageEncrypted property (Boolean).
-
#tags ⇒ Object
returns the Tags property.
-
#tags=(value) ⇒ Object
sets the Tags property (List).
-
#use_latest_restorable_time ⇒ Object
returns the UseLatestRestorableTime property.
-
#use_latest_restorable_time=(value) ⇒ Object
sets the UseLatestRestorableTime property (Boolean).
-
#vpc_security_group_ids ⇒ Object
returns the VpcSecurityGroupIds property.
-
#vpc_security_group_ids=(value) ⇒ Object
sets the VpcSecurityGroupIds property (List).
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
#associated_roles ⇒ Object
returns the AssociatedRoles property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def associated_roles properties['associated_roles'] end |
#associated_roles=(value) ⇒ Object
sets the AssociatedRoles property (List)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def associated_roles=(value) update_property('associated_roles', value) end |
#availability_zones ⇒ Object
returns the AvailabilityZones property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def availability_zones properties['availability_zones'] end |
#availability_zones=(value) ⇒ Object
sets the AvailabilityZones property (List)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def availability_zones=(value) update_property('availability_zones', value) end |
#backtrack_window ⇒ Object
returns the BacktrackWindow property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def backtrack_window properties['backtrack_window'] end |
#backtrack_window=(value) ⇒ Object
sets the BacktrackWindow property (Integer)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def backtrack_window=(value) update_property('backtrack_window', value) end |
#backup_retention_period ⇒ Object
returns the BackupRetentionPeriod property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def backup_retention_period properties['backup_retention_period'] end |
#backup_retention_period=(value) ⇒ Object
sets the BackupRetentionPeriod property (Integer)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def backup_retention_period=(value) update_property('backup_retention_period', value) end |
#copy_tags_to_snapshot ⇒ Object
returns the CopyTagsToSnapshot property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def properties['copy_tags_to_snapshot'] end |
#copy_tags_to_snapshot=(value) ⇒ Object
sets the CopyTagsToSnapshot property (Boolean)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def (value) update_property('copy_tags_to_snapshot', value) end |
#database_name ⇒ Object
returns the DatabaseName property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def database_name properties['database_name'] end |
#database_name=(value) ⇒ Object
sets the DatabaseName property (String)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def database_name=(value) update_property('database_name', value) end |
#db_cluster_identifier ⇒ Object
returns the DBClusterIdentifier property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def db_cluster_identifier properties['db_cluster_identifier'] end |
#db_cluster_identifier=(value) ⇒ Object
sets the DBClusterIdentifier property (String)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def db_cluster_identifier=(value) update_property('db_cluster_identifier', value) end |
#db_cluster_parameter_group_name ⇒ Object
returns the DBClusterParameterGroupName property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 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)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def db_cluster_parameter_group_name=(value) update_property('db_cluster_parameter_group_name', value) end |
#db_subnet_group_name ⇒ Object
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 |
#deletion_protection ⇒ Object
returns the DeletionProtection property
100 101 102 |
# File 'lib/humidifier/magic.rb', line 100 def deletion_protection properties['deletion_protection'] end |
#deletion_protection=(value) ⇒ Object
sets the DeletionProtection property (Boolean)
105 106 107 |
# File 'lib/humidifier/magic.rb', line 105 def deletion_protection=(value) update_property('deletion_protection', value) end |
#enable_cloudwatch_logs_exports ⇒ Object
returns the EnableCloudwatchLogsExports property
110 111 112 |
# File 'lib/humidifier/magic.rb', line 110 def enable_cloudwatch_logs_exports properties['enable_cloudwatch_logs_exports'] end |
#enable_cloudwatch_logs_exports=(value) ⇒ Object
sets the EnableCloudwatchLogsExports property (List)
115 116 117 |
# File 'lib/humidifier/magic.rb', line 115 def enable_cloudwatch_logs_exports=(value) update_property('enable_cloudwatch_logs_exports', value) end |
#enable_http_endpoint ⇒ Object
returns the EnableHttpEndpoint property
120 121 122 |
# File 'lib/humidifier/magic.rb', line 120 def enable_http_endpoint properties['enable_http_endpoint'] end |
#enable_http_endpoint=(value) ⇒ Object
sets the EnableHttpEndpoint property (Boolean)
125 126 127 |
# File 'lib/humidifier/magic.rb', line 125 def enable_http_endpoint=(value) update_property('enable_http_endpoint', value) end |
#enable_iam_database_authentication ⇒ Object
returns the EnableIAMDatabaseAuthentication property
130 131 132 |
# File 'lib/humidifier/magic.rb', line 130 def enable_iam_database_authentication properties['enable_iam_database_authentication'] end |
#enable_iam_database_authentication=(value) ⇒ Object
sets the EnableIAMDatabaseAuthentication property (Boolean)
135 136 137 |
# File 'lib/humidifier/magic.rb', line 135 def enable_iam_database_authentication=(value) update_property('enable_iam_database_authentication', value) end |
#engine ⇒ Object
returns the Engine property
140 141 142 |
# File 'lib/humidifier/magic.rb', line 140 def engine properties['engine'] end |
#engine=(value) ⇒ Object
sets the Engine property (String)
145 146 147 |
# File 'lib/humidifier/magic.rb', line 145 def engine=(value) update_property('engine', value) end |
#engine_mode ⇒ Object
returns the EngineMode property
150 151 152 |
# File 'lib/humidifier/magic.rb', line 150 def engine_mode properties['engine_mode'] end |
#engine_mode=(value) ⇒ Object
sets the EngineMode property (String)
155 156 157 |
# File 'lib/humidifier/magic.rb', line 155 def engine_mode=(value) update_property('engine_mode', value) end |
#engine_version ⇒ Object
returns the EngineVersion property
160 161 162 |
# File 'lib/humidifier/magic.rb', line 160 def engine_version properties['engine_version'] end |
#engine_version=(value) ⇒ Object
sets the EngineVersion property (String)
165 166 167 |
# File 'lib/humidifier/magic.rb', line 165 def engine_version=(value) update_property('engine_version', value) end |
#global_cluster_identifier ⇒ Object
returns the GlobalClusterIdentifier property
170 171 172 |
# File 'lib/humidifier/magic.rb', line 170 def global_cluster_identifier properties['global_cluster_identifier'] end |
#global_cluster_identifier=(value) ⇒ Object
sets the GlobalClusterIdentifier property (String)
175 176 177 |
# File 'lib/humidifier/magic.rb', line 175 def global_cluster_identifier=(value) update_property('global_cluster_identifier', value) end |
#kms_key_id ⇒ Object
returns the KmsKeyId property
180 181 182 |
# File 'lib/humidifier/magic.rb', line 180 def kms_key_id properties['kms_key_id'] end |
#kms_key_id=(value) ⇒ Object
sets the KmsKeyId property (String)
185 186 187 |
# File 'lib/humidifier/magic.rb', line 185 def kms_key_id=(value) update_property('kms_key_id', value) end |
#master_user_password ⇒ Object
returns the MasterUserPassword property
190 191 192 |
# File 'lib/humidifier/magic.rb', line 190 def master_user_password properties['master_user_password'] end |
#master_user_password=(value) ⇒ Object
sets the MasterUserPassword property (String)
195 196 197 |
# File 'lib/humidifier/magic.rb', line 195 def master_user_password=(value) update_property('master_user_password', value) end |
#master_username ⇒ Object
returns the MasterUsername property
200 201 202 |
# File 'lib/humidifier/magic.rb', line 200 def master_username properties['master_username'] end |
#master_username=(value) ⇒ Object
sets the MasterUsername property (String)
205 206 207 |
# File 'lib/humidifier/magic.rb', line 205 def master_username=(value) update_property('master_username', value) end |
#port ⇒ Object
returns the Port property
210 211 212 |
# File 'lib/humidifier/magic.rb', line 210 def port properties['port'] end |
#port=(value) ⇒ Object
sets the Port property (Integer)
215 216 217 |
# File 'lib/humidifier/magic.rb', line 215 def port=(value) update_property('port', value) end |
#preferred_backup_window ⇒ Object
returns the PreferredBackupWindow property
220 221 222 |
# File 'lib/humidifier/magic.rb', line 220 def preferred_backup_window properties['preferred_backup_window'] end |
#preferred_backup_window=(value) ⇒ Object
sets the PreferredBackupWindow property (String)
225 226 227 |
# File 'lib/humidifier/magic.rb', line 225 def preferred_backup_window=(value) update_property('preferred_backup_window', value) end |
#preferred_maintenance_window ⇒ Object
returns the PreferredMaintenanceWindow property
230 231 232 |
# File 'lib/humidifier/magic.rb', line 230 def preferred_maintenance_window properties['preferred_maintenance_window'] end |
#preferred_maintenance_window=(value) ⇒ Object
sets the PreferredMaintenanceWindow property (String)
235 236 237 |
# File 'lib/humidifier/magic.rb', line 235 def preferred_maintenance_window=(value) update_property('preferred_maintenance_window', value) end |
#replication_source_identifier ⇒ Object
returns the ReplicationSourceIdentifier property
240 241 242 |
# File 'lib/humidifier/magic.rb', line 240 def replication_source_identifier properties['replication_source_identifier'] end |
#replication_source_identifier=(value) ⇒ Object
sets the ReplicationSourceIdentifier property (String)
245 246 247 |
# File 'lib/humidifier/magic.rb', line 245 def replication_source_identifier=(value) update_property('replication_source_identifier', value) end |
#restore_type ⇒ Object
returns the RestoreType property
250 251 252 |
# File 'lib/humidifier/magic.rb', line 250 def restore_type properties['restore_type'] end |
#restore_type=(value) ⇒ Object
sets the RestoreType property (String)
255 256 257 |
# File 'lib/humidifier/magic.rb', line 255 def restore_type=(value) update_property('restore_type', value) end |
#scaling_configuration ⇒ Object
returns the ScalingConfiguration property
260 261 262 |
# File 'lib/humidifier/magic.rb', line 260 def scaling_configuration properties['scaling_configuration'] end |
#scaling_configuration=(value) ⇒ Object
sets the ScalingConfiguration property (Structure)
265 266 267 |
# File 'lib/humidifier/magic.rb', line 265 def scaling_configuration=(value) update_property('scaling_configuration', value) end |
#snapshot_identifier ⇒ Object
returns the SnapshotIdentifier property
270 271 272 |
# File 'lib/humidifier/magic.rb', line 270 def snapshot_identifier properties['snapshot_identifier'] end |
#snapshot_identifier=(value) ⇒ Object
sets the SnapshotIdentifier property (String)
275 276 277 |
# File 'lib/humidifier/magic.rb', line 275 def snapshot_identifier=(value) update_property('snapshot_identifier', value) end |
#source_db_cluster_identifier ⇒ Object
returns the SourceDBClusterIdentifier property
280 281 282 |
# File 'lib/humidifier/magic.rb', line 280 def source_db_cluster_identifier properties['source_db_cluster_identifier'] end |
#source_db_cluster_identifier=(value) ⇒ Object
sets the SourceDBClusterIdentifier property (String)
285 286 287 |
# File 'lib/humidifier/magic.rb', line 285 def source_db_cluster_identifier=(value) update_property('source_db_cluster_identifier', value) end |
#source_region ⇒ Object
returns the SourceRegion property
290 291 292 |
# File 'lib/humidifier/magic.rb', line 290 def source_region properties['source_region'] end |
#source_region=(value) ⇒ Object
sets the SourceRegion property (String)
295 296 297 |
# File 'lib/humidifier/magic.rb', line 295 def source_region=(value) update_property('source_region', value) end |
#storage_encrypted ⇒ Object
returns the StorageEncrypted property
300 301 302 |
# File 'lib/humidifier/magic.rb', line 300 def storage_encrypted properties['storage_encrypted'] end |
#storage_encrypted=(value) ⇒ Object
sets the StorageEncrypted property (Boolean)
305 306 307 |
# File 'lib/humidifier/magic.rb', line 305 def storage_encrypted=(value) update_property('storage_encrypted', value) end |
#tags ⇒ Object
returns the Tags property
310 311 312 |
# File 'lib/humidifier/magic.rb', line 310 def properties['tags'] end |
#tags=(value) ⇒ Object
sets the Tags property (List)
315 316 317 |
# File 'lib/humidifier/magic.rb', line 315 def (value) update_property('tags', value) end |
#use_latest_restorable_time ⇒ Object
returns the UseLatestRestorableTime property
320 321 322 |
# File 'lib/humidifier/magic.rb', line 320 def use_latest_restorable_time properties['use_latest_restorable_time'] end |
#use_latest_restorable_time=(value) ⇒ Object
sets the UseLatestRestorableTime property (Boolean)
325 326 327 |
# File 'lib/humidifier/magic.rb', line 325 def use_latest_restorable_time=(value) update_property('use_latest_restorable_time', value) end |
#vpc_security_group_ids ⇒ Object
returns the VpcSecurityGroupIds property
330 331 332 |
# File 'lib/humidifier/magic.rb', line 330 def vpc_security_group_ids properties['vpc_security_group_ids'] end |
#vpc_security_group_ids=(value) ⇒ Object
sets the VpcSecurityGroupIds property (List)
335 336 337 |
# File 'lib/humidifier/magic.rb', line 335 def vpc_security_group_ids=(value) update_property('vpc_security_group_ids', value) end |