Class: Maestro::Node::Aws::Rds

Inherits:
Base
  • Object
show all
Defined in:
lib/maestro/cloud/aws.rb

Overview

Amazon RDS Node

Instance Attribute Summary collapse

Attributes inherited from Base

#cloud, #hostname, #ip_address, #log_file, #logger, #name

Attributes included from Validator

#valid, #validation_errors

Instance Method Summary collapse

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_identifierObject (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_nameObject (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_nameObject (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