Class: Convection::Model::Template::Resource::RDSDBSecurityGroup
- Inherits:
-
Convection::Model::Template::Resource
- Object
- Convection::Model::Template::Resource
- Convection::Model::Template::Resource::RDSDBSecurityGroup
- Includes:
- Mixin::Taggable
- Defined in:
- lib/convection/model/template/resource/aws_rds_db_security_group.rb
Overview
AWS::RDS::DBSecurityGroup
Instance Attribute Summary
Attributes inherited from Convection::Model::Template::Resource
#exist, #name, #parent, #properties, #resource_attributes, #template
Instance Method Summary collapse
- #cidr_ip(cidr_block) ⇒ Object
- #description(value) ⇒ Object
- #ec2_security_group(group, owner) ⇒ Object
- #ingress(value) ⇒ Object
- #render(*args) ⇒ Object
- #vpc(value) ⇒ Object
Methods included from Mixin::Taggable
#immutable_metadata, #render_tags, #tag, #tags
Methods inherited from Convection::Model::Template::Resource
#as_attribute, attach_method, #deletion_policy, #depends_on, #initialize, properties, #property, property, #reference, type, #type, #with_output
Methods included from Mixin::Conditional
Methods included from DSL::Template::Resource
Methods included from DSL::Helpers
#camel_case, included, method_name, #screaming_snake_case, #snake_case
Methods included from DSL::IntrinsicFunctions
#base64, #find_in_map, #fn_and, #fn_equals, #fn_if, #fn_not, #fn_or, #fn_ref, #get_att, #get_azs, #join, #select
Constructor Details
This class inherits a constructor from Convection::Model::Template::Resource
Instance Method Details
#cidr_ip(cidr_block) ⇒ Object
25 26 27 28 29 |
# File 'lib/convection/model/template/resource/aws_rds_db_security_group.rb', line 25 def cidr_ip(cidr_block) ingress( :CIDRIP => cidr_block ) end |
#description ⇒ Object #description(value) ⇒ Object
14 |
# File 'lib/convection/model/template/resource/aws_rds_db_security_group.rb', line 14 property :description, 'GroupDescription' |
#ec2_security_group(group, owner) ⇒ Object
18 19 20 21 22 23 |
# File 'lib/convection/model/template/resource/aws_rds_db_security_group.rb', line 18 def ec2_security_group(group, owner) ingress( :EC2SecurityGroupName => group, :EC2SecurityGroupOwnerId => owner ) end |
#ingress ⇒ Object #ingress(value) ⇒ Object
16 |
# File 'lib/convection/model/template/resource/aws_rds_db_security_group.rb', line 16 property :ingress, 'DBSecurityGroupIngress', :type => :list |
#render(*args) ⇒ Object
31 32 33 34 35 |
# File 'lib/convection/model/template/resource/aws_rds_db_security_group.rb', line 31 def render(*args) super.tap do |resource| (resource) end end |
#vpc ⇒ Object #vpc(value) ⇒ Object
15 |
# File 'lib/convection/model/template/resource/aws_rds_db_security_group.rb', line 15 property :vpc, 'EC2VpcId' |