Class: Waterworks::RdsDatabase
- Inherits:
-
PipelineObject
- Object
- PipelineObject
- Waterworks::RdsDatabase
- Defined in:
- lib/waterworks/databases/rds_database.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id = nil, name = nil) ⇒ RdsDatabase
constructor
A new instance of RdsDatabase.
Methods inherited from PipelineObject
#<=>, base_attrs, #collect_attrs!, from_hash, from_json, #set_attrs, #sourceify, #to_fhash, #to_hash, #to_json
Constructor Details
#initialize(id = nil, name = nil) ⇒ RdsDatabase
Returns a new instance of RdsDatabase.
21 22 23 |
# File 'lib/waterworks/databases/rds_database.rb', line 21 def initialize(id = nil, name = nil) super(id, name).set_attrs(type: 'RdsDatabase') end |
Class Method Details
.safe_fields ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/waterworks/databases/rds_database.rb', line 5 def self.safe_fields { databaseName: :string, jdbcDriverJarUri: :string, jdbcProperties: :string, parent: :ref, region: :string, password: :string, rdsInstanceId: :string, username: :string, type: :string, }.merge superclass.safe_fields end |