Class: Ironfan::Dsl::Rds::SecurityGroup

Inherits:
Ironfan::Dsl show all
Defined in:
lib/ironfan/headers.rb,
lib/ironfan/dsl/rds.rb

Instance Attribute Summary

Attributes included from Gorillib::Resolution

#underlay

Instance Method Summary collapse

Methods inherited from Ironfan::Dsl

#_skip_fields, #skip_fields, #to_manifest

Methods included from Gorillib::Resolution

#deep_resolve, #merge_resolve, #merge_values, #read_resolved_attribute, #read_set_attribute, #read_set_or_underlay_attribute, #read_underlay_attribute, #resolve, #resolve!, #resolve_value

Methods included from CookbookRequirements

#_cookbook_reqs, #children, #cookbook_req, #cookbook_reqs, #join_req

Methods inherited from Builder

ui, #ui

Instance Method Details

#authorize_ec2_group(ec2_security_group) ⇒ Object


74
75
76
77
78
# File 'lib/ironfan/dsl/rds.rb', line 74

def authorize_ec2_group(ec2_security_group)
  ec2_authorizations << ec2_security_group
  ec2_authorizations.compact!
  ec2_authorizations.uniq!
end

#authorize_ip_range(cidr_ip = '0.0.0.0/0') ⇒ Object


68
69
70
71
72
# File 'lib/ironfan/dsl/rds.rb', line 68

def authorize_ip_range(cidr_ip = '0.0.0.0/0')
  ip_authorizations << cidr_ip
  ip_authorizations.compact!
  ip_authorizations.uniq!
end