Class: Maestro::Node::Aws::Rds
Overview
Amazon RDS Node
Instance Attribute Summary collapse
-
#db_instance_identifier ⇒ Object
readonly
the db_instance_identifier of this node.
-
#db_parameter_group_name ⇒ Object
readonly
the db parameter group name of this node.
-
#db_security_group_name ⇒ Object
readonly
the db security group name of this node.
Attributes inherited from Base
#cloud, #hostname, #ip_address, #log_file, #logger, #name
Attributes included from Validator
Instance Method Summary collapse
-
#initialize(name, cloud, &block) ⇒ Rds
constructor
A new instance of Rds.
Methods inherited from Base
#disable_stdout, #enable_stdout, #method_missing
Methods included from Validator
#invalidate, #valid?, #validate
Constructor Details
#initialize(name, cloud, &block) ⇒ Rds
Returns a new instance of Rds.
1148 1149 1150 1151 1152 1153 |
# File 'lib/maestro/cloud/aws.rb', line 1148 def initialize(name, cloud, &block) super(name, cloud, &block) @db_instance_identifier = set_db_instance_identifier @db_parameter_group_name = set_db_parameter_group_name if !db_parameters.nil? && !db_parameters.empty? @db_security_group_name = set_db_security_group_name end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Maestro::Node::Base
Instance Attribute Details
#db_instance_identifier ⇒ Object (readonly)
the db_instance_identifier of this node
1136 1137 1138 |
# File 'lib/maestro/cloud/aws.rb', line 1136 def db_instance_identifier @db_instance_identifier end |
#db_parameter_group_name ⇒ Object (readonly)
the db parameter group name of this node
1139 1140 1141 |
# File 'lib/maestro/cloud/aws.rb', line 1139 def db_parameter_group_name @db_parameter_group_name end |
#db_security_group_name ⇒ Object (readonly)
the db security group name of this node
1142 1143 1144 |
# File 'lib/maestro/cloud/aws.rb', line 1142 def db_security_group_name @db_security_group_name end |